/* ==========================================================================
   D. Watson Chemist & Superstore - Core Stylesheet
   Theme: Iconic Brand Crimson Red & Navy Blue (#DC2626 / #0F172A / #1D4ED8)
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --dw-red: #DC2626;
  --dw-red-dark: #B91C1C;
  --dw-red-light: #EF4444;
  --dw-red-soft: rgba(220, 38, 38, 0.08);
  --dw-red-glow: rgba(220, 38, 38, 0.25);

  --dw-navy: #0F172A;
  --dw-navy-card: #1E293B;
  --dw-blue: #1D4ED8;
  --dw-blue-light: #3B82F6;
  --dw-blue-soft: rgba(29, 78, 216, 0.08);
  --dw-blue-glow: rgba(37, 99, 235, 0.25);
  
  --dw-accent: #0284C7;
  --dw-accent-light: #38BDF8;

  /* Neutral Surface Colors */
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-dark: #090E17;
  --border-subtle: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Typography Colors */
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #DC2626 0%, #1D4ED8 100%);
  --grad-red: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  --grad-navy: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  --grad-hero-overlay: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 55%, rgba(15, 23, 42, 0.35) 100%);
  --grad-hero-overlay-mobile: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%);

  /* UI Tokens */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --shadow-red: 0 10px 25px -5px rgba(220, 38, 38, 0.35);
  --shadow-blue: 0 10px 25px -5px rgba(29, 78, 216, 0.35);

  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography & Common UI Components
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dw-navy);
  font-weight: 700;
  line-height: 1.25;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dw-red-soft);
  color: var(--dw-red);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.section-tag.blue-tag {
  background: var(--dw-blue-soft);
  color: var(--dw-blue);
  border-color: rgba(29, 78, 216, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-title span.highlight-red {
  color: var(--dw-red);
}

.section-title span.highlight-blue {
  color: var(--dw-blue);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--dw-red);
  color: var(--text-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background: var(--dw-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(220, 38, 38, 0.45);
}

.btn-blue {
  background: var(--dw-blue);
  color: var(--text-white);
  box-shadow: var(--shadow-blue);
}

.btn-blue:hover {
  background: #1e40af;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(29, 78, 216, 0.45);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background: #20BA56;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(37, 211, 102, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--dw-navy);
  border: 2px solid var(--border-strong);
}

.btn-outline:hover {
  background: var(--dw-navy);
  color: var(--text-white);
  border-color: var(--dw-navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--dw-navy);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* ==========================================================================
   Sticky Header Wrapper + Top Announcement Bar & Header
   ========================================================================== */

/* Single wrapper so both bars always stay on screen, even with overflow-x:hidden on body */
.sticky-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.top-bar {
  background: var(--dw-navy);
  color: var(--text-white);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.badge-live {
  background: var(--dw-red);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.top-bar-links a {
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-links a:hover {
  color: #FFFFFF;
}

.portal-link-btn, .system-link-btn {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #F1F5F9 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.2px;
}

.portal-link-btn {
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.portal-link-btn:hover {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  border-color: #EF4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

.system-link-btn {
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.system-link-btn:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  border-color: #3B82F6;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}

/* Header & Navigation */
.site-header {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 4px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

.site-header.scrolled .navbar {
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo:hover img {
  transform: scale(1.06);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--dw-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--dw-red);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--dw-navy);
  padding: 6px;
}

/* ==========================================================================
   Hero Slider Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: var(--dw-navy);
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-slider-wrapper {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--grad-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  color: var(--text-white);
  padding: 40px 0;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dw-red);
  color: white;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.6s 0.2s ease, opacity 0.6s 0.2s ease;
}

.hero-slide.active .slide-tag {
  transform: translateY(0);
  opacity: 1;
}

.slide-title {
  color: var(--text-white);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.7s 0.3s ease, opacity 0.7s 0.3s ease;
}

.hero-slide.active .slide-title {
  transform: translateY(0);
  opacity: 1;
}

.slide-subtitle {
  font-size: 1.2rem;
  color: #E2E8F0;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 580px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.7s 0.4s ease, opacity 0.7s 0.4s ease;
}

.hero-slide.active .slide-subtitle {
  transform: translateY(0);
  opacity: 1;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.7s 0.5s ease, opacity 0.7s 0.5s ease;
}

.hero-slide.active .slide-actions {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--dw-red);
  border-color: var(--dw-red);
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  border: none;
}

.slider-dot.active {
  width: 34px;
  background: var(--dw-red);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.8);
}

/* Slider Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--dw-red);
  z-index: 11;
  width: 0%;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Trust Bar & Key Highlights
   ========================================================================== */
.trust-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: var(--radius-lg);
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
  border-right: 1px solid var(--border-subtle);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--dw-red-soft);
  color: var(--dw-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.trust-item:nth-child(even) .trust-icon {
  background: var(--dw-blue-soft);
  color: var(--dw-blue);
}

.trust-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dw-navy);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.trust-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-img-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-main:hover img {
  transform: scale(1.03);
}

.about-floating-card {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--dw-navy);
  color: var(--text-white);
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.1);
  max-width: 260px;
}

.about-floating-card .card-year {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--dw-red);
  font-family: var(--font-heading);
  line-height: 1;
}

.about-floating-card .card-text {
  font-size: 0.9rem;
  color: #CBD5E1;
  margin-top: 6px;
}

.about-content h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 34px;
}

.about-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dw-navy);
}

.about-feat-item i {
  color: var(--dw-red);
  font-size: 1.1rem;
}

/* ==========================================================================
   Heritage Timeline & Milestones
   ========================================================================== */
.heritage-timeline-wrap {
  position: relative;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.timeline-item {
  position: relative;
}

.timeline-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.2);
}

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-primary);
}

