/* ===== NOVARICA HEALTHCARE WEBSITE ===== */
/* Colors: Royal Blue #2E6EB5, Scarlet Red #D83A34, Teal #1A9B8C, White #FFFFFF */

:root {
  --blue: #2E6EB5;
  --blue-dark: #1d5290;
  --blue-light: #4a87c8;
  --red: #D83A34;
  --red-dark: #b52e28;
  --teal: #1A9B8C;
  --teal-light: #22b5a4;
  --green: #28a86a;
  --white: #ffffff;
  --bg: #f8fafc;
  --bg-card: #ffffff;
  --bg-section: #f1f5f9;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(46,110,181,0.10);
  --shadow-lg: 0 8px 40px rgba(46,110,181,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --font: "Inter", system-ui, sans-serif;
  --font-serif: "Merriweather", Georgia, serif;
}

.dark-mode {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-section: #162035;
  --text: #f1f5f9;
  --text-light: #94a3b8;
  --text-muted: #64748b;
  --border: #334155;
  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.4);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: linear-gradient(135deg, #060e1f 0%, #0d1e3d 50%, #081a1e 100%);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0; }

/* Logo wrap with pulse rings */
.pl-logo-wrap {
  position: relative; width: 120px; height: 120px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.preloader-logo-img {
  height: 80px; width: auto; max-width: 180px; object-fit: contain;
  background: rgba(255,255,255,0.07); padding: 10px 16px;
  border-radius: 16px; display: block;
  box-shadow: 0 0 40px rgba(46,110,181,0.4);
  position: relative; z-index: 2;
  animation: pl-breathe 2s ease-in-out infinite alternate;
}
.preloader-logo {
  width: 80px; height: 80px; border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 900; color: white;
  position: relative; z-index: 2;
  box-shadow: 0 0 40px rgba(46,110,181,0.5);
  animation: pl-breathe 2s ease-in-out infinite alternate;
}
@keyframes pl-breathe { from { box-shadow: 0 0 20px rgba(46,110,181,0.3); } to { box-shadow: 0 0 60px rgba(26,155,140,0.6); } }

/* Pulse rings */
.pl-ring {
  position: absolute; border-radius: 50%; border: 1.5px solid rgba(46,110,181,0.5);
  animation: pl-ring-expand 2s ease-out infinite;
}
.pl-ring-1 { width: 110px; height: 110px; animation-delay: 0s; }
.pl-ring-2 { width: 140px; height: 140px; animation-delay: 0.5s; border-color: rgba(26,155,140,0.4); }
.pl-ring-3 { width: 170px; height: 170px; animation-delay: 1s; border-color: rgba(46,110,181,0.2); }
@keyframes pl-ring-expand {
  0% { transform: scale(0.7); opacity: 0.8; }
  100% { transform: scale(1.1); opacity: 0; }
}

.pl-brand-name {
  font-size: 22px; font-weight: 900; letter-spacing: 6px;
  background: linear-gradient(90deg, #60a5fa, #2E6EB5, #1A9B8C);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 6px;
}
.pl-tagline {
  font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 28px;
}

/* Progress bar */
.preloader-bar {
  width: 220px; height: 3px;
  background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden;
  margin-bottom: 20px;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--blue));
  background-size: 200% 100%;
  border-radius: 2px;
  animation: load 1.5s ease-in-out forwards, shimmer 1s linear infinite;
}
@keyframes load { from { width: 0; } to { width: 100%; } }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Loading dots */
.pl-dots { display: flex; gap: 6px; justify-content: center; }
.pl-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(96,165,250,0.6);
  animation: pl-dot-bounce 1.2s ease-in-out infinite;
}
.pl-dots span:nth-child(2) { animation-delay: 0.2s; }
.pl-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pl-dot-bounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1.2); opacity: 1; } }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h); background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s; box-shadow: none;
}
#navbar.scrolled { box-shadow: var(--shadow); }
.dark-mode #navbar { background: rgba(15,23,42,0.97); }
.nav-container {
  max-width: 1280px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo-img { height: 63px; width: auto; max-width: 170px; object-fit: contain; border-radius: 0; }
.footer-logo-img { height: 70px; width: auto; max-width: 247px; border-radius: 0; }
.preloader-logo-img { height: 100px; width: auto; max-width: 220px; object-fit: contain; background: #fff; padding: 12px 20px; border-radius: 0px; margin: 0 auto 24px; display: block; box-shadow: 0 8px 30px rgba(0,0,0,0.25); }
.brand-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: white; font-size: 18px;
}
.brand-text { font-size: 22px; font-weight: 800; color: var(--blue); letter-spacing: -0.5px; }
.nav-links {
  display: flex; list-style: none; align-items: center; gap: 4px;
}
.nav-link {
  padding: 8px 14px; border-radius: 8px; text-decoration: none;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: all 0.2s; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: rgba(46,110,181,0.08); }
.has-dropdown { position: relative; }
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 8px; min-width: 200px;
  box-shadow: var(--shadow-lg); list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all 0.2s;
}
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown .dropdown a {
  display: block; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; color: var(--text); font-size: 14px;
  transition: all 0.2s;
}
.has-dropdown .dropdown a:hover { background: rgba(46,110,181,0.08); color: var(--blue); }
.arrow { font-size: 10px; margin-left: 2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.dark-toggle {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  background: transparent; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; color: var(--text);
}
.dark-toggle:hover { background: var(--bg-section); }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px;
}
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== PAGE ROUTING ===== */
.page { display: none; 
  /* padding-top: var(--nav-h); */
 }
