/* =============================================
   LSD PHARMACEUTICALS - Professional Website
   Custom Stylesheet
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
  --primary: #1b2a78;          /* Woxsun deep indigo-blue */
  --primary-dark: #121a52;
  --secondary: #009b4d;        /* deep green */
  --accent: #5cb947;           /* Woxsun leaf green */
  --accent-light: #8fd36a;
  --light-bg: #f3f8f4;
  --white: #ffffff;
  --text-dark: #161a2e;
  --text-muted: #6c757d;
  --gradient-primary: linear-gradient(135deg, #1b2a78 0%, #2f57b5 100%);
  --gradient-accent: linear-gradient(135deg, #009b4d 0%, #5cb947 100%);
  --shadow-sm: 0 2px 15px rgba(13,59,110,0.08);
  --shadow-md: 0 8px 30px rgba(13,59,110,0.15);
  --shadow-lg: 0 20px 60px rgba(13,59,110,0.2);
  --border-radius: 12px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--gradient-primary);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  border-bottom: 2px solid var(--accent);
}
.top-bar a { color: rgba(255,255,255,0.9); text-decoration: none; transition: var(--transition); }
.top-bar a:hover { color: var(--accent-light); }
.top-bar .top-bar-contact span { margin-right: 20px; }
.top-bar .top-bar-contact i { margin-right: 5px; color: var(--accent-light); }

/* ===== NAVBAR ===== */
#mainNavbar {
  background: var(--white) !important;
  padding: 0;
  box-shadow: 0 3px 25px rgba(13,59,110,0.12);
  transition: var(--transition);
  z-index: 9999;
}
#mainNavbar.scrolled {
  box-shadow: 0 5px 35px rgba(13,59,110,0.2);
}
.navbar-brand img {
  height: 70px;
  transition: var(--transition);
}
.navbar-brand img:hover { transform: scale(1.03); }
.navbar-nav .nav-item { position: relative; }
.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--primary) !important;
  padding: 28px 16px !important;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 3px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: 100%; }
.navbar-nav .nav-link:hover { color: var(--secondary) !important; }

/* DROPDOWN */
.dropdown-menu {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  animation: dropFade 0.2s ease;
  border-top: 3px solid var(--accent);
  min-width: 220px;
}
@keyframes dropFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--primary) !important;
  padding: 9px 22px;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.dropdown-item:hover {
  background: var(--light-bg);
  border-left-color: var(--accent);
  color: var(--secondary) !important;
  padding-left: 28px;
}
.dropdown-divider { border-color: rgba(13,59,110,0.08); }

/* MEGA DROPDOWN */
#mainNavbar > .container { position: relative; }          /* anchor for full-width menu */
.navbar-nav .nav-item.mega-dropdown { position: static; } /* must beat .navbar-nav .nav-item{position:relative} */
.mega-dropdown .dropdown-menu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;     /* stretch between container edges */
  margin-top: 0 !important;
  transform: none !important;  /* ignore Popper transform */
  padding: 25px 30px;
}
.mega-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.mega-dropdown .dropdown-item {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  border-left: none;
}
.mega-dropdown .dropdown-item:hover {
  border-left: none;
  padding-left: 14px;
  background: rgba(13,59,110,0.06);
}