.timeline-year {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--dw-red);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dw-navy);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   Board of Directors & Executive Leadership Section
   ========================================================================== */
.leadership-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 50%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

.leadership-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.25), rgba(29, 78, 216, 0.25), transparent);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.leader-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 26px;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.leader-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  opacity: 0.85;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.3);
}

.leader-card:hover::after {
  height: 6px;
  opacity: 1;
}

/* Tier specific flair */
.leader-chairman-card {
  border-color: rgba(220, 38, 38, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(254, 242, 242, 0.5));
}

.leader-chairman-card::after {
  background: linear-gradient(90deg, #DC2626, #F59E0B, #DC2626);
}

.leader-cochairman-card {
  border-color: rgba(29, 78, 216, 0.2);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.5));
}

.leader-cochairman-card::after {
  background: linear-gradient(90deg, #1D4ED8, #38BDF8, #1D4ED8);
}

.leader-ceo-card {
  border-color: rgba(15, 23, 42, 0.15);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.6));
}

.leader-card-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.leader-avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}

.avatar-ring-glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DC2626 0%, #1D4ED8 100%);
  opacity: 0.85;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1;
}

.leader-card:hover .avatar-ring-glow {
  transform: scale(1.05);
  opacity: 1;
}

.leader-avatar {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #FFFFFF;
  background: #E2E8F0;
  z-index: 2;
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-avatar {
  transform: scale(1.02);
}

.leader-icon-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DC2626, #B91C1C);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.4), 0 0 0 2.5px #FFFFFF;
  z-index: 3;
  transition: transform 0.3s ease;
}

.leader-cochairman-card .leader-icon-badge {
  background: linear-gradient(135deg, #1D4ED8, #1E40AF);
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.4), 0 0 0 2.5px #FFFFFF;
}

.leader-ceo-card .leader-icon-badge {
  background: linear-gradient(135deg, #0F172A, #334155);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.4), 0 0 0 2.5px #FFFFFF;
}

.leader-director-card .leader-icon-badge {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.4), 0 0 0 2.5px #FFFFFF;
}

.leader-card:hover .leader-icon-badge {
  transform: scale(1.12) rotate(6deg);
}

.leader-info {
  flex: 1;
  min-width: 0;
}

.leader-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.leader-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--dw-red);
  border: 1px solid rgba(220, 38, 38, 0.18);
}

.leader-cochairman-card .leader-badge-pill {
  background: rgba(29, 78, 216, 0.08);
  color: var(--dw-blue);
  border-color: rgba(29, 78, 216, 0.18);
}

.leader-director-card .leader-badge-pill {
  background: rgba(2, 132, 199, 0.08);
  color: #0284C7;
  border-color: rgba(2, 132, 199, 0.18);
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 1.26rem;
  font-weight: 800;
  color: #0F172A;
  margin: 3px 0 2px;
  line-height: 1.25;
}