.page.active { display: block; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1d3461 40%, #0d3d45 100%);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(46,110,181,0.3) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(26,155,140,0.2) 0%, transparent 60%);
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  max-width: 860px; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50px;
  padding: 8px 20px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.15; color: white; margin-bottom: 20px; letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(135deg, #60a5fa, var(--teal-light), #34d399);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 620px;
  margin: 0 auto 36px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15); border-radius: 20px;
  padding: 20px 32px; flex-wrap: wrap; gap: 0;
}
.stat { text-align: center; padding: 0 28px; }
.stat-num { font-size: 2rem; font-weight: 800; color: white; }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); }
.scroll-indicator {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4);
  border-radius: 13px; display: flex; justify-content: center; padding-top: 6px;
}
.scroll-indicator span {
  width: 4px; height: 8px; background: rgba(255,255,255,0.7);
  border-radius: 2px; animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown { 0%,100%{transform:translateY(0);opacity:0.7} 50%{transform:translateY(8px);opacity:0.3} }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white; padding: 12px 28px; border-radius: 10px;
  border: none; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.25s; box-shadow: 0 4px 16px rgba(46,110,181,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,110,181,0.45); }
.btn-outline {
  background:#2e6eb5; color: white; padding: 12px 28px;
  border-radius: 10px; border: 2px solid rgba(255,255,255,0.5);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.25s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }
.btn-white-outline {
  background: transparent; color: white; padding: 12px 28px;
  border-radius: 10px; border: 2px solid rgba(255,255,255,0.6);
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.25s;
}
.btn-white-outline:hover { background: rgba(255,255,255,0.15); }
.btn-sm-primary {
  background: var(--blue); color: white; padding: 8px 16px;
  border-radius: 8px; border: none; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.btn-sm-primary:hover { background: var(--blue-dark); }
.btn-sm-outline {
  background: transparent; color: var(--blue); padding: 8px 16px;
  border-radius: 8px; border: 1px solid var(--blue);
  font-size: 13px; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-sm-outline:hover { background: rgba(46,110,181,0.08); }
.btn-full { width: 100%; }

/* ===== SECTION BASE ===== */
.section { padding: 80px 24px; }
.bg-light-section { background: var(--bg-section); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(46,110,181,0.1); color: var(--blue);
  padding: 6px 16px; border-radius: 50px; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  color: var(--text); line-height: 1.2; margin-bottom: 12px; letter-spacing: -0.5px;
}
.section-sub { font-size: 1rem; color: var(--text-light); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.text-accent { color: var(--blue); }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ===== SERVICES ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; cursor: pointer;
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--blue), var(--teal));
  transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 40px; margin-bottom: 16px; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.card-link { font-size: 13px; font-weight: 600; color: var(--blue); }

/* ===== WHY SECTION ===== */
.why-section { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-section) 100%); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-image-box { position: relative; padding: 32px; }

.why-img-bg {
  width: 100%; padding-bottom: 100%; border-radius: 32px;
  background: linear-gradient(135deg, rgba(46,110,181,0.12), rgba(26,155,140,0.08), rgba(46,110,181,0.05));
  border: 1.5px solid rgba(46,110,181,0.2);
  position: relative; overflow: hidden;
  box-shadow: 0 24px 80px rgba(46,110,181,0.15), inset 0 1px 0 rgba(255,255,255,0.1);
}
.why-img-glow {
  position: absolute; inset: 0; border-radius: 32px;
  background: radial-gradient(ellipse at 50% 40%, rgba(46,110,181,0.2) 0%, rgba(26,155,140,0.1) 40%, transparent 70%);
  pointer-events: none;
}
/* Center icon with pulse */
.why-center-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
}
.why-icon-inner {
  font-size: 80px; z-index: 2; position: relative;
  filter: drop-shadow(0 0 24px rgba(46,110,181,0.5));
  animation: why-float 3s ease-in-out infinite alternate;
}
@keyframes why-float { from { transform: translateY(-6px); } to { transform: translateY(6px); } }

.why-pulse-ring {
  position: absolute; width: 160px; height: 160px;
  border-radius: 50%; border: 1.5px solid rgba(46,110,181,0.35);
  animation: why-pulse 2.4s ease-out infinite;
}
.why-pulse-ring.delay-ring { animation-delay: 1.2s; border-color: rgba(26,155,140,0.3); }
@keyframes why-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Floating orbs */
.why-floating-orb {
  position: absolute; border-radius: 50%;
  animation: why-orb-float 4s ease-in-out infinite alternate;
}
.orb-1 {
  width: 80px; height: 80px; top: 15%; left: 10%;
  background: radial-gradient(circle, rgba(46,110,181,0.25), transparent);
  animation-duration: 4s;
}
.orb-2 {
  width: 60px; height: 60px; bottom: 20%; right: 12%;
  background: radial-gradient(circle, rgba(26,155,140,0.3), transparent);
  animation-duration: 3.5s; animation-delay: 1s;
}
@keyframes why-orb-float { from { transform: translateY(-10px) scale(1); } to { transform: translateY(10px) scale(1.15); } }