/* ===== HERO SLIDER ===== */
#heroSlider { margin-top: 0; }
.hero-slide {
  height: 600px;
  position: relative;
  overflow: hidden;
}
.hero-slide .slide-bg {
  position: absolute; inset: 0;
  background: var(--gradient-primary);
}
.hero-slide.slide-1 .slide-bg {
  background: linear-gradient(135deg, #121a52 0%, #1b2a78 40%, #2f57b5 100%);
}
.hero-slide.slide-2 .slide-bg {
  background: linear-gradient(135deg, #06301a 0%, #009b4d 55%, #5cb947 100%);
}
.hero-slide.slide-3 .slide-bg {
  background: linear-gradient(135deg, #121a52 0%, #234a8f 45%, #1f7d9e 100%);
}
.hero-slide .slide-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-text { padding: 40px 0; }
.hero-badge {
  display: inline-block;
  background: rgba(232,160,32,0.2);
  border: 1px solid var(--accent);
  color: var(--accent-light);
  font-size: 11px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 18px;
}
.hero-title span { color: var(--accent-light); }
.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 500px;
}
.hero-btns .btn { margin-right: 12px; margin-bottom: 10px; }
.btn-hero-primary {
  background: var(--accent);
  border: 2px solid var(--accent);
  color: var(--primary-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-hero-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,160,32,0.4);
}
.btn-hero-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 12px 28px;
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  transform: translateY(-2px);
}
.hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-img-wrap img {
  max-height: 420px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  animation: floatImg 4s ease-in-out infinite;
  position: relative; z-index: 1;
}
@keyframes floatImg {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.carousel-control-prev, .carousel-control-next {
  width: 50px; height: 50px;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  margin: 0 15px;
  transition: var(--transition);
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.carousel-indicators { bottom: 20px; }
.carousel-indicators button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  margin: 0 4px;
  transition: var(--transition);
}
.carousel-indicators button.active {
  background: var(--accent);
  width: 30px;
  border-radius: 5px;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--primary);
  padding: 0;
  position: relative;
  z-index: 2;
}
.stat-item {
  padding: 22px 15px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.05); }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 50px; }
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 15px;
}
.section-divider {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  border-radius: 2px;
  margin: 0 auto 20px;
}
.section-divider.left { margin: 0 0 20px; }
.section-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ===== TRENDING PRODUCTS SLIDER ===== */
#trendingSection { background: var(--light-bg); padding: 80px 0; }
.trending-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 0 20px;
}
.trending-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.trending-card {
  min-width: 230px;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
}
.trending-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.trending-card-img {
  background: linear-gradient(135deg, #f0f4ff, #e8f4fd);
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}
.trending-card-img img {
  max-height: 150px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}
.trending-card:hover .trending-card-img img { transform: scale(1.08); }
.trending-card-body { padding: 18px; }
.trending-card-category {
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 5px;
}
.trending-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}
.trending-card-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.trending-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--accent);
  color: var(--primary-dark);
  font-size: 10px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  padding: 3px 10px;
  border-radius: 20px;
}
.slider-nav-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.slider-nav-btn:hover { background: var(--accent); transform: scale(1.1); }

/* ===== PRODUCTS SECTION ===== */
#productsSection { padding: 80px 0; background: #fff; }
.product-filter-tabs { margin-bottom: 40px; }
.product-filter-tabs .nav-pills .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  border: 2px solid rgba(13,59,110,0.15);
  border-radius: 25px;
  padding: 8px 20px;
  margin: 4px;
  transition: var(--transition);
}
.product-filter-tabs .nav-pills .nav-link:hover,
.product-filter-tabs .nav-pills .nav-link.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(13,59,110,0.06);
  height: 100%;
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(13,59,110,0.15);
}
.product-card-img {
  background: linear-gradient(135deg, #f0f4ff, #e8f4fd);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}
.product-card-img img {
  max-height: 140px;
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition);
}
.product-card:hover .product-card-img img { transform: scale(1.1); }
.product-card-body { padding: 16px 18px; }
.product-card-cat {
  font-size: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 4px;
}
.product-card-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.product-card-composition {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.4;
}
.product-card-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  margin-top: 10px;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.product-card-view-btn:hover { border-bottom-color: var(--secondary); color: var(--secondary); }

/* ===== ABOUT SECTION ===== */
#aboutSection {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
#aboutSection::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.about-content { position: relative; z-index: 1; }
.about-section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.about-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.about-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.9;
  margin-bottom: 25px;
}
.about-features { list-style: none; padding: 0; margin-bottom: 30px; }
.about-features li {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  padding: 7px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.about-features li i { color: var(--accent-light); font-size: 16px; margin-top: 1px; flex-shrink: 0; }
.btn-about {
  background: var(--accent);
  color: var(--primary-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 13px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  border: none;
}
.btn-about:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232,160,32,0.4);
  color: var(--primary-dark);
}