.leader-role-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--dw-blue);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.leader-chairman-card .leader-role {
  color: var(--dw-red);
}

.leader-role-divider {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(29, 78, 216, 0.3), transparent);
  border-radius: 2px;
}

.leader-chairman-card .leader-role-divider {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.3), transparent);
}

.leader-org {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.leader-org i {
  color: #94A3B8;
  font-size: 0.78rem;
}

.leader-bio {
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.48;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Corporate Commitment Motto Banner */
.leadership-motto-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px 44px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.3);
  position: relative;
  overflow: hidden;
}

.leadership-motto-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.motto-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DC2626, #EF4444);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.motto-content {
  flex: 1;
}

.motto-quote {
  font-size: 1.12rem;
  font-weight: 500;
  font-style: italic;
  color: #F1F5F9;
  line-height: 1.6;
  margin-bottom: 12px;
}

.motto-signature {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.motto-signature strong {
  font-size: 0.95rem;
  color: #FFFFFF;
  font-weight: 700;
}

.motto-signature span {
  font-size: 0.82rem;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Departments Showcase Section
   ========================================================================== */
.departments-section {
  padding: 100px 0;
  background: var(--bg-surface);
}

.departments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.department-card {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.department-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(220, 38, 38, 0.3);
}

.dept-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.dept-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.department-card:hover .dept-img-wrap img {
  transform: scale(1.06);
}

.dept-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.dept-icon-floating {
  position: absolute;
  bottom: -22px;
  left: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--dw-red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-red);
  border: 3px solid white;
}

.department-card:nth-child(even) .dept-icon-floating {
  background: var(--dw-blue);
  box-shadow: var(--shadow-blue);
}

.dept-body {
  padding: 34px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dept-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dw-navy);
}

.dept-tagline {
  font-size: 0.88rem;
  color: var(--dw-blue);
  font-weight: 600;
  margin-bottom: 14px;
}

.dept-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}

.dept-features {
  margin-bottom: 20px;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 14px;
}

.dept-features li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.dept-features li i {
  color: var(--dw-red);
  margin-top: 4px;
  font-size: 0.75rem;
}

.dept-card-footer {
  display: flex;
  gap: 10px;
}

.dept-card-footer .btn {
  flex: 1;
}

/* ==========================================================================
   Branches Explorer Section (Interactive Master-Detail Hub & Grid)
   ========================================================================== */
.branches-section {
  padding: 90px 0;
  background: #F8FAFC;
}

/* Quick Metrics Strip */
.branch-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

.branch-stat-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.branch-stat-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.branch-stat-item i {
  font-size: 1.5rem;
  color: var(--dw-blue);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--dw-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-stat-item strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dw-navy);
  line-height: 1.1;
}

.branch-stat-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Filter & Search Toolbar */
.branch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.branch-search-box {
  position: relative;
  flex: 1;
  min-width: 280px;
  max-width: 380px;
}

.branch-search-box input {
  width: 100%;
  padding: 11px 40px 11px 42px;
  border-radius: var(--radius-full);
  border: 1px solid #CBD5E1;
  background: white;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.branch-search-box input:focus {
  border-color: var(--dw-blue);
  box-shadow: 0 0 0 3px var(--dw-blue-soft);
}

.branch-search-box > i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.95rem;
}

.branch-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
}

.branch-search-clear:hover {
  color: var(--dw-red);
}

.branch-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.branch-pill-btn {
  padding: 7px 15px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  background: white;
  color: #475569;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: var(--transition-fast);
}

.branch-pill-btn:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
  color: var(--dw-navy);
}

.branch-pill-btn.active {
  background: var(--dw-navy);
  color: white;
  border-color: var(--dw-navy);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.branch-view-switcher {
  display: flex;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.branch-view-btn {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748B;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.branch-view-btn.active {
  background: var(--dw-blue);
  color: white;
}

/* Master-Detail Interactive Hub */
.branch-hub-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: white;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  height: 600px;
  max-height: 600px;
}

/* Left Pane: Scrollable List */
.branch-list-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  border-right: 1px solid #E2E8F0;
  background: #F8FAFC;
  overflow: hidden;
}

.branch-list-header {
  flex-shrink: 0;
  padding: 14px 18px;
  border-bottom: 1px solid #E2E8F0;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.branch-list-header span {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--dw-navy);
}

.branch-scroll-list {
  flex: 1 1 0px;
  min-height: 0;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--dw-red) #F1F5F9;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.branch-scroll-list::-webkit-scrollbar {
  width: 7px;
  display: block;
}