/* Badges */
.why-badge-float {
  position: absolute; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; padding: 9px 18px; font-size: 12px; font-weight: 600;
  color: var(--text); box-shadow: 0 8px 30px rgba(0,0,0,0.12); white-space: nowrap;
  display: flex; align-items: center; gap: 7px;
  backdrop-filter: blur(10px);
  animation: badge-float 3s ease-in-out infinite alternate;
}
.badge-1 { top: 8%; right: -8%; animation-delay: 0s; }
.badge-2 { bottom: 28%; right: -14%; animation-delay: 0.8s; }
.badge-3 { bottom: 6%; left: 2%; animation-delay: 1.6s; }
@keyframes badge-float { from { transform: translateY(-3px); } to { transform: translateY(3px); } }

.badge-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.green-dot { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.6); }
.gold-dot { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.6); }
.blue-dot { background: var(--blue); box-shadow: 0 0 6px rgba(46,110,181,0.6); }

.why-desc { font-size: 1rem; color: var(--text-light); line-height: 1.7; margin-bottom: 32px; }
.why-points { display: flex; flex-direction: column; gap: 20px; }
.why-point {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 20px; transition: all 0.3s;
}
.why-point:hover { border-color: rgba(46,110,181,0.4); box-shadow: 0 4px 20px rgba(46,110,181,0.08); transform: translateX(4px); }
.wp-icon {
  width: 44px; height: 44px; border-radius: 12px; font-size: 20px;
  background: linear-gradient(135deg, rgba(46,110,181,0.15), rgba(26,155,140,0.1));
  border: 1px solid rgba(46,110,181,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.why-point strong { font-size: 0.95rem; color: var(--text); }
.why-point p { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; margin-top: 2px; }

/* ===== STATS BAND ===== */
.stats-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 50%, #0d3d45 100%);
  padding: 56px 24px;
}
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stats-num { font-size: 3rem; font-weight: 800; color: white; }
.stats-label { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ===== LEADERSHIP PREVIEW ===== */
.leader-card-big {
  display: flex; gap: 40px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px; cursor: pointer;
  transition: all 0.3s;
}
.leader-card-big:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.avatar-circle {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800; color: white; flex-shrink: 0;
}
.leader-info h3 { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.leader-title { font-size: 1rem; color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.leader-cred { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; }
.leader-quote { font-size: 0.95rem; color: var(--text); font-style: italic; line-height: 1.6; margin-bottom: 16px; border-left: 3px solid var(--blue); padding-left: 16px; }

/* ===== PARTNERS PREVIEW ===== */
.partners-logos {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center;
}
.partner-logo {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 28px; font-size: 14px; font-weight: 600;
  color: var(--text-light); transition: all 0.2s;
}
.partner-logo:hover { border-color: var(--blue); color: var(--blue); }

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--bg-section); }
.testimonials-slider { position: relative; overflow: hidden; padding-bottom: 8px; }
.testimonial-track { display: flex; transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94); }
.testimonial-card {
  min-width: calc(33.333% - 16px); margin-right: 24px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px; flex-shrink: 0;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.testimonial-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 24px 24px 0 0;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.t-quote-icon { font-size: 40px; color: rgba(46,110,181,0.15); line-height: 1; margin-bottom: 4px; }
.t-stars { color: #f59e0b; font-size: 15px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.93rem; color: var(--text); line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border); }
.t-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.t-author strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.t-author span { font-size: 12px; color: var(--text-light); margin-top: 2px; display: block; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 36px; }
.slider-btn {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--bg-card); cursor: pointer; font-size: 18px; color: var(--text);
  transition: all 0.2s; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.slider-btn:hover { background: var(--blue); color: white; border-color: var(--blue); transform: scale(1.05); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.3s;
}
.slider-dot.active { background: var(--blue); width: 28px; border-radius: 4px; }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  width: 100%; padding: 18px 24px; background: none; border: none; cursor: pointer;
  text-align: left; font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.2s;
}
.faq-q:hover, .faq-q.open { color: var(--blue); }
.faq-q span { font-size: 20px; font-weight: 300; transition: transform 0.3s; }
.faq-q.open span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s; }
.faq-a.open { max-height: 200px; padding: 0 24px 18px; }
.faq-a p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: linear-gradient(135deg, #0f172a, #1d3461);
  padding: 56px 24px;
}
.newsletter-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; max-width: 960px; margin: 0 auto;
}
.nl-text h3 { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 8px; }
.nl-text p { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.nl-form { display: flex; gap: 12px; flex-wrap: wrap; }
.nl-form input {
  padding: 12px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1); color: white; font-size: 14px;
  outline: none; min-width: 260px;
}
.nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.nl-form input:focus { border-color: var(--teal); }
.nl-form button {
  background: linear-gradient(135deg, var(--teal), #128f80); color: white;
  padding: 12px 24px; border-radius: 10px; border: none; font-weight: 600;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.nl-form button:hover { transform: translateY(-2px); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  padding: 80px 24px;
}
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 2.2rem; font-weight: 800; color: white; margin-bottom: 16px; }
.cta-content p { font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 32px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary { background: white; color: var(--red); }
.cta-section .btn-primary:hover { background: #f8f8f8; }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #0a1628, #1d3461);
  padding: 80px 24px; text-align: center; position: relative;
  min-height: 260px; display: flex; align-items: center; justify-content: center;
}
.page-hero-teal { background: linear-gradient(135deg, #052f2c, #0a4a42); }
.page-hero-green { background: linear-gradient(135deg, #052918, #0a4226); }
.page-hero-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(46,110,181,0.25), transparent); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: white; margin: 8px 0; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-top: 8px; }

/* ===== TWO COLUMN ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-placeholder, .about-visual {
  background: linear-gradient(135deg, rgba(46,110,181,0.1), rgba(26,155,140,0.1));
  border: 2px solid rgba(46,110,181,0.2); border-radius: 24px;
  min-height: 300px; display: flex; align-items: center; justify-content: center;
}
.aip-inner { text-align: center; padding: 32px; }
.aip-inner p { color: var(--text-light); margin-top: 8px; }
.small-text { font-size: 12px; color: var(--text-muted); }

/* ===== MISSION / VISION ===== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mv-card {
  border-radius: 20px; padding: 40px;
  border: 1px solid var(--border); background: var(--bg-card);
}
.mv-card.mission { border-top: 4px solid var(--blue); }
.mv-card.vision { border-top: 4px solid var(--teal); }
.mv-icon { font-size: 40px; margin-bottom: 16px; }
.mv-card h3 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.mv-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.8; }

/* ===== VALUES ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; text-align: center; transition: all 0.3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.val-icon { font-size: 36px; margin-bottom: 12px; }
.value-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===== TIMELINE ===== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--blue), var(--teal));
  transform: translateX(-50%);
}
.tl-item { display: flex; margin-bottom: 48px; position: relative; }
.tl-left { justify-content: flex-end; padding-right: calc(50% + 32px); }
.tl-right { justify-content: flex-start; padding-left: calc(50% + 32px); }
.tl-content {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; max-width: 320px; position: relative;
}
.tl-item::after {
  content: ""; position: absolute; left: calc(50% - 8px); top: 20px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 3px solid var(--bg);
}
.tl-year { font-size: 1.4rem; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.tl-content h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.tl-content p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===== PAGE ICON BOX ===== */
.page-icon-box {
  border-radius: 24px; padding: 48px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.blue-box { background: linear-gradient(135deg, rgba(46,110,181,0.12), rgba(26,155,140,0.12)); border: 2px solid rgba(46,110,181,0.2); }
.green-box { background: linear-gradient(135deg, rgba(40,168,106,0.12), rgba(26,155,140,0.12)); border: 2px solid rgba(40,168,106,0.2); }
.pib-icon { font-size: 72px; }
.pib-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.pib-stat { text-align: center; }
.pib-stat strong { display: block; font-size: 1.3rem; font-weight: 800; color: var(--blue); }
.pib-stat span { font-size: 12px; color: var(--text-light); }

/* ===== FEATURES GRID ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; transition: all 0.3s;
}
.feature-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.fc-num { font-size: 2rem; font-weight: 900; color: rgba(46,110,181,0.2); margin-bottom: 8px; font-family: var(--font-serif); }
.feature-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===== APPS GRID ===== */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.app-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; text-align: center; transition: all 0.3s; cursor: pointer;
}
.app-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(26,155,140,0.15); }
.app-icon { font-size: 36px; margin-bottom: 12px; }
.app-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.app-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; justify-content: center; }
.process-step {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; text-align: center; flex: 1; min-width: 160px;
}
.ps-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white; font-size: 1.2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.process-step h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.process-step p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; }
.ps-arrow { font-size: 24px; color: var(--text-muted); align-self: center; flex-shrink: 0; }

/* ===== TECH GRID ===== */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.tech-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; transition: all 0.3s;
  border-left: 4px solid var(--teal);
}
.tech-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tc-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tc-icon { font-size: 28px; }
.tc-header h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.tech-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.tc-list { list-style: none; }
.tc-list li { font-size: 0.83rem; color: var(--text-light); padding: 4px 0; padding-left: 16px; position: relative; }
.tc-list li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ===== PIPELINE ===== */
.pipeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.pipeline-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.phase-label {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 12px;
}
.phase-discovery .phase-label { background: rgba(46,110,181,0.15); color: var(--blue); }
.phase-preclinical .phase-label { background: rgba(26,155,140,0.15); color: var(--teal); }
.phase-clinical1 .phase-label { background: rgba(245,158,11,0.15); color: #d97706; }
.phase-clinical2 .phase-label { background: rgba(40,168,106,0.15); color: var(--green); }
.pipeline-card h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.pipeline-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ===== PRODUCTS ===== */
.product-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.prod-tab {
  padding: 10px 20px; border-radius: 50px; border: 1px solid var(--border);
  background: var(--bg-card); font-size: 13px; font-weight: 600; color: var(--text-light);
  cursor: pointer; transition: all 0.2s;
}
.prod-tab:hover, .prod-tab.active { background: var(--blue); color: white; border-color: var(--blue); }
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; display: flex; gap: 20px; transition: all 0.3s;
}
.product-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }
.prod-icon { font-size: 44px; flex-shrink: 0; }
.prod-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); font-weight: 600; margin-bottom: 6px; }
.prod-content h4 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.prod-content p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.prod-specs { list-style: none; margin-bottom: 16px; }
.prod-specs li { font-size: 12px; color: var(--text-muted); padding: 3px 0; padding-left: 14px; position: relative; }
.prod-specs li::before { content: "•"; position: absolute; left: 0; color: var(--teal); }
.prod-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ===== BROCHURE ===== */
.brochure-section { background: var(--bg-section); padding: 56px 24px; }
.brochure-box {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  justify-content: space-between; max-width: 960px; margin: 0 auto;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.bro-icon { font-size: 48px; flex-shrink: 0; }
.bro-text { flex: 1; }
.bro-text h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.bro-text p { font-size: 0.88rem; color: var(--text-light); }

/* ===== LEADERSHIP ===== */
.md-profile {
  display: flex; gap: 48px; align-items: flex-start;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px; padding: 48px;
}
.md-avatar-wrap { position: relative; flex-shrink: 0; }
.md-avatar-circle {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 800; color: white; position: relative; z-index: 1;
}
.md-avatar-glow {
  position: absolute; inset: -8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0.2; animation: glowPulse 2s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{transform:scale(1);opacity:0.2} 50%{transform:scale(1.05);opacity:0.35} }
.md-content h2 { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.md-title { font-size: 1rem; color: var(--blue); font-weight: 600; margin-bottom: 16px; }
.md-credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cred-badge {
  background: rgba(46,110,181,0.1); color: var(--blue);
  padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
}
.md-bio { font-size: 0.9rem; color: var(--text-light); line-height: 1.8; }
.md-quote {
  background: rgba(46,110,181,0.06); border-left: 4px solid var(--blue);
  padding: 20px 24px; border-radius: 0 12px 12px 0; font-style: italic;
  font-size: 0.95rem; color: var(--text); line-height: 1.7; margin: 20px 0;
}
.md-expertise h4 { font-size: 0.9rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.expertise-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.expertise-tags span {
  background: var(--bg-section); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 8px; font-size: 12px; color: var(--text-light);
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; text-align: center; transition: all 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white; font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.team-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.team-role { font-size: 12px; color: var(--blue); font-weight: 600; margin-bottom: 4px; }
.team-spec { font-size: 11px; color: var(--text-muted); }
.vision-statement {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, rgba(46,110,181,0.06), rgba(26,155,140,0.06));
  border: 1px solid var(--border); border-radius: 24px; padding: 48px;
}
.vs-icon { font-size: 48px; margin-bottom: 16px; }
.vision-statement h3 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 20px; }
.vision-statement p { font-size: 1rem; color: var(--text-light); line-height: 1.8; font-style: italic; }
.vs-attr { font-size: 0.9rem; color: var(--blue); font-weight: 600; margin-top: 16px; font-style: normal; }

/* ===== PARTNERSHIPS ===== */
.partner-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.partner-cat-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; transition: all 0.3s;
}
.partner-cat-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.pcc-icon { font-size: 40px; margin-bottom: 16px; }
.partner-cat-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.partner-cat-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.pcc-list { list-style: none; }
.pcc-list li { font-size: 0.83rem; color: var(--text-light); padding: 5px 0; border-bottom: 1px solid var(--border); }
.pcc-list li:last-child { border: none; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.benefit-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; transition: all 0.3s;
}
.benefit-item:hover { border-color: var(--blue); transform: translateY(-4px); }
.bi-icon { font-size: 36px; margin-bottom: 12px; }
.benefit-item h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.benefit-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.partner-cta-box {
  text-align: center; background: linear-gradient(135deg, rgba(46,110,181,0.08), rgba(26,155,140,0.08));
  border: 1px solid rgba(46,110,181,0.2); border-radius: 24px; padding: 56px;
}
.partner-cta-box h3 { font-size: 1.8rem; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.partner-cta-box p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; max-width: 560px; margin: 0 auto 28px; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.contact-form-box, .contact-info-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px;
}
.contact-form-box h3, .contact-info-box h3 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-section); color: var(--text); font-size: 14px;
  outline: none; transition: border-color 0.2s; font-family: var(--font);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; }