/* VIDEO */
.video-wrap {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.video-placeholder {
  background: linear-gradient(135deg, #0a2540, #0d3b6e);
  border-radius: 20px;
  height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}
.video-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
}
.video-overlay {
  position: absolute; inset: 0;
  background: rgba(8,42,80,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}
.play-btn {
  width: 70px; height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  border: 3px solid rgba(255,255,255,0.3);
}
.play-btn:hover { transform: scale(1.1); background: var(--accent-light); box-shadow: 0 10px 30px rgba(232,160,32,0.5); }
.play-btn i { font-size: 24px; color: var(--primary-dark); margin-left: 4px; }
.video-label {
  margin-top: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 1px;
  z-index: 2;
  position: relative;
}
.video-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
  position: relative; z-index: 1;
}
.video-stat-box {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: var(--transition);
}
.video-stat-box:hover { background: rgba(255,255,255,0.12); }
.video-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-light);
}
.video-stat-lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 3px;
}

/* ===== PRODUCT DETAIL MODAL ===== */
.modal-content { border: none; border-radius: 20px; overflow: hidden; }
.modal-header {
  background: var(--gradient-primary);
  border: none;
  padding: 20px 25px;
}
.modal-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #fff;
}
.modal-body { padding: 30px; }
.modal-product-img {
  background: linear-gradient(135deg, #f0f4ff, #e8f4fd);
  border-radius: 16px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  margin-bottom: 20px;
}
.modal-product-img img {
  max-height: 220px;
  max-width: 100%;
  object-fit: contain;
}
.modal-detail-view-img {
  border-radius: 12px;
  overflow: hidden;
  height: 300px;
}
.modal-detail-view-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--light-bg);
}
.detail-badge {
  display: inline-block;
  background: rgba(26,126,62,0.1);
  color: var(--secondary);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.detail-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.detail-composition {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.detail-info-table th {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--light-bg);
  padding: 10px 15px;
  width: 40%;
}
.detail-info-table td {
  font-size: 13px;
  color: var(--text-dark);
  padding: 10px 15px;
}

/* ===== WHY CHOOSE US ===== */
#whyUsSection { padding: 80px 0; background: var(--light-bg); }
.feature-box {
  background: #fff;
  border-radius: 16px;
  padding: 35px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border-bottom: 4px solid transparent;
}
.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--accent);
}
.feature-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #1a5fa6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: #fff;
  transition: var(--transition);
}
.feature-box:hover .feature-icon { transform: rotateY(180deg); background: linear-gradient(135deg, var(--secondary), #28b05e); }
.feature-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}
.feature-text { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; }

/* ===== CONTACT ===== */
#contactSection { padding: 80px 0; background: #fff; }
.contact-info-box {
  background: var(--gradient-primary);
  border-radius: 20px;
  padding: 40px 35px;
  height: 100%;
}
.contact-info-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
}
.contact-item { display: flex; gap: 15px; margin-bottom: 25px; }
.contact-icon {
  width: 45px; height: 45px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--accent-light);
  flex-shrink: 0;
}
.contact-text p { margin: 0; }
.contact-text .contact-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 3px;
}
.contact-text .contact-val { font-size: 14px; color: rgba(255,255,255,0.9); }
.contact-form-wrap {
  background: var(--light-bg);
  border-radius: 20px;
  padding: 40px 35px;
}
.contact-form-wrap h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 25px;
}
.form-control, .form-select {
  border: 2px solid rgba(13,59,110,0.1);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-dark);
  transition: var(--transition);
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13,59,110,0.08);
}
.form-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}
.btn-submit {
  background: var(--gradient-primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  padding: 14px 35px;
  border-radius: 10px;
  border: none;
  transition: var(--transition);
  width: 100%;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(13,59,110,0.3); }

/* ===== FOOTER ===== */
#footer {
  background: var(--primary-dark);
  padding: 60px 0 0;
  position: relative;
}
#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}
.footer-logo img { height: 65px; margin-bottom: 15px; }
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 20px; }
.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-links a::before {
  content: '›';
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}
.footer-links a:hover { color: var(--accent-light); padding-left: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  margin-top: 40px;
}
.footer-bottom p { font-size: 12.5px; color: rgba(255,255,255,0.4); margin: 0; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-left: 8px;
  transition: var(--transition);
  font-size: 14px;
}
.social-links a:hover { background: var(--accent); color: var(--primary-dark); transform: translateY(-3px); }

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}
#backToTop:hover { background: var(--accent); transform: translateY(-3px); }
#backToTop.show { display: flex; }

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0;
  background: var(--primary-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}
