/* ═══════════════════════════════════════
   Epitheal — custom stylesheet
   Loaded after Bootstrap & Wix CSS
═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }

:root {
  --blue:  #1a1ab4;
  --pink:  #fe3595;
  --dark:  #1a1a2e;
  --grey:  #555;
  --light: #f8f9fc;
}

/* ── NAVBAR ──────────────────────────── */
.navbar-brand img { height: 36px; }
.nav-link { color: var(--blue) !important; font-weight: 500; }
.nav-link:hover { color: var(--pink) !important; }

/* ── HERO ────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--grey);
  margin-bottom: 0;
}

.dot-pink { color: var(--pink); }

/* ── BUTTONS ─────────────────────────── */
.btn-epitheal {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  border-radius: 4px;
}
.btn-epitheal:hover { background: #1414a0; color: #fff; border-color: #1414a0; }

.btn-epitheal-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  border-radius: 4px;
}
.btn-epitheal-outline:hover { background: var(--blue); color: #fff; }

/* ── SHARED ──────────────────────────── */
.section-heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--grey);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── ABOUT HERO ──────────────────────── */
.about-hero {
  background: linear-gradient(135deg, #e8ecf8 0%, #f5f0fa 100%);
  padding: 5rem 0;
}
.about-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
}
.about-hero-sub {
  font-size: 1.05rem;
  color: var(--grey);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ── VALUES ──────────────────────────── */
.values-section { background: var(--light); }

.value-card {
  background: #fff;
  border-radius: 6px;
  padding: 1.75rem;
  height: 100%;
  border-top: 3px solid var(--blue);
}
.value-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.value-body {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.7;
  margin: 0;
}

/* ── FOOTER ──────────────────────────── */
.footer-section { background: var(--dark); color: #fff; }
.footer-heading { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 1.25rem; }
.footer-sub-heading { font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }
.footer-address { font-style: normal; color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.7; }
.footer-email { color: rgba(255,255,255,0.75); font-size: 0.9rem; text-decoration: none; }
.footer-email:hover { color: var(--pink); }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: #fff; }
.footer-divider { border-color: rgba(255,255,255,0.15); margin: 2rem 0 1rem; }
.footer-copy { font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ── SCIENCE ─────────────────────────── */
.science-section {
  background:
    linear-gradient(rgba(30, 20, 100, 0.82), rgba(30, 20, 100, 0.82)),
    url('https://static.wixstatic.com/media/11062b_3efc9e2e035e4b0bb98d4cb7d6f73faa~mv2.jpg') center/cover no-repeat;
  color: #fff;
}

.science-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.science-body {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.science-ingredient-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.science-ingredient-body {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.btn-science-outline {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  border-radius: 4px;
}
.btn-science-outline:hover { background: #fff; color: var(--blue); }

/* ── BLOG ────────────────────────────── */
.blog-section { background: #fff; }

.blog-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--blue);
}

.blog-list { display: flex; flex-direction: column; gap: 1rem; }

.blog-card {
  display: flex;
  gap: 0;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.blog-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.blog-thumb {
  width: 280px;
  min-width: 280px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.4rem;
}

.blog-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 600px) {
  .blog-card { flex-direction: column; }
  .blog-thumb { width: 100%; min-width: unset; height: 200px; }
}

/* ── TESTIMONIAL ─────────────────────── */
.testimonial-section {
  background: linear-gradient(to right, #3b1fa8, #c8179e);
}

.testimonial-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
}

.testimonial-quote-mark {
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(255,255,255,0.5);
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
}

.testimonial-quote {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: #fff;
  font-weight: 400;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
}

.testimonial-cite {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  font-style: normal;
}

/* ── TEAM ────────────────────────────── */
.team-section { background: #fff; }

.team-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--blue);
}

.team-sub {
  font-size: 0.95rem;
  color: var(--grey);
  margin-bottom: 0;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin-bottom: 1.25rem;
  filter: grayscale(100%) sepia(30%) hue-rotate(190deg) saturate(300%) brightness(0.9);
}

.team-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* ── USER STORIES ────────────────────── */
.testimonial-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-left: 4px solid var(--blue);
  border-radius: 6px;
  padding: 2rem;
}
.story-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  filter: grayscale(30%);
}
.story-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.2rem;
}
.story-role {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 0;
}
.story-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #222;
  border: none;
  padding: 0;
  margin: 0;
  line-height: 1.7;
}

/* ── POST PAGE ───────────────────────── */
.post-hero {
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
}
.post-hero-overlay {
  background: linear-gradient(to top, rgba(10,10,40,0.88) 0%, rgba(10,10,40,0.35) 60%, transparent 100%);
  width: 100%;
  padding: 3rem 1.5rem 2.5rem;
}
.post-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.post-hero-meta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.post-content {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
}
.post-content p {
  margin-bottom: 1.25rem;
}
.post-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  margin: 2rem 0 0.75rem;
}
.post-back {
  font-size: 0.9rem;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 2rem;
}
.post-back:hover { color: var(--pink); }

/* ── NEW ERA ─────────────────────────── */
.new-era-section { background: #fff; }

.new-era-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.new-era-intro {
  font-size: 0.95rem;
  color: #111;
  margin-bottom: 1rem;
}

.new-era-body {
  font-size: 0.95rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.new-era-img {
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