.form-success { text-align: center; padding: 40px 0; }
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a); color: white;
  font-size: 28px; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.form-success h4 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.form-success p { color: var(--text-light); }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.ci-item { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon { font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.ci-item strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ci-item p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.map-placeholder {
  background: linear-gradient(135deg, rgba(46,110,181,0.1), rgba(26,155,140,0.1));
  border: 2px solid rgba(46,110,181,0.2); border-radius: 16px;
  min-height: 140px; display: flex; align-items: center; justify-content: center;
  text-align: center; margin-bottom: 20px; cursor: pointer;
}
.map-inner p { color: var(--text-light); font-size: 14px; margin-top: 4px; }
.social-links-contact h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-section); border: 1px solid var(--border);
  color: var(--text-light); text-decoration: none; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.social-btn:hover { background: var(--blue); color: white; border-color: var(--blue); }

/* ===== FOOTER ===== */
#footer { background: #0a1628; }
.footer-top { padding: 64px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo .brand-icon { width: 36px; height: 36px; font-size: 16px; border-radius: 8px; }
.footer-logo span { font-size: 20px; font-weight: 800; color: white; }
.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.fsocial {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6); text-decoration: none; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.fsocial:hover { background: var(--blue); color: white; }
.footer-links-col h4 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { margin-bottom: 8px; }
.footer-links-col ul a { font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-links-col ul a:hover { color: white; }
.footer-links-col p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; }
.cert-badge {
  display: inline-block; background: rgba(46,110,181,0.3); color: rgba(255,255,255,0.7);
  padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600; margin-right: 6px; margin-bottom: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 24px;
  max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); }

/* ===== WHATSAPP ===== */
.whatsapp-btn {
  position: fixed; bottom: 88px; right: 24px; z-index: 999;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all 0.3s; text-decoration: none;
}
.whatsapp-btn:hover { transform: scale(1.1); box-shadow: 0 8px 24px rgba(37,211,102,0.5); }
.whatsapp-btn svg { width: 26px; height: 26px; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: white; border: none; font-size: 18px;
  cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transition: all 0.3s; display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-3px); background: var(--blue-dark); }