.branch-scroll-list::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 8px;
  margin: 4px 0;
}

.branch-scroll-list::-webkit-scrollbar-thumb {
  background: var(--dw-red);
  border-radius: 8px;
  border: 1px solid #F1F5F9;
}

.branch-scroll-list::-webkit-scrollbar-thumb:hover {
  background: #B91C1C;
}

.branch-list-footer {
  flex-shrink: 0;
  padding: 10px 14px;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
  z-index: 2;
}

.branch-list-footer i {
  color: var(--dw-red);
  animation: bounceDown 1.5s infinite ease-in-out;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Compact Branch Item in List */
.branch-mini-item {
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.branch-mini-item:hover {
  border-color: #93C5FD;
  background: #F8FAFC;
  transform: translateX(3px);
}

.branch-mini-item.active {
  border-color: var(--dw-blue);
  background: #EFF6FF;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.08);
}

.branch-mini-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--dw-blue);
  border-radius: 0 4px 4px 0;
}

.branch-mini-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.branch-mini-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--dw-navy);
  line-height: 1.2;
}

.branch-mini-badges {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.branch-mini-city {
  background: #E2E8F0;
  color: #334155;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}

.branch-mini-24 {
  background: var(--dw-red);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
}

.branch-mini-address {
  font-size: 0.8rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.branch-mini-address i {
  color: var(--dw-red);
  font-size: 0.75rem;
}

.branch-mini-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  color: #64748B;
  padding-top: 4px;
  border-top: 1px dashed #E2E8F0;
}

/* Right Pane: Active Branch Showcase Detail */
.branch-detail-pane {
  height: 100%;
  overflow-y: auto;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  background: white;
}

.branch-detail-pane::-webkit-scrollbar {
  width: 6px;
}

.branch-detail-pane::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.branch-detail-hero {
  position: relative;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.branch-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-detail-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.branch-detail-hero-title {
  color: white;
  font-size: 1.45rem;
  font-weight: 900;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.branch-detail-hero-city {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  color: white;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.4);
}

.branch-detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}

.branch-info-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.branch-info-box-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 6px;
}

.branch-info-box-title i {
  color: var(--dw-red);
}

.branch-info-box-val {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dw-navy);
  line-height: 1.4;
}

.branch-amenities {
  margin-bottom: 22px;
}

.branch-amenities-title {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 8px;
}

.branch-amenities-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.branch-amenity-tag {
  background: var(--dw-blue-soft);
  color: var(--dw-blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.branch-action-buttons-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed #E2E8F0;
}

.branch-action-buttons-hub .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
}

/* Compact Grid View Styling */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.branch-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #93C5FD;
}

.branch-card-header {
  position: relative;
  height: 140px;
  overflow: hidden;
}

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

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

.branch-badge-24 {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--dw-red);
  color: white;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.branch-city-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

.branch-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.branch-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dw-navy);
}

.branch-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.branch-info-row i {
  color: var(--dw-red);
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.branch-services {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.branch-srv-tag {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}

.branch-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
}

.branch-actions .btn {
  flex: 1;
  font-size: 0.8rem;
  padding: 8px 10px;
}

/* Responsive adjustments for Branches */
@media (max-width: 992px) {
  .branch-hub-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
  .branch-list-pane {
    height: 340px;
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
  }
  .branch-detail-pane {
    height: auto;
    padding: 20px;
  }
  .branch-stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .branches-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .branch-stats-strip {
    grid-template-columns: 1fr;
  }
  .branches-grid {
    grid-template-columns: 1fr;
  }
  .branch-detail-info-grid {
    grid-template-columns: 1fr;
  }
}

.branch-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 20px;
}

