/* ============================================================
   DESIGN TOKENS — LIGHT MODERN PHARMA PALETTE
   ============================================================ */
:root {
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --bg-page:     #F0F4F8;
  --bg-card:     #FFFFFF;
  --bg-section:  #EEF3F9;
  --blue-50:     #EBF4FF;
  --blue-100:    #DBEAFE;
  --blue-200:    #BFDBFE;
  --blue-500:    #3B82F6;
  --blue-600:    #2563EB;
  --blue-700:    #1D4ED8;
  --blue-900:    #1E3A5F;
  --teal-400:    #2DD4BF;
  --teal-500:    #14B8A6;
  --teal-600:    #0D9488;
  --slate-400:   #94A3B8;
  --slate-500:   #64748B;
  --slate-600:   #475569;
  --slate-700:   #334155;
  --slate-800:   #1E293B;
  --slate-900:   #0F172A;
  --accent-gold: #F59E0B;
  --shadow-sm:   0 1px 3px rgba(30, 58, 95, 0.08);
  --shadow-md:   0 4px 16px rgba(30, 58, 95, 0.12);
  --shadow-lg:   0 12px 40px rgba(30, 58, 95, 0.16);
  --shadow-xl:   0 24px 64px rgba(30, 58, 95, 0.20);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --transition:  all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; background: var(--bg-page); color: var(--slate-700); line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--blue-200); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }

/* PROGRESS BAR */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 2000;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  border-radius: 0 3px 3px 0; transition: width 0.1s linear;
}

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 66px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(59,130,246,0.12);
  box-shadow: 0 2px 20px rgba(30,58,95,0.08);
}
.navbar-brand { display: flex; align-items: center; gap: 14px; }
.nav-logo {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-svg { width: 22px; height: 22px; fill: white; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-title { font-family: 'Outfit', sans-serif; font-size: 14.5px; font-weight: 800; color: var(--slate-900); letter-spacing: 0.04em; text-transform: uppercase; }
.nav-subtitle { font-size: 10px; font-weight: 600; color: var(--slate-400); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: 13px; font-weight: 600; color: var(--slate-600); padding: 7px 14px; border-radius: 9px; transition: var(--transition); }
.nav-link:hover { color: var(--blue-600); background: var(--blue-50); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: white !important; padding: 9px 20px; border-radius: 11px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.03em;
  box-shadow: 0 2px 14px rgba(37,99,235,0.35); transition: var(--transition);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 22px rgba(37,99,235,0.45); }

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 130px 2rem 90px; overflow: hidden;
  background: linear-gradient(145deg, #EBF4FF 0%, #F0F9FF 35%, #E8F5F0 70%, #EEF3F9 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(59,130,246,0.10) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(20,184,166,0.10) 0%, transparent 50%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.45;
  background-image: radial-gradient(circle, rgba(59,130,246,0.14) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-content { position: relative; z-index: 2; max-width: 920px; text-align: center; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,0.88); border: 1px solid rgba(59,130,246,0.22);
  border-radius: 50px; padding: 7px 20px;
  font-size: 10.5px; font-weight: 700; color: var(--blue-600);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 30px; box-shadow: 0 2px 14px rgba(59,130,246,0.12);
  animation: fadeSlideDown 0.8s ease both;
}
.eyebrow-dot {
  width: 7px; height: 7px; background: var(--teal-500); border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900; color: var(--slate-900);
  line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 22px;
  animation: fadeSlideUp 0.9s ease 0.1s both;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--teal-500) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.18rem); color: var(--slate-500);
  max-width: 660px; margin: 0 auto 42px; line-height: 1.72;
  animation: fadeSlideUp 0.9s ease 0.2s both;
}

.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: 50px;
  animation: fadeSlideUp 0.9s ease 0.3s both;
}
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: white; border: 1px solid rgba(59,130,246,0.16);
  padding: 7px 15px; border-radius: 50px;
  font-size: 12px; font-weight: 600; color: var(--slate-600);
  box-shadow: var(--shadow-sm);
}

.hero-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; animation: fadeSlideUp 0.9s ease 0.4s both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-700));
  color: white; padding: 15px 34px; border-radius: 15px;
  font-size: 14.5px; font-weight: 700; letter-spacing: 0.02em;
  box-shadow: 0 4px 22px rgba(37,99,235,0.38); transition: var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(37,99,235,0.48); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  background: white; color: var(--slate-700); padding: 15px 30px; border-radius: 15px;
  font-size: 14.5px; font-weight: 600; border: 1.5px solid rgba(59,130,246,0.22);
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.btn-secondary:hover { transform: translateY(-2px); border-color: var(--blue-500); box-shadow: var(--shadow-md); }

.hero-image-strip {
  position: relative; z-index: 2; width: 100%; max-width: 1340px;
  margin: 64px auto 0;
  animation: fadeSlideUp 1s ease 0.5s both;
}