/* ===== ANIMATIONS ===== */
.anim-up {
opacity: 0; transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 400px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .mv-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links { 
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--bg-card); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 12px; gap: 2px; z-index: 999;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-link { display: block; width: 100%; padding: 12px 14px; box-sizing: border-box; }
  .hamburger { display: flex; }
  .has-dropdown { position: relative; }
  .has-dropdown .dropdown-toggle { display: flex; align-items: center; justify-content: space-between; }
  .has-dropdown .arrow { transition: transform 0.2s; }
  .has-dropdown .dropdown { 
    position: static; box-shadow: none; border: none; background: var(--bg-section);
    display: none; opacity: 1; visibility: visible; transform: none;
    min-width: 100%; margin-top: 4px; padding: 4px 0;
  }
  .has-dropdown .dropdown.open { display: block; }
  .has-dropdown .dropdown a { padding: 10px 28px; }
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 40px; height: 1px; }
  .leader-card-big { flex-direction: column; text-align: center; }
  .md-profile { flex-direction: column; text-align: center; padding: 32px; }
  .md-credentials { justify-content: center; }
  .expertise-tags { justify-content: center; }
  .testimonial-card { min-width: 100%; margin-right: 0; }
  .process-steps { flex-direction: column; }
  .ps-arrow { transform: rotate(90deg); align-self: center; }
  .brochure-box { flex-direction: column; text-align: center; }
  .nl-form { width: 100%; }
  .nl-form input { min-width: 0; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .badge-1, .badge-2, .badge-3 { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 48px 16px; }
  .container { padding: 0 4px; }
  .hero { padding: 60px 16px 40px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions button { width: 100%; }
  .services-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card { flex-direction: column; }
  .cta-btns { flex-direction: column; }
  .cta-btns button { width: 100%; }
}

/* ===== NAV SOCIAL ICONS (desktop) ===== */
.nav-social-icons {
  display: flex; align-items: center; gap: 4px;
}
.nav-social-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.25s;
  color: var(--text-light); background: transparent;
}
.nav-social-icon svg { width: 16px; height: 16px; }
.nav-social-icon:hover { transform: translateY(-2px); color: white; }
.nav-linkedin:hover  { background: #0077b5; }
.nav-twitter:hover   { background: #000; }
.nav-facebook:hover  { background: #1877f2; }
.nav-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.nav-youtube:hover   { background: #ff0000; }
.nav-whatsapp:hover  { background: #25d366; }
.dark-mode .nav-social-icon { color: var(--text-muted); }

/* ===== RIGHT SIDE FLOATING SOCIAL BAR ===== */
.side-social-bar {
  position: fixed; right: 0; top: 50%;
  transform: translateY(-50%);
  z-index: 900; display: flex; flex-direction: column; gap: 3px;
}
.side-social-btn {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; position: relative;
  border-radius: 10px 0 0 10px;
  color: white;
  transition: width 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: -2px 2px 14px rgba(0,0,0,0.18);
  overflow: visible;
}
.side-social-btn svg {
  width: 20px; height: 20px; flex-shrink: 0;
  z-index: 2; position: relative; transition: transform 0.2s;
}
.side-social-btn:hover svg { transform: scale(1.15); }

/* Label slides OUT to the LEFT on hover */
.side-label {
  position: absolute;
  right: 46px; top: 50%; transform: translateY(-50%);
  white-space: nowrap; color: white;
  padding: 0 14px; font-size: 12px; font-weight: 700;
  border-radius: 8px 0 0 8px;
  height: 46px; display: flex; align-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease, right 0.28s ease;
  letter-spacing: 0.3px;
}
.side-social-btn:hover .side-label {
  opacity: 1;
  right: 46px;
}

/* Each brand color + label bg */
.side-linkedin  { background: #0077b5; }
.side-linkedin .side-label  { background: #0077b5; }
.side-twitter   { background: #1a1a1a; }
.side-twitter .side-label   { background: #1a1a1a; }
.side-facebook  { background: #1877f2; }
.side-facebook .side-label  { background: #1877f2; }
.side-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.side-instagram .side-label { background: #cc2366; }
.side-youtube   { background: #ff0000; }
.side-youtube .side-label   { background: #ff0000; }
.side-whatsapp  { background: #25d366; }
.side-whatsapp .side-label  { background: #25d366; }

/* ===== CONTACT & FOOTER SOCIAL ICON BUTTONS ===== */
.social-btn {
  width: 42px; height: 42px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.2s; color: white;
}
.social-btn:hover { transform: translateY(-2px); opacity: 0.9; }
.social-btn-linkedin  { background: #0077b5; }
.social-btn-twitter   { background: #1a1a1a; }
.social-btn-facebook  { background: #1877f2; }
.social-btn-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn-youtube   { background: #ff0000; }
.social-btn-whatsapp  { background: #25d366; }

/* ===== FOOTER SOCIAL ICONS ===== */
.fsocial {
  width: 38px; height: 38px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.2s; color: white;
}
.fsocial:hover { transform: translateY(-2px); opacity: 0.88; }
.fsocial-linkedin  { background: #0077b5; }
.fsocial-twitter   { background: #1a1a1a; }
.fsocial-facebook  { background: #1877f2; }
.fsocial-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fsocial-youtube   { background: #ff0000; }
.fsocial-whatsapp  { background: #25d366; }

/* ===== MOBILE NAV SOCIAL ROW ===== */
.nav-mobile-social {
  display: none;
  padding: 12px 14px 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.mobile-social-label {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}
.mobile-social-row {
  display: flex; gap: 10px; align-items: center;
}
.mob-social-btn {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: all 0.2s; color: white;
}
.mob-social-btn svg { width: 19px; height: 19px; }
.mob-social-btn:active { transform: scale(0.92); }
.mob-linkedin  { background: #0077b5; }
.mob-twitter   { background: #1a1a1a; }
.mob-facebook  { background: #1877f2; }
.mob-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.mob-youtube   { background: #ff0000; }
.mob-whatsapp  { background: #25d366; }

/* ===== RESPONSIVE OVERRIDES ===== */
@media (max-width: 768px) {
  /* Right side floating bar — VISIBLE on mobile as small icons */
  .side-social-bar {
    top: auto; bottom: 295px;
    transform: none;
    gap: 2px;
  }
  .side-social-btn {
    width: 38px; height: 38px;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2);
  }
  .side-social-btn svg { width: 17px; height: 17px; }
  /* On mobile, labels hidden (too narrow) */
  .side-label { display: none; }

  /* Show mobile social row in hamburger menu */
  .nav-mobile-social { display: block; }

  /* Hide desktop nav social icons */
  .nav-social-icons { display: none; }
}

/* ===== TRENDING TESTIMONIALS - MARQUEE DESIGN ===== */
.testimonials-section {
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--bg) 100%);
  overflow: hidden;
}
.testi-marquee-wrap {
  display: flex; flex-direction: column; gap: 20px;
  overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.testi-marquee { overflow: hidden; }
.testi-marquee-inner {
  display: flex; gap: 20px;
  animation: marquee-left 35s linear infinite;
}
.testi-marquee-right .testi-marquee-inner {
  animation: marquee-right 40s linear infinite;
}
.testi-marquee:hover .testi-marquee-inner { animation-play-state: paused; }

@keyframes marquee-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Testimonial Card */
.testi-card {
  min-width: 320px; max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.3s; cursor: default;
  position: relative; overflow: hidden;
  box-shadow: 0 2px 16px rgba(46,110,181,0.06);
}
.testi-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal));
}
.testi-card-alt::before {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(46,110,181,0.15);
  border-color: rgba(46,110,181,0.3);
}

/* Card Header */
.testi-card-top {
  display: flex; align-items: center; gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 14px; color: white;
  flex-shrink: 0; letter-spacing: 0.5px;
}
.testi-meta { flex: 1; min-width: 0; }
.testi-meta strong {
  display: block; font-size: 14px; font-weight: 700;
  color: var(--text); white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis;
}
.testi-meta span {
  font-size: 11px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.testi-verified {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.testi-verified svg { width: 13px; height: 13px; fill: white; }
.testi-verified-gold { background: #d97706; }

/* Stars */
.testi-stars {
  font-size: 14px; color: #f59e0b; letter-spacing: 1px;
}

/* Text */
.testi-text {
  font-size: 13.5px; color: var(--text-light); line-height: 1.7;
  flex: 1;
}

/* Tag */
.testi-tag {
  display: inline-block; font-size: 11px; font-weight: 600;
  background: rgba(46,110,181,0.1); color: var(--blue);
  padding: 4px 12px; border-radius: 50px;
  width: fit-content; letter-spacing: 0.3px;
}
.testi-tag-gold {
  background: rgba(217,119,6,0.1); color: #d97706;
}

/* Trust Bar */
.testi-trust-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 0; background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 24px 40px;
  margin-top: 40px; flex-wrap: wrap; gap: 0;
}
.ttb-item { text-align: center; padding: 8px 32px; }
.ttb-num {
  display: block; font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.ttb-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 2px; display: block; }
.ttb-divider { width: 1px; height: 48px; background: var(--border); }

@media (max-width: 768px) {
  .testi-card { min-width: 280px; max-width: 280px; }
  .testi-trust-bar { padding: 20px 16px; }
  .ttb-item { padding: 8px 16px; }
  .ttb-divider { display: none; }
  .testi-trust-bar { gap: 8px; }
}
@media (max-width: 480px) {
  .testi-trust-bar { flex-wrap: wrap; gap: 16px; }
  .ttb-item { width: 45%; padding: 8px; }
}

/* ===== PRODUCT DETAIL MODAL ===== */
.product-modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.product-modal-overlay.open {
  display: flex;
  opacity: 1;
}
.product-modal {
  background-color: var(--bg-card);
  width: 100%; max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
  padding-bottom: 8px;
}
.product-modal-overlay.open .product-modal { transform: translateY(0); }
.product-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(148,163,184,0.15);
  color: var(--text); font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.product-modal-close:hover { background: rgba(148,163,184,0.3); }
.pm-header {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, rgba(46,110,181,0.08), rgba(26,155,140,0.08));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.pm-icon {
  font-size: 44px; flex-shrink: 0;
  width: 72px; height: 72px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pm-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); font-weight: 700; margin-bottom: 6px; }
.pm-header h2 { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-bottom: 6px; line-height: 1.25; }
.pm-tagline { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }
.pm-body { padding: 8px 32px 4px; }
.pm-section { padding: 20px 0; border-bottom: 1px solid var(--border); }
.pm-section:last-child { border-bottom: none; }
.pm-section h4 {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--teal); font-weight: 700; margin-bottom: 12px;
}
.pm-section p { font-size: 0.92rem; color: var(--text-light); line-height: 1.75; }
.pm-specs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px;
}
.pm-spec-item {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  background: rgba(148,163,184,0.08);
  border-radius: 10px;
}
.pm-spec-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.pm-spec-value { font-size: 0.88rem; color: var(--text); font-weight: 600; }
.pm-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.pm-features li {
  font-size: 0.9rem; color: var(--text-light); line-height: 1.6;
  padding-left: 22px; position: relative;
}
.pm-features li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 800;
}
.pm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-tag {
  font-size: 0.8rem; font-weight: 600; color: var(--blue);
  background: rgba(46,110,181,0.1);
  padding: 6px 14px; border-radius: 20px;
}
.pm-cert-tag { color: var(--green); background: rgba(40,168,106,0.1); }
.pm-footer {
  display: flex; gap: 12px; flex-wrap: wrap;
  padding: 24px 32px 28px;
}
.pm-footer .btn-primary, .pm-footer .btn-outline { flex: 1; min-width: 160px; text-align: center; }

@media (max-width: 640px) {
  .pm-header { flex-direction: column; align-items: center; text-align: center; padding: 28px 20px 20px; }
  .pm-body { padding: 8px 20px 4px; }
  .pm-footer { padding: 20px 20px 24px; }
  .pm-specs-grid { grid-template-columns: 1fr; }
  .product-modal { max-height: 92vh; }
}

/* ===== PRODUCT MODAL: WORKFLOW & STATS ===== */
.pm-workflow { display: flex; flex-direction: column; gap: 14px; }
.pm-workflow-step { display: flex; gap: 14px; align-items: flex-start; }
.pm-workflow-num {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.pm-workflow-content h5 { font-size: 0.88rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.pm-workflow-content p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.pm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pm-stat-card {
  background: linear-gradient(135deg, rgba(46,110,181,0.08), rgba(26,155,140,0.08));
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}
.pm-stat-card strong {
  display: block; font-size: 1.1rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.pm-stat-card span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.4; display: block; }
.pm-footnote {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.6;
  padding: 0 32px 4px; font-style: italic;
}
@media (max-width: 640px) { .pm-footnote { padding: 0 20px 4px; } }

/* ===== PRODUCT MODAL: IMAGE GALLERY ===== */
.pm-gallery-main {
  width: 100%; height: 260px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(46,110,181,0.10), rgba(26,155,140,0.14));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  margin-bottom: 10px;
  border: 1px dashed rgba(46,110,181,0.3);
}
.pm-gallery-main .pmg-icon { font-size: 72px; opacity: 0.85; }
.pmg-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.7);
  padding: 4px 10px; border-radius: 20px;
}
.dark-mode .pmg-badge { background: rgba(15,23,42,0.6); }
.pm-gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pmg-thumb {
  width: 64px; height: 64px; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, rgba(46,110,181,0.08), rgba(26,155,140,0.1));
  border: 2px solid transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.75;
}
.pmg-thumb:hover { opacity: 1; }
.pmg-thumb.active { border-color: var(--teal); opacity: 1; }

@media (max-width: 640px) {
  .pm-gallery-main { height: 200px; }
  .pm-gallery-main .pmg-icon { font-size: 56px; }
}