.branch-srv-tag {
  background: var(--bg-surface-alt);
  color: var(--dw-navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 4px;
}

.branch-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.branch-actions .btn {
  flex: 1;
}

/* ==========================================================================
   Image Gallery Section & Lightbox
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background: var(--bg-surface);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--bg-page);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background: var(--dw-red);
  color: var(--text-white);
  border-color: var(--dw-red);
  box-shadow: var(--shadow-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 260px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.9) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: opacity 0.3s ease;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--dw-red-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-overlay-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 2px;
}

.gallery-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 14, 23, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap img {
  max-width: 85vw;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  color: white;
  text-align: center;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--dw-red);
  transform: scale(1.15);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-nav:hover {
  background: var(--dw-red);
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

/* ==========================================================================
   Customer Portal & Contact Hub
   ========================================================================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg-page);
}

.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.channel-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.channel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.channel-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.channel-card.wa .channel-icon {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
}

.channel-card.messenger .channel-icon {
  background: rgba(0, 132, 255, 0.12);
  color: #0084FF;
}

.channel-card.phone .channel-icon {
  background: var(--dw-red-soft);
  color: var(--dw-red);
}

.channel-card.email .channel-icon {
  background: var(--dw-blue-soft);
  color: var(--dw-blue);
}

.channel-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dw-navy);
}

.channel-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

/* Contact Form & Prescription Card layout */
.contact-interactive-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}

.contact-card-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}

.box-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.box-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--dw-red-soft);
  color: var(--dw-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dw-navy);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: var(--bg-page);
}

.form-control:focus {
  border-color: var(--dw-blue);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px var(--dw-blue-soft);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

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

/* Prescription Upload Zone */
.prescription-dropzone {
  border: 2px dashed var(--dw-blue);
  background: var(--dw-blue-soft);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 20px;
}

.prescription-dropzone:hover {
  background: rgba(29, 78, 216, 0.12);
  border-color: var(--dw-blue-light);
}

.dropzone-icon {
  font-size: 2.2rem;
  color: var(--dw-blue);
  margin-bottom: 10px;
}

.dropzone-title {
  font-weight: 700;
  color: var(--dw-navy);
  font-size: 1rem;
}

.dropzone-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.prescription-preview-box {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  align-items: center;
  gap: 12px;
}

.prescription-preview-box.active {
  display: flex;
}

.prescription-preview-box img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

/* FAQs Accordion */
.faq-section {
  padding: 80px 0;
  background: var(--bg-surface);
}

.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dw-navy);
}

.faq-header i {
  color: var(--dw-red);
  transition: transform 0.3s ease;
}

.faq-card.open .faq-header i {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

.faq-card.open .faq-body {
  display: block;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dw-navy);
  color: #E2E8F0;
  padding: 80px 0 30px;
  border-top: 4px solid var(--dw-red);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img, .footer-emblem-logo {
  height: 56px;
  width: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: #FFFFFF;
  padding: 4px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.footer-tagline {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--dw-red);
  transform: translateY(-3px);
}

.footer-heading {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--dw-red);
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #94A3B8;
}

.footer-contact-item i {
  color: var(--dw-red);
  font-size: 1.1rem;
  margin-top: 3px;
}

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

.admin-portal-badge, .system-portal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.admin-portal-badge {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(185, 28, 28, 0.05) 100%);
  color: #FCA5A5 !important;
  border: 1px solid rgba(239, 68, 68, 0.35);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.admin-portal-badge:hover {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  color: #FFFFFF !important;
  border-color: #EF4444;
  box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.3), 0 0 12px rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
}

.system-portal-badge {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(29, 78, 216, 0.05) 100%);
  color: #93C5FD !important;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.system-portal-badge:hover {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  border-color: #3B82F6;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3), 0 0 12px rgba(59, 130, 246, 0.2);
  transform: translateY(-2px);
}

.footer-copyright-link {
  color: #94A3B8; /* Hidden: looks identical to standard copyright text */
  text-decoration: none;
  transition: color 0.25s ease;
  cursor: pointer;
}

.footer-copyright-link:hover {
  color: #EF4444; /* Reveals on hover: glows in brand red */
}

/* ==========================================================================
   Floating WhatsApp & Quick Action Button
   ========================================================================== */
.floating-widget-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-popup {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  max-width: 280px;
  display: none;
  animation: fadeInPopup 0.3s ease;
}

.floating-popup.active {
  display: block;
}

@keyframes fadeInPopup {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.floating-popup-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dw-navy);
  margin-bottom: 8px;
}

.floating-popup-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.floating-btn-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulseWa 2.5s infinite;
}