/* STATS STRIP */
.stats-strip { background: white; padding: 52px 2rem; border-bottom: 1px solid rgba(59,130,246,0.08); }
.stats-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.stat-card { text-align: center; padding: 26px 16px; border-radius: var(--radius-md); background: var(--bg-page); border: 1px solid rgba(59,130,246,0.08); transition: var(--transition); }
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.22); }
.stat-icon { font-size: 28px; margin-bottom: 12px; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; color: var(--blue-700); line-height: 1; margin-bottom: 7px; letter-spacing: -0.02em; }
.stat-label { font-size: 11px; font-weight: 700; color: var(--slate-500); letter-spacing: 0.06em; text-transform: uppercase; }

/* SECTIONS */
.section { padding: 92px 2rem; }
.section-alt { background: white; }
.section-teal { background: linear-gradient(135deg, #EBF4FF 0%, #E0F7F4 100%); }
.container { max-width: 1300px; margin: 0 auto; }

.section-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; color: var(--teal-600);
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px;
}
.section-label::before { content: ''; display: inline-block; width: 22px; height: 2px; background: var(--teal-500); border-radius: 1px; }
.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 800; color: var(--slate-900); line-height: 1.16; letter-spacing: -0.025em; margin-bottom: 16px; }
.section-desc { font-size: 1.06rem; color: var(--slate-500); max-width: 620px; line-height: 1.76; }
.section-head { margin-bottom: 58px; }
.section-head.center { text-align: center; }
.section-head.center .section-label { justify-content: center; }
.section-head.center .section-desc { margin: 0 auto; }

/* GALLERY GRID */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(480px, 1fr)); gap: 26px; }
.gallery-grid.single { grid-template-columns: 1fr; }
.gallery-grid.two-col { grid-template-columns: repeat(2, 1fr); }

.gallery-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: white; box-shadow: var(--shadow-md); cursor: zoom-in;
  transition: var(--transition); border: 1px solid rgba(59,130,246,0.08);
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.gallery-card .img-wrap { position: relative; overflow: hidden; }
.gallery-card img { width: 100%; display: block; transition: transform 0.55s ease; object-fit: cover; }
.gallery-card:hover img { transform: scale(1.03); }

.zoom-badge {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-radius: 9px; padding: 6px 13px;
  font-size: 11.5px; font-weight: 700; color: var(--blue-600);
  display: flex; align-items: center; gap: 6px;
  opacity: 0; transform: scale(0.85); transition: var(--transition);
  border: 1px solid rgba(59,130,246,0.2);
}
.gallery-card:hover .zoom-badge { opacity: 1; transform: scale(1); }

.board-num {
  position: absolute; bottom: 14px; left: 14px;
  background: linear-gradient(135deg, var(--blue-600), var(--teal-500));
  color: white; border-radius: 9px; padding: 5px 14px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.07em;
}

.card-caption { padding: 22px 26px 24px; }
.card-caption h3 { font-family: 'Outfit', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--slate-800); line-height: 1.4; margin-bottom: 8px; }
.card-caption p { font-size: 13px; color: var(--slate-500); line-height: 1.65; }

/* LIGHTBOX */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,20,40,0.96); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.lightbox.active { opacity: 1; visibility: visible; }
.lb-content { position: relative; max-width: 94vw; max-height: 94vh; display: flex; flex-direction: column; align-items: center; }
.lb-img-wrap { border-radius: var(--radius-lg); overflow: hidden; max-height: 82vh; box-shadow: 0 32px 80px rgba(0,0,0,0.65); }
.lb-img-wrap img { max-width: 90vw; max-height: 80vh; width: auto; height: auto; display: block; object-fit: contain; }
.lb-caption { margin-top: 18px; text-align: center; color: rgba(255,255,255,0.8); font-size: 13.5px; }
.lb-caption strong { display: block; font-size: 16px; font-weight: 700; color: white; margin-bottom: 5px; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.10); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14); color: white;
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 24px; transition: var(--transition);
}
.lb-nav:hover { background: rgba(255,255,255,0.22); transform: translateY(-50%) scale(1.1); }
.lb-prev { left: -72px; }
.lb-next { right: -72px; }
.lb-close {
  position: absolute; top: -58px; right: 0;
  background: rgba(255,255,255,0.10); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.14); color: white;
  width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 20px; transition: var(--transition);
}
.lb-close:hover { background: rgba(244,63,94,0.4); border-color: rgba(244,63,94,0.5); }
.lb-counter {
  position: absolute; top: -58px; left: 0;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7);
  padding: 9px 18px; border-radius: 11px; font-size: 12px; font-weight: 600;
}

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.service-card {
  background: white; border-radius: var(--radius-lg); padding: 34px 30px;
  border: 1px solid rgba(59,130,246,0.1); box-shadow: var(--shadow-sm);
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(59,130,246,0.22); }
.service-icon { width: 54px; height: 54px; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 22px; }
.service-card h3 { font-family: 'Outfit', sans-serif; font-size: 1.08rem; font-weight: 700; color: var(--slate-800); margin-bottom: 12px; }
.service-card p { font-size: 13.5px; color: var(--slate-500); line-height: 1.7; }
.service-list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--slate-600); list-style: none; }
.service-list li::before { content: '✓'; color: var(--teal-500); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* TECH GRID */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 16px; }
.tech-card { background: white; border: 1px solid rgba(59,130,246,0.1); border-radius: var(--radius-md); padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); }
.tech-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.28); }
.tech-icon { font-size: 28px; margin-bottom: 12px; }
.tech-name { font-size: 12.5px; font-weight: 700; color: var(--slate-700); line-height: 1.35; }
.tech-role { font-size: 10.5px; color: var(--slate-400); margin-top: 5px; }