.preloader-logo img { height: 80px; margin-bottom: 25px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(.97)} }
.preloader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--secondary));
  animation: loading 1.8s ease forwards;
}
@keyframes loading { from{width:0} to{width:100%} }

/* ===== AOS-like reveal ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   REFACTORED / NEW COMPONENT STYLES
   (classes that used to be inline styles in the HTML)
========================================================= */

/* Nav "Enquire Now" button */
.btn-enquire-nav {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 9px 20px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: var(--transition);
}
.btn-enquire-nav:hover { background: var(--accent); color: var(--primary-dark); }

/* Modal enquire button */
.btn-modal-enquire {
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 12px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
  transition: var(--transition);
}
.btn-modal-enquire:hover { background: var(--accent); color: var(--primary-dark); }

/* Footer quality box */
.footer-quality {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.06);
}
.footer-quality p { font-size: 11px; color: rgba(255,255,255,.45); margin: 0; line-height: 1.6; }
.footer-quality strong { color: rgba(255,255,255,.65); }

/* Contact "follow us" */
.follow-label { color: rgba(255,255,255,.5) !important; font-size: 11px !important; letter-spacing: 1.5px !important; }
.contact-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: var(--transition);
}
.contact-socials a:hover { background: rgba(232,160,32,.35); color: #fff; transform: translateY(-2px); }

/* Form "enquiry sent" confirmation */
.alert-sent {
  background: rgba(40,176,94,.12);
  border: 1px solid rgba(40,176,94,.4);
  color: #1a7e3e;
  border-radius: 10px;
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  margin-bottom: 18px;
}

/* =========================================================
   MEGA MENU — aligned grid (fixes the zigzag layout)
========================================================= */
.mega-dropdown .dropdown-menu { max-height: 82vh; overflow-y: auto; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 28px;
  align-items: start;
}
.mega-col { min-width: 0; }
.mega-col .dropdown-item { white-space: normal; }
.mega-viewall {
  margin-top: 6px;
  font-weight: 700 !important;
  color: var(--accent) !important;
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mega-viewall:hover { color: var(--secondary) !important; background: transparent !important; }

/* =========================================================
   FOOTER BOTTOM — Contact + Woxsun buttons
========================================================= */
.footer-bottom-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer-contact-btn,
.footer-woxsun-btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .6px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 6px;
  transition: var(--transition);
}
.footer-contact-btn {
  color: #fff;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
}
.footer-contact-btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-woxsun-btn {
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px rgba(232,160,32,.3);
}
.footer-woxsun-btn:hover { background: var(--accent-light); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 18px rgba(232,160,32,.45); }

/* Hero row height (was inline) */
.hero-row { height: 600px; }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1199px) {
  .mega-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .hero-slide { height: auto; min-height: 500px; }
  .hero-row { height: auto; padding: 50px 0; }
  .hero-img-wrap { height: 250px; }
  .navbar-nav .nav-link { padding: 12px 16px !important; }
  .navbar-nav .nav-link::after { display: none; }
  .navbar-collapse {
    background: #fff;
    margin-top: 8px;
    border-radius: 10px;
    padding: 8px 6px;
    box-shadow: var(--shadow-md);
    max-height: 80vh;
    overflow-y: auto;
  }
  .navbar-nav.ms-auto { width: 100%; }
  .btn-enquire-nav { display: inline-block; margin: 8px 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .mega-dropdown .dropdown-menu { border-radius: 0; box-shadow: none; padding: 12px 16px; position: static !important; inset: auto !important; width: auto; transform: none !important; }
  .mega-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
}
@media (max-width: 767px) {
  .top-bar { font-size: 12px; }
  .top-bar .top-bar-contact { display: none; }
  .hero-slide { height: auto; }
  .hero-text { text-align: center; }
  .hero-text .hero-subtitle { margin: 0 auto 25px; }
  .hero-btns { justify-content: center; flex-wrap: wrap; }
  .video-stats { grid-template-columns: 1fr 1fr; }
  .contact-info-box, .contact-form-wrap { border-radius: 12px; padding: 25px 20px; }
  #backToTop { bottom: 20px; right: 20px; }
  .footer-bottom .d-flex { justify-content: center !important; text-align: center; }
  .footer-bottom-actions { justify-content: center; width: 100%; }
  .footer-bottom p { text-align: center; width: 100%; }
}
@media (max-width: 575px) {
  .navbar-brand img { height: 54px; }
  .hero-title { font-size: 30px; line-height: 1.2; }
  .hero-subtitle { font-size: 14px; }
  .section-title { font-size: 26px; }
  .mega-grid { grid-template-columns: 1fr; }
  .product-filter-tabs .nav-pills { gap: 6px; }
  .filter-btn { font-size: 11px; padding: 7px 12px; }
  .product-card-img { height: 130px; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
  .video-stats { grid-template-columns: 1fr; }
  .product-card-name { font-size: 13px; }
}

/* =========================================================
   WOXSUN-SPECIFIC COMPONENTS
========================================================= */
/* Therapy / speciality chips */
#therapySection { padding: 80px 0; background: var(--light-bg); }
.therapy-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.therapy-chip {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid rgba(27,42,120,.08);
  border-radius: 14px; padding: 18px 20px;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.therapy-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.therapy-chip .t-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px; font-size: 22px; color: #fff;
  background: var(--gradient-primary);
}
.therapy-chip:hover .t-icon { background: var(--gradient-accent); }
.therapy-chip .t-label { font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 15px; color: var(--primary); }

/* Values / Mission / Vision cards */
.vmv-card {
  background: #fff; border-radius: 16px; padding: 30px 26px; height: 100%;
  box-shadow: var(--shadow-sm); border-top: 4px solid var(--accent); transition: var(--transition);
}
.vmv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vmv-icon {
  width: 60px; height: 60px; border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; color: #fff;
  background: var(--gradient-primary);
}
.vmv-card h4 { font-family: 'Montserrat',sans-serif; font-weight: 800; color: var(--primary); font-size: 19px; margin-bottom: 10px; }
.vmv-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.75; margin: 0; }

/* Dosage-form badge on product card */
.product-form-badge {
  display: inline-block; margin-top: 4px;
  font-family: 'Montserrat',sans-serif; font-size: 9.5px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase;
  color: var(--secondary); background: rgba(0,155,77,.1);
  padding: 3px 9px; border-radius: 20px;
}

/* Parent-company footer link */
.footer-lsd-btn {
  display: inline-flex; align-items: center;
  font-family: 'Montserrat',sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: .6px; text-transform: uppercase; text-decoration: none;
  padding: 8px 18px; border-radius: 6px; transition: var(--transition);
  color: var(--primary-dark);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: 1px solid var(--accent);
}
.footer-lsd-btn:hover { transform: translateY(-2px); color: var(--primary-dark); box-shadow: 0 6px 18px rgba(92,185,71,.4); }

@media (max-width: 991px){ .therapy-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px){ .therapy-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PRODUCT FALLBACK TILE (products without a pack-shot image)
========================================================= */
.product-noimg {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(92,185,71,.12), transparent 60%),
    linear-gradient(135deg, #f3f8f4 0%, #eaf1fb 100%);
  border-radius: 12px;
}
.product-noimg i { font-size: 30px; color: var(--accent); opacity: .85; }
.product-noimg span {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 15px; line-height: 1.25; color: var(--primary);
}
/* Modal fallback */
.modal-noimg {
  width: 100%; min-height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 24px; border-radius: 12px;
  background: linear-gradient(135deg, #f3f8f4 0%, #eaf1fb 100%);
}
.modal-noimg i { font-size: 40px; color: var(--accent); }
.modal-noimg span { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; color: var(--primary); }