.floating-btn-main:hover {
  transform: scale(1.1);
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   Heritage Timeline Styles
   ========================================================================== */
.heritage-timeline-wrap {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 40px 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  position: relative;
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
}

.timeline-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  height: 100%;
  transition: var(--transition);
  position: relative;
  border-left: 4px solid var(--dw-red);
}

.timeline-card:hover {
  transform: translateY(-4px);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
  border-left-color: var(--dw-blue);
}

.timeline-year {
  display: inline-block;
  background: var(--dw-navy);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.timeline-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dw-navy);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Featured Products Sliding Showcase & Interactive Carousel
   ========================================================================== */
.product-filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 6px 8px;
  background: #F1F5F9;
  border-radius: var(--radius-full);
  border: 1px solid #E2E8F0;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.prod-category-pill {
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  background: transparent;
  color: #475569;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.prod-category-pill:hover {
  color: var(--dw-navy);
  background: rgba(255, 255, 255, 0.8);
}

.prod-category-pill.active {
  background: #FFFFFF;
  color: var(--dw-navy);
  font-weight: 800;
  border-color: #CBD5E1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

.products-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.products-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 16px 8px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.products-carousel-track::-webkit-scrollbar {
  display: none;
}

.prod-carousel-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--dw-navy);
  border: 1px solid #E2E8F0;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-carousel-btn:hover {
  background: var(--dw-red);
  color: white;
  border-color: var(--dw-red);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
}

.prod-carousel-btn.prev {
  left: -20px;
}

.prod-carousel-btn.next {
  right: -20px;
}

.prod-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.prod-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.prod-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: var(--dw-red);
}

.product-card {
  flex: 0 0 310px;
  max-width: 310px;
  scroll-snap-align: start;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  user-select: none;
}

@media (max-width: 992px) {
  .product-card {
    flex: 0 0 280px;
    max-width: 280px;
  }
  .prod-carousel-btn.prev {
    left: -12px;
  }
  .prod-carousel-btn.next {
    right: -12px;
  }
}

@media (max-width: 768px) {
  .products-carousel-track {
    gap: 16px;
    padding: 12px 4px 18px;
  }
  .product-card {
    flex: 0 0 260px;
    max-width: 260px;
  }
  .prod-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
  }
  .prod-carousel-btn.prev {
    left: -6px;
  }
  .prod-carousel-btn.next {
    right: -6px;
  }
}

@media (max-width: 480px) {
  .product-card {
    flex: 0 0 240px;
    max-width: 240px;
  }
  .product-img-wrap {
    height: 200px;
  }
  .product-body {
    padding: 16px;
  }
  .product-title {
    font-size: 0.96rem;
  }
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.35);
}

.product-img-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #F8FAFC;
  cursor: zoom-in;
  user-select: none;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
  transform-origin: center center;
  will-change: transform;
}

.product-card:hover .product-img-wrap img {
  filter: brightness(1.03);
}

/* Subtle Interactive Hover Zoom Glass Overlay & Lens Badge */
.product-zoom-hint-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 5;
}

.product-zoom-hint-btn i {
  color: #F87171;
  font-size: 0.9rem;
  animation: pulseIcon 1.5s infinite ease-in-out;
}

@keyframes pulseIcon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.product-img-wrap:hover .product-zoom-hint-btn {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.product-badge-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  z-index: 4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.product-instock-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(22, 163, 74, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 5px;
}

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

.product-brand {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dw-red);
  letter-spacing: 0.6px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--dw-navy);
  margin-bottom: 8px;
  line-height: 1.35;
  cursor: pointer;
  transition: color 0.2s ease;
}

.product-title:hover {
  color: var(--dw-red);
}

.product-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  flex-grow: 1;
  line-height: 1.5;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: auto;
  gap: 8px;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dw-navy);
}

/* ==========================================================================
   State-of-the-Art Product Zoom & Lightbox Modal
   ========================================================================== */
.product-zoom-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.product-zoom-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 15, 30, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.product-zoom-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  max-height: 92vh;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.94) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-zoom-modal.active .product-zoom-dialog {
  transform: scale(1) translateY(0);
}

/* Modal Header Bar */
.zoom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  user-select: none;
}