/* TIMELINE */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 28px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--blue-200), var(--teal-200)); }
.timeline-item { display: flex; gap: 26px; margin-bottom: 38px; position: relative; }
.tl-dot { width: 56px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }
.tl-circle { width: 56px; height: 56px; background: white; border: 2.5px solid var(--blue-200); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.tl-body { flex: 1; background: white; border-radius: var(--radius-md); padding: 24px 26px; border: 1px solid rgba(59,130,246,0.10); box-shadow: var(--shadow-sm); }
.tl-week { font-size: 10.5px; font-weight: 700; color: var(--blue-600); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 9px; }
.tl-title { font-family: 'Outfit', sans-serif; font-size: 1.02rem; font-weight: 700; color: var(--slate-800); margin-bottom: 9px; }
.tl-desc { font-size: 13.5px; color: var(--slate-500); line-height: 1.68; }

/* HIGHLIGHTS */
.highlights-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.highlight-item { display: flex; align-items: flex-start; gap: 15px; padding: 20px 22px; background: white; border-radius: var(--radius-md); border: 1px solid rgba(59,130,246,0.1); box-shadow: var(--shadow-sm); transition: var(--transition); }
.highlight-item:hover { box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.22); }
.hl-icon { width: 42px; height: 42px; border-radius: 11px; background: linear-gradient(135deg, var(--blue-50), var(--blue-100)); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hl-text h4 { font-weight: 700; color: var(--slate-800); font-size: 13.5px; margin-bottom: 4px; }
.hl-text p { font-size: 12px; color: var(--slate-500); line-height: 1.55; }

/* CONTACT */
.contact-section {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E3A5F 50%, #0A2540 100%);
  color: white; padding: 108px 2rem; position: relative; overflow: hidden;
}
.contact-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}
.contact-content { position: relative; max-width: 820px; margin: 0 auto; text-align: center; }
.contact-content .section-label { color: var(--teal-400); justify-content: center; }
.contact-content .section-label::before { background: var(--teal-400); }
.contact-title { font-family: 'Outfit', sans-serif; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 900; color: white; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 20px; }
.contact-sub { font-size: 1.08rem; color: rgba(255,255,255,0.7); max-width: 580px; margin: 0 auto 52px; line-height: 1.74; }

.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 52px; }
.contact-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 26px 22px; transition: var(--transition); }
.contact-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }
.c-icon { font-size: 28px; margin-bottom: 14px; }
.c-label { font-size: 10.5px; font-weight: 700; color: rgba(255,255,255,0.45); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 7px; }
.c-val { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.9); line-height: 1.5; }

.contact-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white { display: inline-flex; align-items: center; gap: 10px; background: white; color: var(--blue-700); padding: 16px 34px; border-radius: 15px; font-size: 14.5px; font-weight: 700; box-shadow: 0 4px 26px rgba(0,0,0,0.28); transition: var(--transition); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 44px rgba(0,0,0,0.38); }
.btn-ghost { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.10); backdrop-filter: blur(8px); color: rgba(255,255,255,0.85); padding: 16px 30px; border-radius: 15px; font-size: 14.5px; font-weight: 600; border: 1.5px solid rgba(255,255,255,0.2); transition: var(--transition); }
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.38); transform: translateY(-2px); }

/* FOOTER */
footer { background: var(--slate-900); color: rgba(255,255,255,0.48); text-align: center; padding: 30px 2rem; font-size: 13px; line-height: 1.7; }
footer strong { color: rgba(255,255,255,0.78); }

/* ANIMATIONS */
@keyframes fadeSlideDown { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.85); } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.72s ease, transform 0.72s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid.two-col { grid-template-columns: 1fr; }
  .lb-prev { left: -14px; }
  .lb-next { right: -14px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 1.2rem; }
  .navbar { padding: 0 1.2rem; }
  .hero { padding: 110px 1.2rem 70px; }
}