.zoom-modal-badge-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.zoom-badge-pill {
  background: rgba(220, 38, 38, 0.18);
  color: #F87171;
  border: 1px solid rgba(220, 38, 38, 0.35);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zoom-counter {
  color: #94A3B8;
  font-size: 0.85rem;
  font-weight: 600;
}

.zoom-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.zoom-tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.zoom-tool-btn:hover {
  background: var(--dw-red);
  border-color: var(--dw-red);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.zoom-close-btn {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #F87171;
  margin-left: 6px;
}

.zoom-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: white;
}

/* Modal Body / Split Stage */
.zoom-modal-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  flex: 1;
  min-height: 480px;
  max-height: calc(92vh - 150px);
  overflow: hidden;
}

/* Interactive Image Stage */
.zoom-stage {
  position: relative;
  background: radial-gradient(circle at center, #1E293B 0%, #0B1120 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  user-select: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.zoom-viewport {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: grab;
}

.zoom-viewport.dragging {
  cursor: grabbing;
}

#zoomModalImg {
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  transform-origin: center center;
  transition: transform 0.12s ease-out;
  will-change: transform;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  pointer-events: auto;
}

.zoom-level-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38BDF8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  pointer-events: none;
}

.zoom-hint-banner {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  pointer-events: none;
  white-space: nowrap;
}

/* Nav Chevrons */
.zoom-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.zoom-prev-btn {
  left: 16px;
}

.zoom-next-btn {
  right: 16px;
}

.zoom-nav-arrow:hover {
  background: var(--dw-red);
  border-color: var(--dw-red);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.5);
}

/* Sidebar Details Panel */
.zoom-sidebar {
  background: #111827;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.zoom-sidebar::-webkit-scrollbar {
  width: 6px;
}
.zoom-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.zoom-sidebar-scroll {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zoom-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zoom-brand-text {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #F87171;
  letter-spacing: 0.8px;
}

.zoom-genuine-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #4ADE80;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
}

.zoom-product-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: #F8FAFC;
  line-height: 1.3;
  margin: 0;
}

.zoom-tag-wrapper {
  display: flex;
}

.zoom-product-tag {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.zoom-price-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zoom-price-caption {
  color: #94A3B8;
  font-size: 0.82rem;
  font-weight: 600;
}

.zoom-price-val {
  color: #38BDF8;
  font-size: 1.45rem;
  font-weight: 900;
  font-family: var(--font-heading);
}

.zoom-stock-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #4ADE80;
}

.zoom-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #4ADE80;
  animation: pulseDot 2s infinite;
}

.zoom-desc-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
}

.zoom-desc-block h5 {
  color: #E2E8F0;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.zoom-desc-block p {
  color: #94A3B8;
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0;
}

.zoom-perks-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(15, 23, 42, 0.6);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.zoom-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #CBD5E1;
}

.zoom-perk i {
  color: #EF4444;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.zoom-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.zoom-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px;
  border-radius: 12px;
}

.zoom-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 12px;
}

.zoom-call-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Bottom Rapid Navigation Thumbnails */
.zoom-thumbs-container {
  padding: 12px 20px;
  background: rgba(15, 23, 42, 0.98);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.zoom-thumbs-strip {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.zoom-thumb-item {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  background: #1E293B;
  transition: all 0.2s ease;
}

.zoom-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-thumb-item:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.zoom-thumb-item.active {
  border-color: #EF4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.5);
  transform: scale(1.08);
}

/* ==========================================================================
   Interactive Image Gallery & Lightbox Section
   ========================================================================== */
.gallery-section {
  padding: 100px 0;
  background: #F8FAFC;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-filter-btn:hover {
  border-color: var(--dw-blue);
  color: var(--dw-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gallery-filter-btn.active {
  background: var(--dw-blue);
  color: #FFFFFF;
  border-color: var(--dw-blue);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: #0F172A;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.gallery-item:hover .gallery-zoom-icon {
  transform: scale(1.1);
}

.gallery-overlay-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dw-red-light);
  margin-bottom: 4px;
}

.gallery-overlay-title {
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  max-width: 100%;
  max-height: 75vh;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  background: #020617;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  margin-top: 16px;
  text-align: center;
  color: #FFFFFF;
  font-size: 1rem;
  max-width: 600px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: var(--dw-red);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--dw-blue);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: 28px;
}

.lightbox-nav.next {
  right: 28px;
}


