@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Roboto+Condensed:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Mistral';
  src: url('/fonts/Mistral.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --enpho-blue: #00ADEF;
  --enpho-blue-dark: #008bc0;
  --enpho-blue-soft: #e7f8ff;
  --accent-green: #32bd78;
  --accent-green-dark: #229d5e;
  --ink: #1f2933;
  --muted: #667085;
  --paper: #f7fafc;
  --impact: #eef8fc;
  --shadow-soft: 0 20px 55px rgba(16, 39, 55, 0.12);
  --shadow-hover: 0 26px 70px rgba(0, 173, 239, 0.22);
  --heading-font: 'Roboto Condensed', sans-serif;
  --body-font: 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-title,
.service-logo {
  font-family: var(--heading-font);
}

/* =========================================
   BUTTON
========================================= */
.enpho-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.7rem 1.5rem;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--enpho-blue, #00ADEF),
        var(--accent-green, #32bd78)
    );
    font-family: var(--body-font, "Roboto", sans-serif);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 173, 239, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Button hover */
.enpho-button:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(0, 173, 239, 0.28);
}

/* Button icon */
.enpho-button i {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}

.enpho-button:hover i {
    transform: translateX(3px);
}

/* =========================================
   OUTLINE BUTTON
========================================= */
.enpho-button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 46px;
    padding: 0.65rem 1.45rem;
    border: 1px solid var(--enpho-blue, #00ADEF);
    border-radius: 999px;
    color: var(--enpho-blue-dark, #007fae);
    background: #fff;
    font-family: var(--body-font, "Roboto", sans-serif);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
}

.enpho-button-outline:hover {
    color: #fff;
    border-color: var(--enpho-blue, #00ADEF);
    background: var(--enpho-blue, #00ADEF);
    transform: translateY(-3px);
}

/* =========================================
   BUTTON SIZES
========================================= */
.enpho-button-sm {
    min-height: 40px;
    padding: 0.55rem 1.2rem;
    font-size: 0.75rem;
}

.enpho-button-lg {
    min-height: 52px;
    padding: 0.8rem 1.7rem;
    font-size: 0.88rem;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.navbar {
  padding: 1.35rem 0 !important;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.02));
  border-bottom: 0;
  backdrop-filter: none;
  transition: background 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 16px 45px rgba(14, 35, 48, 0.14);
}

.site-header.is-scrolled .navbar {
  background: rgba(0, 173, 239, 0.4);
  padding: 0.85rem 0 !important;
  box-shadow: 0 18px 40px rgba(0, 60, 90, 0.2);
}

img.brand-logo,
.brand-logo img {
  width: 150px;
  height: 66px;
  object-fit: cover;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
  mix-blend-mode: normal;
}

.brand-title {
  display: none;
  color: #fff;
  font-size: clamp(1.35rem, 2.35vw, 2.85rem);
  font-weight: 600;
  line-height: 0.95;
  text-transform: uppercase;
  white-space: normal;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.navbar-dark .navbar-nav .nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--heading-font);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  bottom: 0.25rem;
  left: 0.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--enpho-blue), var(--accent-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar .dropdown-menu {
  min-width: 230px;
  padding: 0.55rem;
  border: 1px solid rgba(0, 173, 239, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.navbar .dropdown-item {
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  color: var(--ink);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus,
.navbar .dropdown-item.active {
  color: #fff;
  background: var(--enpho-blue);
  transform: translateX(3px);
}

.navbar .dropdown-toggle::after {
  margin-left: 0.45rem;
  vertical-align: 0.12em;
}

.navbar .dropdown-submenu {
  position: relative;
}

.navbar .dropdown-submenu > .dropdown-menu {
  top: 0;
  left: calc(100% + 0.45rem);
  margin-top: -0.55rem;
}

.navbar .dropdown-submenu > .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 992px) {
  .site-header .navbar .container {
    flex-wrap: nowrap;
    align-items: center;
  }

  .site-header .navbar-brand {
    width: auto;
    margin-right: 0;
    justify-content: flex-start;
  }

  .site-header .navbar-collapse {
    flex-basis: auto;
    flex-grow: 1;
  }

  .site-header .navbar-nav {
    width: 100%;
    justify-content: flex-end;
    gap: clamp(1.15rem, 2.4vw, 3.2rem) !important;
  }

  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
    margin-top: 0;
  }

  .navbar .dropdown-submenu:hover > .dropdown-menu,
  .navbar .dropdown-submenu:focus-within > .dropdown-menu {
    display: block;
  }
}

.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: #081b26;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 48%, rgba(0, 173, 239, 0.16), transparent 24rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.48));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin-inline: auto;
  animation: liftIn 0.8s ease 0.18s both;
}

.hero-content::before {
  content: none;
}

.hero-content h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-family: 'Mistral', cursive;
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 600;
  line-height: 0.9;
  text-transform: none;
  text-shadow: 0 20px 54px rgba(0, 0, 0, 0.44);
}

.hero-content p {
  max-width: 820px;
  margin: 0.75rem auto 0;
  font-family: var(--body-font);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.08;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.announcements-btn {
  position: absolute;
  right: min(7vw, 7rem);
  bottom: 5.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 50px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue), var(--accent-green));
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.announcements-btn:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue-dark), var(--accent-green-dark));
  box-shadow: 0 18px 42px rgba(0, 173, 239, 0.35);
  transform: translateY(-4px);
}

.scroll-cue {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  transform: translateX(-50%);
  animation: bounceCue 1.8s ease-in-out infinite;
}

.scroll-cue:hover {
  color: #fff;
  background: var(--enpho-blue);
}

.news-events-section,
.services-section,
.publications-section,
.partners-section {
  background: var(--paper);
}

.news-events-section {
  padding: 3.5rem 0 2.5rem;
}

.content-panel {
  padding: 1.7rem clamp(1rem, 3vw, 2.5rem) 2.6rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 173, 239, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

section h2,
.content-panel h2 {
  position: relative;
  margin: 0 0 2.4rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

section h2::after,
.content-panel h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 0.8rem auto 0;
  border-radius: 99px;
  background: var(--enpho-blue);
}

.events-panel h2 {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding-bottom: 0.5rem;
  border-bottom: 0;
}

.story-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 505px;
  overflow: hidden;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 16px 36px rgba(16, 39, 55, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-size 0.25s ease;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.story-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.7));
}

.story-card div {
  position: relative;
  z-index: 1;
  padding: 1.4rem;
  color: #fff;
  font-family: var(--body-font);
}

.story-card span {
  display: block;
  font-size: 0.9rem;
  line-height: 1.1;
}

.story-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
}

.btn-primary {
  --bs-btn-bg: var(--enpho-blue);
  --bs-btn-border-color: var(--enpho-blue);
  --bs-btn-hover-bg: var(--enpho-blue-dark);
  --bs-btn-hover-border-color: var(--enpho-blue-dark);
  --bs-btn-active-bg: var(--enpho-blue-dark);
  --bs-btn-active-border-color: var(--enpho-blue-dark);
  font-family: var(--body-font);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0, 173, 239, 0.24);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 173, 239, 0.34);
}

.event-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  margin-bottom: 1.9rem;
  padding: 0.7rem;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.event-item:hover {
  background: var(--enpho-blue-soft);
  transform: translateX(4px);
}

.event-date {
  display: flex;
  min-height: 128px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue), #4cc6f4);
  text-transform: uppercase;
  box-shadow: 0 14px 28px rgba(0, 173, 239, 0.28);
}

.event-date span {
  font-size: 0.85rem;
  font-weight: 700;
}

.event-date strong {
  font-size: 2.6rem;
  line-height: 1;
}

.event-item h3 {
  margin: 0 0 0.6rem;
  color: #737373;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
}

.event-item p {
  margin: 0.12rem 0;
  color: #666;
  font-size: 0.78rem;
}

.event-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  color: #fff;
  background: var(--accent-green);
  font-size: 0.72rem;
  font-weight: 700;
}

.impact-section {
  background: #fff;
}

.impact-section > h2 {
  margin: 0;
  padding: 2.2rem 0 1.8rem;
}

.impact-band {
  padding: 2.5rem 0;
  background:
    linear-gradient(135deg, rgba(0, 173, 239, 0.14), rgba(50, 189, 120, 0.1)),
    var(--impact);
}

.impact-count {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(1rem, 6vw, 5rem);
}

.impact-count h3 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  text-transform: uppercase;
}

.impact-count p {
  margin: 0;
  color: var(--enpho-blue-dark);
  font-family: var(--body-font);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.9;
}

.impact-video {
  border-left: 2px solid rgba(0, 173, 239, 0.34);
  text-align: center;
}

.impact-video h3 {
  margin-bottom: 1.2rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}

.video-thumb {
  position: relative;
  width: min(100%, 468px);
  margin-inline: auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.video-thumb:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.video-thumb img,
.publication-img,
.partners-img {
  display: block;
  width: 100%;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 62px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: #ff0000;
  font-size: 2rem;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.video-thumb:hover .play-button {
  transform: translate(-50%, -50%) scale(1.08);
}

.services-section {
  padding: 3.6rem 0 4.6rem;
  border-bottom: 7px solid #fff;
}

.service-card {
  display: flex;
  min-height: 585px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.4rem 1.25rem;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(145deg, var(--enpho-blue), var(--enpho-blue-dark));
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 173, 239, 0.24);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.home .service-card {
  justify-content: normal;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-logo {
  display: grid;
  width: 90px;
  height: 90px;
  margin-bottom: 3.1rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  line-height: 1;
}

.service-card h3 {
  margin-bottom: 1.7rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.05;
}

.home .service-card h3 {
  min-height: 95px;
}

.service-card p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-family: var(--body-font);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.65;
}

.publications-section {
  padding: 4rem 0 3.5rem;
}

.publication-img {
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.publication-img:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.partners-section {
  padding: 3rem 0 4.5rem;
}

.partners-img {
  max-width: 1200px;
  margin: 0 auto;
  object-fit: contain;
  padding: 1.5rem;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.site-footer {
  padding: 2.6rem 0 0.75rem;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(50, 189, 120, 0.26), transparent 38%),
    linear-gradient(160deg, var(--enpho-blue), var(--enpho-blue-dark));
  font-family: var(--body-font);
}

.footer-logo {
  width: 125px;
  height: 54px;
  object-fit: cover;
  mix-blend-mode: screen;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer a {
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.25;
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.65rem;
}

.qr-box {
  width: 55px;
  height: 55px;
  margin: 0.75rem 0;
}

.footer-form {
  display: grid;
  gap: 0.45rem;
}

.footer-form .form-control {
  height: 36px;
  border: 0;
  border-radius: 999px;
  text-align: center;
  font-family: var(--body-font);
}

.footer-form .btn {
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--enpho-blue-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.socials a {
  margin: 0;
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.socials a:hover {
  color: #fff;
  transform: translateY(-3px);
}

.copyright {
  margin-top: 2rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.06) translateY(-10px);
  }
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceCue {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

@media (max-width: 1199.98px) {
  .brand-title {
    max-width: 620px;
  }

  .story-card {
    min-height: 420px;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    align-items: center;
    padding-top: 9rem;
  }

  .navbar-collapse {
    margin-top: 0.8rem;
    padding: 1rem;
    background: rgba(0, 173, 239, 0.94);
    border-radius: 8px;
  }

  .navbar .dropdown-menu {
    margin: 0.25rem 0 0.7rem;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .navbar .dropdown-submenu > .dropdown-menu {
    display: block;
    position: static;
    margin: 0.25rem 0 0.35rem 1rem;
    padding-left: 0.45rem;
    border-left: 2px solid rgba(255, 255, 255, 0.28);
  }

  .navbar .dropdown-item {
    color: #fff;
  }

  .navbar .dropdown-item:hover,
  .navbar .dropdown-item:focus,
  .navbar .dropdown-item.active {
    color: var(--enpho-blue-dark);
    background: #fff;
  }

  .announcements-btn {
    right: 2rem;
    bottom: 2rem;
  }

  .impact-video {
    border-left: 0;
    border-top: 2px solid rgba(0, 173, 239, 0.34);
    padding-top: 2rem;
  }

  .impact-count {
    align-items: center;
    padding-left: 0;
    text-align: center;
  }

  .publication-img {
    height: 390px;
  }
}

@media (max-width: 767.98px) {
  .brand-logo {
    width: 86px;
    height: 38px;
  }

  .brand-title {
    max-width: 210px;
    font-size: 0.9rem;
    line-height: 1;
  }

  .hero-section {
    min-height: 100svh;
    padding-inline: 0.5rem;
  }

  .hero-content p {
    line-height: 1.2;
  }

  .announcements-btn {
    width: 88px;
    height: 66px;
    font-size: 0.78rem;
  }

  .content-panel {
    padding-inline: 1rem;
  }

  .story-card {
    min-height: 360px;
    border-radius: 8px;
  }

  .event-item {
    grid-template-columns: 78px 1fr;
  }

  .event-date {
    min-height: 100px;
  }

  .event-date strong {
    font-size: 2rem;
  }

  .service-card {
    min-height: 420px;
  }

  .service-logo {
    margin-bottom: 2rem;
  }

  .publication-img {
    height: 310px;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    max-width: 250px;
  }

  .hero-content h1 {
    font-size: 2.65rem;
  }

  .announcements-btn {
    left: 50%;
    right: auto;
    bottom: 1.5rem;
    transform: translateX(-50%);
  }

  .announcements-btn:hover {
    transform: translateX(-50%) translateY(-4px);
  }

  .event-item {
    grid-template-columns: 1fr;
  }

  .event-date {
    width: 86px;
    min-height: 82px;
  }

  .publication-img {
    height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Modern homepage polish */
.home-page .navbar {
  background: linear-gradient(180deg, rgba(3, 18, 26, 0.72), rgba(3, 18, 26, 0.08));
}

.home-page .site-header.is-scrolled .navbar {
  background: rgba(0, 130, 180, 0.95);
  backdrop-filter: blur(16px);
}

.home-page .navbar-brand {
  padding: 0.25rem 0.85rem 0.25rem 0;
}

.home-page .navbar-dark .navbar-nav .nav-link {
  font-size: clamp(0.88rem, 0.95vw, 1.05rem);
  font-weight: 800;
}

.home-page .hero-section::before {
  background: url("hero.jpg") center center / cover no-repeat;
  filter: saturate(1.04) contrast(1.04);
}

.home-page .hero-section::after {
  background:
    linear-gradient(90deg, rgba(2, 17, 24, 0.66), rgba(2, 17, 24, 0.22) 45%, rgba(2, 17, 24, 0.5)),
    radial-gradient(circle at 74% 44%, rgba(0, 173, 239, 0.2), transparent 28rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.58));
}

.home-page .hero-content {
  max-width: 900px;
  padding-top: 4rem;
}

.home-page .hero-content h1 {
  font-family: var(--heading-font);
  font-size: clamp(3.4rem, 7vw, 7.6rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.home-page .hero-content h1::after {
  content: "";
  display: block;
  width: min(170px, 36vw);
  height: 4px;
  margin: 1.4rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--enpho-blue), var(--accent-green));
}

.home-page .hero-content p {
  max-width: 760px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  font-weight: 600;
  line-height: 1.45;
}

.home-page .book-services {
  position: absolute;
  right: min(7vw, 7rem);
  bottom: 5.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue), var(--accent-green));
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 20px 44px rgba(0, 173, 239, 0.34);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.home-page .book-services:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue-dark), var(--accent-green-dark));
  box-shadow: 0 26px 58px rgba(0, 173, 239, 0.42);
  transform: translateY(-4px);
}

.home-page .scroll-cue {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.home-page .news-events-section {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(180deg, #fff 0, var(--paper) 100%);
}

.home-page .content-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 173, 239, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  box-shadow: 0 18px 54px rgba(15, 45, 65, 0.1);
}

.home-page .content-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--enpho-blue), var(--accent-green));
}

.home-page section h2,
.home-page .content-panel h2 {
  color: #1b2733;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0;
}

.home-page .story-card {
  min-height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  box-shadow: 0 20px 48px rgba(15, 45, 65, 0.18);
}

.home-page .story-card::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 20%, rgba(0, 0, 0, 0.78)),
    linear-gradient(135deg, rgba(0, 173, 239, 0.18), transparent 55%);
}

.home-page .story-card div {
  padding: 1.6rem;
}

.home-page .story-card span {
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-transform: uppercase;
}

.home-page .story-card h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}

.home-page .event-item {
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.64);
}

.home-page .event-item:hover {
  border-color: rgba(0, 173, 239, 0.16);
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 45, 65, 0.08);
}

.home-page .event-date {
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, var(--enpho-blue), var(--enpho-blue-dark));
}

.home-page .event-item h3 {
  color: #2b3642;
  font-weight: 800;
}

.home-page .event-badge {
  background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
}

.home-page .impact-band {
  background:
    linear-gradient(135deg, rgba(0, 173, 239, 0.12), rgba(50, 189, 120, 0.1)),
    linear-gradient(180deg, #f5fbff, #fff);
}

.home-page .impact-count h3 {
  color: #1b2733;
  font-weight: 800;
}

.home-page .count-number {
  font-weight: 800;
  letter-spacing: 0;
}

.home-page .impact-video {
  border-left-color: rgba(0, 173, 239, 0.22);
}

.home-page .video-thumb {
  border: 8px solid #fff;
}

.home-page .services-section {
  padding: 4.8rem 0 5.3rem;
  background:
    linear-gradient(180deg, #fff 0, #f4fbff 100%);
}

.home-page .service-card {
  min-height: 485px;
  justify-content: flex-start;
  padding: 2.4rem 1.35rem;
  border: 1px solid rgba(0, 173, 239, 0.16);
  color: var(--ink);
  background:
    linear-gradient(180deg, #fff, #f8fdff);
  box-shadow: 0 18px 48px rgba(15, 45, 65, 0.09);
}

.home-page .service-card::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--enpho-blue), var(--accent-green));
}

.home-page .service-card:hover {
  border-color: rgba(0, 173, 239, 0.34);
  background:
    linear-gradient(180deg, #fff, var(--enpho-blue-soft));
}

.home-page .service-logo {
  width: 82px;
  height: 82px;
  margin-bottom: 2rem;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue), var(--accent-green));
  box-shadow: 0 16px 34px rgba(0, 173, 239, 0.26);
  font-size: 2.15rem;
}

.home-page .service-card h3 {
  color: #142331;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 800;
}

.home-page .service-card p {
  max-width: 245px;
  color: #5d6975;
  font-weight: 600;
  line-height: 1.45;
}

.home-page .publications-section {
  padding: 4.8rem 0 4.2rem;
  background: #fff;
}

.home-page .publication-img {
  width: 100%;
  border: 1px solid rgba(0, 173, 239, 0.12);
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 45, 65, 0.12);
}

.home-page .partners-section {
  padding: 4rem 0 5rem;
  background:
    linear-gradient(180deg, var(--paper), #fff);
}

.home-page .partners-img {
  border: 1px solid rgba(0, 173, 239, 0.12);
  box-shadow: 0 20px 52px rgba(15, 45, 65, 0.1);
}

.home-page .site-footer {
  background:
    linear-gradient(135deg, rgba(50, 189, 120, 0.26), transparent 38%),
    linear-gradient(160deg, #00adef, #007fb1);
}

@media (max-width: 991.98px) {
  .home-page .hero-content {
    padding-top: 2rem;
  }

  .home-page .book-services {
    right: 2rem;
    bottom: 5rem;
  }

  .home-page .service-card {
    min-height: 390px;
  }
}

@media (max-width: 767.98px) {
  img.brand-logo,
  .brand-logo img {
    width: 106px;
    height: 48px;
  }

  .home-page .hero-content h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .home-page .book-services {
    width: 112px;
    height: 58px;
    font-size: 0.78rem;
  }
}

@media (max-width: 480px) {
  .home-page .book-services {
    left: 50%;
    right: auto;
    bottom: 4.6rem;
    transform: translateX(-50%);
  }

  .home-page .book-services:hover {
    transform: translateX(-50%) translateY(-4px);
  }
}

.inner-hero {
  position: relative;
  min-height: 560px;
  padding: 9rem 0 5rem;
  overflow: hidden;
  background: #081b26;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hero.jpg") center 24% / cover no-repeat;
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(0, 173, 239, 0.14), transparent 24rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.52));
}

.inner-hero .container {
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  margin: 0;
  font-size: clamp(3.4rem, 5vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: none;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  animation: liftIn 0.8s ease both;
}

.announcement-page {
  padding: 4rem 0 5rem;
  background:
    linear-gradient(180deg, #fff 0, #fff 62%, var(--paper) 100%);
}

.announcement-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.announcement-toolbar h2 {
  margin-bottom: 0;
  text-align: left;
}

.announcement-toolbar h2::after {
  margin-left: 0;
}

.eyebrow {
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.25rem;
  text-transform: uppercase;
}

.announcement-search {
  position: relative;
  width: min(100%, 360px);
}

.announcement-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: var(--enpho-blue);
  transform: translateY(-50%);
}

.announcement-search .form-control {
  height: 46px;
  padding-left: 2.75rem;
  border: 1px solid rgba(0, 173, 239, 0.26);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 39, 55, 0.08);
}

.announcement-search .form-control:focus {
  border-color: var(--enpho-blue);
  box-shadow: 0 0 0 0.25rem rgba(0, 173, 239, 0.16);
}

.announcement-tabs {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 2.6rem;
  padding: 0.6rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.announcement-tabs button {
  min-height: 42px;
  flex: 1 1 auto;
  border: 0;
  border-radius: 999px;
  color: #a1a1aa;
  background: transparent;
  font-family: var(--body-font);
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.announcement-tabs button:hover,
.announcement-tabs button.active {
  color: #fff;
  background: var(--enpho-blue);
  box-shadow: 0 12px 28px rgba(0, 173, 239, 0.24);
}

.announcement-list {
  display: grid;
  gap: 2.35rem;
}

.announcement-card {
  display: grid;
  grid-template-columns: minmax(280px, 510px) 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.2rem);
  padding: 0.9rem;
  border: 1px solid rgba(0, 173, 239, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(16, 39, 55, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.announcement-card:hover {
  border-color: rgba(0, 173, 239, 0.32);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.announcement-card[hidden] {
  display: none;
}

.announcement-media {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 512 / 264;
  background: var(--enpho-blue-soft);
}

.announcement-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.announcement-card:hover .announcement-media img {
  transform: scale(1.05);
}

.announcement-copy {
  padding: 0.8rem 1rem 0.8rem 0;
}

.announcement-copy span {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: #b8b8b8;
  font-family: var(--body-font);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.announcement-copy h3 {
  max-width: 760px;
  margin-bottom: 1rem;
  color: #202020;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.02;
}

.announcement-copy p {
  max-width: 820px;
  margin-bottom: 1.4rem;
  color: #3f3f46;
  font-family: var(--body-font);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.12;
}

.announcement-copy .btn {
  border-radius: 0;
  padding: 0.75rem 1.45rem;
}

.announcement-empty {
  margin: 3rem auto;
  padding: 2.5rem 1rem;
  border: 1px dashed rgba(0, 173, 239, 0.45);
  border-radius: 8px;
  color: var(--enpho-blue-dark);
  background: var(--enpho-blue-soft);
  font-family: var(--body-font);
  font-size: clamp(1.8rem, 4vw, 3rem);
  text-align: center;
  text-transform: uppercase;
}

.announcement-pagination {
  margin: 6rem 0 4.8rem;
}

.announcement-pagination .page-link {
  color: var(--enpho-blue-dark);
  border-color: #d9e7ef;
  font-weight: 700;
}

.announcement-pagination .active .page-link {
  color: #fff;
  background: var(--enpho-blue);
  border-color: var(--enpho-blue);
}

.announcement-note {
  max-width: 1080px;
  margin: 0 auto;
  color: #111;
  font-family: var(--body-font);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.12;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .inner-hero {
    min-height: 460px;
  }

  .announcement-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .announcement-search {
    width: 100%;
  }

  .announcement-tabs {
    align-items: stretch;
    flex-direction: column;
    border-radius: 8px;
  }

  .announcement-card {
    grid-template-columns: 1fr;
  }

  .announcement-copy {
    padding: 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .inner-hero {
    min-height: 380px;
  }

  .announcement-page {
    padding-top: 3rem;
  }

  .announcement-tabs button {
    font-size: 0.82rem;
  }

  .announcement-card {
    padding: 0.65rem;
  }

  .announcement-copy h3 {
    font-size: 1.55rem;
  }

  .announcement-pagination {
    margin: 3.5rem 0;
  }
}

.research-page {
  padding: 2rem 0 5rem;
  background:
    linear-gradient(180deg, #fff 0, #fff 74%, var(--paper) 100%);
}

.research-featured {
  padding: 0 0 4rem;
}

.research-featured h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.featured-publication {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 2rem;
  height: 100%;
  padding: 1.1rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.featured-publication:hover {
  border-color: rgba(0, 173, 239, 0.32);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.featured-publication img {
  width: 100%;
  height: 265px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 39, 55, 0.12);
}

.featured-publication span,
.publication-row-copy span {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #8b949e;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-publication h3 {
  margin-bottom: 0.8rem;
  font-family: var(--body-font);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.12;
}

.featured-publication p {
  margin-bottom: 0.4rem;
  color: #344054;
  font-size: 1rem;
  line-height: 1.45;
}

.featured-publication a {
  color: var(--enpho-blue);
  font-weight: 800;
}

.publication-filter {
  max-width: 1220px;
  margin: 0 auto 6rem;
  padding: 0 0.5rem;
}

.publication-search {
  display: grid;
  grid-template-columns: 1fr 70px;
  gap: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.publication-search .form-control {
  height: 48px;
  border: 0;
  border-bottom: 2px solid rgba(0, 173, 239, 0.46);
  border-radius: 0;
  color: var(--enpho-blue);
  font-size: 1.35rem;
  text-align: center;
}

.publication-search .form-control::placeholder {
  color: var(--enpho-blue);
  opacity: 0.9;
}

.publication-search .form-control:focus {
  border-color: var(--enpho-blue);
  box-shadow: none;
}

.publication-search .btn,
.publication-actions .btn {
  border-radius: 0;
  font-weight: 800;
  text-transform: uppercase;
}

.publication-filter .form-select {
  border-color: #d8dde3;
  border-radius: 0;
  color: #7a7f86;
}

.publication-filter .form-select:focus {
  border-color: var(--enpho-blue);
  box-shadow: 0 0 0 0.2rem rgba(0, 173, 239, 0.13);
}

@media (max-width: 991.98px) {
  .research-featured {
    padding-bottom: 3rem;
  }

  .featured-publication,
  .publication-row {
    grid-template-columns: 1fr;
  }

  .featured-publication img {
    height: auto;
    max-height: 360px;
    object-fit: contain;
    background: var(--paper);
  }

  .publication-filter {
    margin-bottom: 3rem;
  }

  .publication-row > img {
    max-width: 330px;
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .publication-search {
    grid-template-columns: 1fr;
  }

  .publication-search .form-control {
    font-size: 1rem;
  }

  .publication-actions .btn {
    width: 100%;
  }
}

.team-page {
  padding: 5.5rem 0 6rem;
  background:
    linear-gradient(180deg, #fff 0, #fff 62%, var(--paper) 100%);
}

.team-heading {
  margin-bottom: 4rem;
}

.team-heading h2 {
  margin-bottom: 0;
  text-align: left;
}

.team-heading h2::after {
  margin-left: 0;
}

.team-sidebar {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 0.95rem;
  padding: 1.2rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.team-sidebar button {
  position: relative;
  min-height: 50px;
  padding: 0.7rem 1rem 0.7rem 2rem;
  border: 0;
  border-radius: 8px;
  color: #111;
  background: transparent;
  font-family: var(--body-font);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.team-sidebar button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.8rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.team-sidebar button:hover,
.team-sidebar button.active {
  color: #fff;
  background: var(--enpho-blue);
  transform: translateX(4px);
}

.team-search {
  position: relative;
  max-width: 430px;
  margin: 0 0 1.25rem auto;
}

.team-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: var(--enpho-blue);
  transform: translateY(-50%);
}

.team-search .form-control {
  height: 46px;
  padding-left: 2.75rem;
  border: 1px solid rgba(0, 173, 239, 0.26);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 39, 55, 0.08);
}

.team-search .form-control:focus {
  border-color: var(--enpho-blue);
  box-shadow: 0 0 0 0.25rem rgba(0, 173, 239, 0.16);
}

.team-accordion {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.team-accordion .accordion-item {
  border-color: #e2e8f0;
}

.team-accordion .accordion-button {
  gap: 0.65rem;
  color: #3f3f46;
  background: #f1f5f9;
  font-family: var(--body-font);
  font-size: 1.1rem;
  font-weight: 700;
}

.team-accordion .accordion-button::before {
  content: "-";
  color: var(--enpho-blue);
  font-family: var(--body-font);
  font-size: 1.3rem;
  font-weight: 900;
}

.team-accordion .accordion-button.collapsed::before {
  content: "+";
}

.team-accordion .accordion-button:not(.collapsed) {
  color: var(--ink);
  background: var(--enpho-blue-soft);
  box-shadow: inset 0 -1px 0 rgba(0, 173, 239, 0.14);
}

.team-accordion .accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 173, 239, 0.16);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  justify-content: center;
  gap: 2rem;
  padding: 0.7rem;
}

.team-card {
  overflow: hidden;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: 0 15px 34px rgba(16, 39, 55, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.team-card:hover {
  border-color: rgba(0, 173, 239, 0.36);
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}

.team-card[hidden],
.team-group[hidden] {
  display: none;
}

.team-card img {
  width: 100%;
  aspect-ratio: 166 / 200;
  object-fit: cover;
  background: #edf2f7;
}

.team-card-body {
  padding: 0.9rem 0.7rem 1rem;
}

.team-card-body span {
  display: block;
  min-height: 2.3em;
  color: #356dff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.15;
}

.team-card-body h4 {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 800;
}

.team-card-body a {
  color: #222;
  font-size: 0.72rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.team-placeholder,
.team-empty {
  padding: 2rem 1rem;
  border: 1px dashed rgba(0, 173, 239, 0.38);
  border-radius: 8px;
  color: var(--enpho-blue-dark);
  background: var(--enpho-blue-soft);
  font-family: var(--body-font);
  font-size: 1.25rem;
  text-align: center;
}

.team-empty {
  margin-top: 1.25rem;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .team-page {
    padding-top: 4rem;
  }

  .team-heading {
    margin-bottom: 2.5rem;
  }

  .team-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-search {
    max-width: none;
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  .team-sidebar {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: minmax(0, 240px);
  }
}

.lab-products-hero::before {
  background: url("lab-products-hero.jpg") center center / cover no-repeat;
}

.lab-products-hero .container {
  display: grid;
  justify-items: center;
  gap: 2.4rem;
}

.lab-hero-cta {
  min-width: min(100%, 430px);
  padding: 0.8rem 2rem;
  border-radius: 999px;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.lab-products-page {
  padding: 4.2rem 0 3rem;
  background: #fff;
}

.lab-section-heading {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.lab-section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.lab-product-controls {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  gap: 1rem;
  align-items: center;
}

.lab-product-search {
  position: relative;
}

.lab-product-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: var(--enpho-blue);
  transform: translateY(-50%);
}

.lab-product-search .form-control {
  height: 46px;
  padding-left: 2.75rem;
  border: 1px solid rgba(0, 173, 239, 0.26);
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(16, 39, 55, 0.08);
}

.lab-product-search .form-control:focus {
  border-color: var(--enpho-blue);
  box-shadow: 0 0 0 0.25rem rgba(0, 173, 239, 0.16);
}

.lab-product-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.lab-product-filter button {
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(0, 173, 239, 0.2);
  border-radius: 999px;
  color: var(--enpho-blue-dark);
  background: #fff;
  font-family: var(--body-font);
  font-weight: 700;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lab-product-filter button:hover,
.lab-product-filter button.active {
  color: #fff;
  background: var(--enpho-blue);
  box-shadow: 0 12px 28px rgba(0, 173, 239, 0.24);
  transform: translateY(-2px);
}

.lab-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.6rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4.5rem);
}

.lab-product-card {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 1.4rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(0, 173, 239, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 44px rgba(16, 39, 55, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.lab-product-card:hover {
  border-color: rgba(0, 173, 239, 0.3);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.lab-product-card[hidden] {
  display: none;
}

.lab-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  background: #ddd;
}

.lab-product-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.4rem, 2.6vw, 2.05rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.lab-product-card p {
  margin-bottom: 1rem;
  color: #242424;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
}

.lab-product-card .btn {
  min-width: 145px;
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.lab-empty {
  margin: 3rem auto 0;
  padding: 2.25rem 1rem;
  border: 1px dashed rgba(0, 173, 239, 0.45);
  border-radius: 8px;
  color: var(--enpho-blue-dark);
  background: var(--enpho-blue-soft);
  font-family: var(--body-font);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  text-align: center;
  text-transform: uppercase;
}

.lab-stats-section {
  padding: 3rem 0 3.4rem;
  background: #fff;
}

.lab-stats-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #f5fbff;
}

.lab-stat-card {
  display: grid;
  min-height: 205px;
  place-items: center;
  padding: 1.5rem;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.lab-stat-card span {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-green);
  background: rgba(50, 189, 120, 0.12);
  font-size: 1.3rem;
}

.lab-stat-card:nth-child(2) span {
  color: var(--enpho-blue);
  background: rgba(0, 173, 239, 0.12);
}

.lab-stat-card:nth-child(3) span {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
}

.lab-stat-card strong {
  color: var(--enpho-blue);
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
}

.lab-stat-card strong::after {
  content: "+";
}

.lab-stat-card p {
  margin: 0;
  color: #667085;
  font-weight: 700;
}

.lab-tutorial-section {
  padding: 2.8rem 0 3rem;
  background: var(--paper);
}

.lab-video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 275 / 160;
  background: #111;
  box-shadow: 0 18px 36px rgba(16, 39, 55, 0.16);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.lab-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.lab-video-card:hover img {
  transform: scale(1.06);
}

.lab-video-card span {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 52px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: #ff0000;
  font-size: 1.7rem;
  transform: translate(-50%, -50%);
}

.lab-testimonial-section {
  padding: 3.5rem 0;
  background: #eef4f8;
}

.lab-testimonial-carousel {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 3rem;
}

.lab-testimonial-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center;
  min-height: 280px;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(0, 173, 239, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.lab-testimonial-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.lab-testimonial-card blockquote {
  margin: 0;
  color: #2f343c;
  text-align: center;
}

.lab-testimonial-card p {
  margin-bottom: 1.4rem;
  font-weight: 700;
  line-height: 1.55;
}

.lab-testimonial-card cite {
  display: block;
  color: #111827;
  font-style: normal;
  font-weight: 800;
}

.lab-testimonial-card cite span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

.lab-testimonial-carousel .carousel-control-prev,
.lab-testimonial-carousel .carousel-control-next {
  width: 3rem;
}

.lab-testimonial-carousel .carousel-control-prev-icon,
.lab-testimonial-carousel .carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: rgba(0, 173, 239, 0.8);
  background-size: 55%;
}

.lab-contact-section {
  padding: 3.5rem 0 5rem;
  background: #fff;
}

.lab-contact-card {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 8px;
  color: #3385cc;
  background: #dcdcdc;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.lab-contact-card p {
  max-width: 650px;
  margin: 0 auto 1.5rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
}

.lab-contact-card img {
  width: 160px;
  height: 68px;
  object-fit: cover;
  mix-blend-mode: multiply;
  margin-bottom: 1rem;
}

.lab-contact-card h2 {
  margin-bottom: 0.35rem;
  color: #1787d5;
  font-family: var(--body-font);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  text-transform: none;
}

.lab-contact-card h2::after {
  display: none;
}

.lab-contact-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #3385cc;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.listing-page {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    color: #2a4634;
    font-family: "DM Sans", sans-serif;
}

.listing-page *,
.listing-page *::before,
.listing-page *::after {
    box-sizing: border-box;
}

.listing-page .listing-intro {
    padding: 90px 0 65px;
    background: #f7f9f5;
}

.listing-page .listing-eyebrow {
    display: inline-block;
    margin-bottom: 14px;

    color: #657b63;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.listing-page .listing-title {
    margin: 0 0 18px;

    color: #2a4634;
    font-family: "Arsenal", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.05;
}

.listing-page .listing-description {
    max-width: 720px;
    margin: 0;

    color: #68756b;
    font-size: 17px;
    line-height: 1.75;
}

.listing-page .listing-content {
    padding: 70px 0 100px;
    background: #ffffff;
}

.listing-page .listing-filter {
    position: sticky;
    top: 30px;

    padding: 28px;

    border: 1px solid #e4e9e1;
    border-radius: 18px;

    background: #f7f9f5;

    box-shadow: 0 8px 30px rgba(42, 70, 52, 0.05);
}


/* Filter header */

.listing-page .filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 28px;
    padding-bottom: 20px;

    border-bottom: 1px solid #dfe5dc;
}

.listing-page .filter-header h2 {
    margin: 0;

    color: #2a4634;

    font-family: "Arsenal", sans-serif;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
}


/* Reset button */

.listing-page .filter-reset {
    padding: 0;

    border: 0;
    background: transparent;

    color: #657b63;

    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: color 0.2s ease;
}

.listing-page .filter-reset:hover {
    color: #2a4634;
    text-decoration: underline;
}


/* Filter groups */

.listing-page .filter-group {
    margin-bottom: 25px;
}

.listing-page .filter-label {
    display: block;

    margin-bottom: 9px;

    color: #2a4634;

    font-size: 14px;
    font-weight: 700;
}


/* Search */

.listing-page .filter-search {
    position: relative;
}

.listing-page .filter-search > i {
    position: absolute;

    top: 50%;
    left: 15px;

    z-index: 2;

    color: #71806f;

    font-size: 14px;

    transform: translateY(-50%);
}

.listing-page .filter-search .form-control {
    width: 100%;
    min-height: 48px;

    padding: 10px 15px 10px 42px;

    border: 1px solid #dce3d9;
    border-radius: 10px;

    background: #ffffff;

    color: #2a4634;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;

    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.listing-page .filter-search .form-control::placeholder {
    color: #9aa39a;
}

.listing-page .filter-search .form-control:focus {
    border-color: #657b63;

    box-shadow: 0 0 0 3px rgba(101, 123, 99, 0.12);
}


/* Select */

.listing-page .listing-filter-select {
    width: 100%;
    min-height: 48px;

    padding: 10px 40px 10px 14px;

    border: 1px solid #dce3d9;
    border-radius: 10px;

    background-color: #ffffff;

    color: #2a4634;

    font-family: "DM Sans", sans-serif;
    font-size: 14px;

    box-shadow: none;

    cursor: pointer;
}

.listing-page .listing-filter-select:focus {
    border-color: #657b63;

    box-shadow: 0 0 0 3px rgba(101, 123, 99, 0.12);
}


/* Filter information */

.listing-page .filter-result {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid #dfe5dc;
}

.listing-page .filter-result-icon {
    width: 35px;
    height: 35px;

    flex: 0 0 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #d0debb;
    color: #2a4634;

    font-size: 13px;
}

.listing-page .filter-result strong {
    display: block;

    margin-bottom: 3px;

    color: #2a4634;

    font-size: 13px;
    font-weight: 700;
}

.listing-page .filter-result small {
    display: block;

    color: #788278;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   MAIN listing AREA
========================================================= */

.listing-page .listing-main {
    width: 100%;
    min-width: 0;
}


/* Results header */

.listing-page .listing-results-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 30px;
    padding-bottom: 20px;

    border-bottom: 1px solid #e5e9e3;
}

.listing-page .listing-results-header h2 {
    margin: 0;

    color: #2a4634;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.15;
}

.listing-page .listing-count {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    border-radius: 30px;

    background: #edf2e9;

    color: #657b63;

    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   listing CARD
========================================================= */

.listing-page .listing-item {
    min-width: 0;
}

.listing-page .listing-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid #e4e9e1;
    border-radius: 16px;

    background: #ffffff;

    box-shadow: 0 8px 25px rgba(42, 70, 52, 0.05);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.listing-page .listing-card:hover {
    transform: translateY(-5px);

    border-color: #d0debb;

    box-shadow: 0 18px 40px rgba(42, 70, 52, 0.11);
}


/* =========================================================
   listing IMAGE
========================================================= */

.listing-page .listing-image {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e9eee6;
    aspect-ratio: 16 / 10;
    text-decoration: none;
    border-radius: 16px;
}

.listing-page .listing-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.listing-page .listing-card:hover .listing-image img {
    transform: scale(1.05);
}


/* Image overlay */

.listing-page .listing-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(42, 70, 52, 0.02) 40%,
        rgba(42, 70, 52, 0.35) 100%
    );

    pointer-events: none;
}


/* listing status */

.listing-page .listing-status {
    position: absolute;

    top: 16px;
    left: 16px;

    z-index: 2;

    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    border-radius: 30px;

    background: #d0debb;

    color: #2a4634;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.4px;

    text-transform: uppercase;
}

.listing-page .listing-status.completed {
    background: #ffffff;
    color: #2a4634;
}


/* =========================================================
   listing CARD BODY
========================================================= */

.listing-page .listing-card-body {
    padding: 25px;
}


/* Tag */

.listing-page .listing-tag {
    display: inline-block;

    width: fit-content;

    margin-bottom: 12px;

    color: #657b63;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* Title */

.listing-page .listing-card-title {
    margin: 0 0 13px;

    color: #2a4634;

    font-size: 25px;
    font-weight: 600;
    line-height: 1.2;
}

.listing-page .listing-card-title a {
    color: inherit;

    text-decoration: none;

    transition: color 0.2s ease;
}

.listing-page .listing-card-title a:hover {
    color: #657b63;
}


/* Excerpt */

.listing-page .listing-excerpt {
    margin: 0;

    color: #6e786f;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   NO RESULTS
========================================================= */

.listing-page .listing-no-results {
    padding: 70px 20px;

    border: 1px dashed #d6ddd3;
    border-radius: 16px;

    background: #f8faf7;

    text-align: center;
}

.listing-page .listing-no-results > i {
    margin-bottom: 15px;

    color: #657b63;

    font-size: 35px;
}

.listing-page .listing-no-results h3 {
    margin: 0 0 8px;

    color: #2a4634;

    font-size: 25px;
}

.listing-page .listing-no-results p {
    margin: 0;

    color: #778178;

    font-size: 14px;
}


/* =========================================================
   PAGINATION
========================================================= */

.listing-page .listing-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    margin-top: 50px;
}

.listing-page .pagination-number,
.listing-page .pagination-arrow {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dfe5dc;
    border-radius: 8px;

    background: #ffffff;

    color: #2a4634;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.listing-page .pagination-number:hover,
.listing-page .pagination-arrow:hover {
  color: #fff;
  background: var(--enpho-blue);
  border-color: var(--enpho-blue);
}

.listing-page .pagination-number.active {
  color: #fff;
  background: var(--enpho-blue);
  border-color: var(--enpho-blue);
}

.listing-page .pagination-arrow {
    font-size: 11px;
}

.listing-page .pagination-arrow.disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 1199.98px) {
  .lab-product-card {
    grid-template-columns: 170px 1fr;
  }

  .listing-page .listing-filter {
        padding: 24px;
  }

  .listing-page .listing-card-body {
      min-height: 290px;
      padding: 22px;
  }

  .listing-page .listing-card-title {
      font-size: 23px;
  }
}

@media (max-width: 991.98px) {
  .lab-product-controls {
    grid-template-columns: 1fr;
  }

  .lab-product-filter {
    justify-content: flex-start;
  }

  .lab-product-grid {
    grid-template-columns: 1fr;
  }

  .lab-stats-panel {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .lab-testimonial-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lab-testimonial-card img {
    width: min(230px, 100%);
    margin: 0 auto;
  }

  /**
  * general listing styles
  */

  .listing-page .listing-intro {
        padding: 70px 0 50px;
    }

    .listing-page .listing-content {
        padding: 55px 0 75px;
    }


    /* Disable sticky filter */

    .listing-page .listing-filter {
        position: static;
    }


    /* Filter becomes horizontal */

    .listing-page .filter-header {
        margin-bottom: 22px;
    }

    .listing-page .filter-group {
        margin-bottom: 18px;
    }


    .listing-page .filter-result {
        margin-top: 20px;
        padding-top: 20px;
    }


    .listing-page .listing-results-header {
        margin-top: 10px;
    }  
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .listing-page .listing-intro {
        padding: 55px 0 40px;
    }

    .listing-page .listing-title {
        font-size: 44px;
    }

    .listing-page .listing-description {
        font-size: 15px;
        line-height: 1.65;
    }


    .listing-page .listing-content {
        padding: 40px 0 60px;
    }


    /* Sidebar */

    .listing-page .listing-filter {
        padding: 22px;

        border-radius: 14px;
    }


    /* Results heading */

    .listing-page .listing-results-header {
        align-items: flex-start;
        gap: 15px;

        margin-top: 5px;
        margin-bottom: 25px;
    }

    .listing-page .listing-results-header h2 {
        font-size: 29px;
    }

    .listing-page .listing-count {
        white-space: nowrap;
    }


    /* Cards */

    .listing-page .listing-card {
        border-radius: 14px;
    }

    .listing-page .listing-image {
        aspect-ratio: 16 / 10;
    }

    .listing-page .listing-card-body {
        min-height: 0;
        padding: 22px;
    }

    .listing-page .listing-card-title {
        font-size: 24px;
    }

    .listing-page .listing-excerpt {
        font-size: 14px;
    }

    /* Pagination */

    .listing-page .listing-pagination {
        margin-top: 35px;
    }

}

/* =========================================================
   SMALL MOBILE
========================================================= */
@media (max-width: 575.98px) {
  .enpho-button,
    .enpho-button-outline {
        min-height: 44px;
        padding: 0.65rem 1.25rem;
        font-size: 0.76rem;
  }

  .lab-hero-cta {
    min-width: 0;
    width: 100%;
  }

  .lab-product-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lab-product-card img {
    width: min(230px, 100%);
    margin: 0 auto;
  }

  .lab-product-filter button {
    flex: 1 1 100%;
  }

  .lab-testimonial-carousel {
    padding: 0 1rem;
  }

   .listing-page .listing-intro {
        padding: 45px 0 35px;
    }

    .listing-page .listing-title {
        font-size: 38px;
    }

    .listing-page .listing-description {
        font-size: 14px;
    }


    .listing-page .listing-filter {
        padding: 20px;
    }


    .listing-page .filter-header h2 {
        font-size: 24px;
    }


    .listing-page .listing-results-header {
        flex-direction: column;
        align-items: flex-start;
    }


    .listing-page .listing-results-header h2 {
        font-size: 27px;
    }


    .listing-page .listing-card-title {
        font-size: 22px;
    }


    .listing-page .listing-image {
        aspect-ratio: 16 / 10;
    }


    .listing-page .pagination-number,
    .listing-page .pagination-arrow {
        width: 36px;
        height: 36px;
    }
}

.about-hero .container {
  max-width: 1120px;
}

.about-hero-kicker {
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--body-font);
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-hero-copy {
  max-width: 980px;
  margin: 1.2rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 400;
  line-height: 1.4;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.about-page {
  background:
    linear-gradient(180deg, #fff 0, #fff 52%, var(--paper) 100%);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding: 5rem 0 3rem;
}

.about-intro-copy h2 {
  margin-bottom: 1.4rem;
  text-align: left;
  font-size: clamp(2.2rem, 3vw, 4rem);
  line-height: 1;
}

.about-intro-copy h2::after {
  margin-left: 0;
}

.about-intro-copy p {
  color: #344054;
  font-size: 1.04rem;
  line-height: 1.75;
}

.about-highlight-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(135deg, var(--enpho-blue), var(--accent-green));
  box-shadow: var(--shadow-hover);
  width: auto;
  height: 350px;
}

.about-highlight-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.vision-mission-grid article,
.values-grid article,
.approach-steps article {
  border: 1px solid rgba(0, 173, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.vision-mission-grid article:hover,
.values-grid article:hover,
.approach-steps article:hover {
  border-color: rgba(0, 173, 239, 0.34);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.vision-mission-grid article {
  padding: 2rem;
}

.vision-mission-grid i,
.values-grid i {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 1.15rem;
  place-items: center;
  border-radius: 50%;
  color: var(--enpho-blue);
  background: var(--enpho-blue-soft);
  font-size: 1.55rem;
}

.vision-mission-grid h3,
.values-grid h3,
.approach-steps h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1;
}

.vision-mission-grid p,
.values-grid p,
.approach-steps p {
  margin: 0;
  color: #475467;
  line-height: 1.6;
}

.about-values {
  padding-bottom: 5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.values-grid article {
  padding: 1.6rem;
}

.about-approach {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, rgba(0, 173, 239, 0.1), rgba(50, 189, 120, 0.09)),
    #fff;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.approach-steps article {
  padding: 1.6rem;
}

.approach-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue), var(--accent-green));
  font-weight: 900;
}

.organogram-section {
  padding: 4.5rem 0;
  background: #fff;
}

.organogram-card {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.2rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.organogram-card img {
  display: block;
  width: 100%;
  border-radius: 6px;
}

/* =========================================
   MILESTONES
========================================= */

.milestones-section {
  padding: 4.5rem 0 6rem;
  background: var(--paper);
}

.milestones-section h2 {
  margin-bottom: 2rem;
}


/* =========================================
   SLIDER WRAPPER
========================================= */

.milestone-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}


/* =========================================
   TIMELINE LINE
   This stays fixed while cards scroll
========================================= */

.milestone-slider::before {
  content: "";
  position: absolute;

  top: 0.85rem;
  left: 60px;
  right: 60px;

  height: 3px;

  border-radius: 99px;

  background: linear-gradient(
    90deg,
    var(--accent-green),
    var(--enpho-blue),
    var(--accent-green)
  );

  z-index: 0;
  pointer-events: none;
}


/* =========================================
   TIMELINE SCROLL AREA
========================================= */

.milestone-timeline {
  position: relative;

  display: flex;
  flex-wrap: nowrap;

  gap: 1rem;

  flex: 1;
  min-width: 0;

  overflow-x: auto;
  overflow-y: visible;

  padding: 2.2rem 0 1rem;

  scroll-behavior: smooth;
  scroll-snap-type: x proximity;

  scrollbar-width: none;

  z-index: 1;
}

.milestone-timeline::-webkit-scrollbar {
  display: none;
}


/* =========================================
   MILESTONE CARD
========================================= */

.milestone-timeline article {
  position: relative;

  flex: 0 0 calc((100% - 4rem) / 5);

  min-width: 0;
  min-height: 190px;

  padding: 1.35rem;

  border-radius: 8px;

  color: #fff;

  background: var(--enpho-blue);

  box-shadow: var(--shadow-soft);

  scroll-snap-align: start;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* Alternate card colors */

.milestone-timeline article:nth-child(even) {
  background: var(--accent-green);
}


/* Hover */

.milestone-timeline article:hover {
  transform: translateY(-4px);
}


/* =========================================
   MILESTONE DOT
========================================= */

.milestone-timeline article::before {
  content: "";

  position: absolute;

  top: -1.95rem;
  left: 1.35rem;

  width: 16px;
  height: 16px;

  border: 4px solid #fff;

  border-radius: 50%;

  background: var(--enpho-blue);

  box-shadow:
    0 0 0 3px rgba(0, 173, 239, 0.28);

  z-index: 5;
}


/* Green dots */

.milestone-timeline article:nth-child(even)::before {
  background: var(--accent-green);

  box-shadow:
    0 0 0 3px rgba(76, 175, 80, 0.28);
}


/* Active milestone */

.milestone-timeline article.active {
  transform: translateY(-4px);
}

.milestone-timeline article.active::before {
  width: 20px;
  height: 20px;

  top: -1.99rem;
  left: 1.25rem;

  box-shadow:
    0 0 0 4px rgba(0, 173, 239, 0.25);
}


/* =========================================
   YEAR
========================================= */

.milestone-timeline span {
  display: block;

  margin-bottom: 0.75rem;

  font-size: 1.35rem;
  font-weight: 900;

  line-height: 1.2;
}


/* =========================================
   DESCRIPTION
========================================= */

.milestone-timeline p {
  margin: 0;

  font-weight: 700;

  line-height: 1.45;
}


/* =========================================
   NAVIGATION BUTTONS
========================================= */

.milestone-btn {
  position: relative;

  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: var(--enpho-blue);
  color: #fff;

  font-size: 1.4rem;
  font-weight: 900;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 10;

  box-shadow: var(--shadow-soft);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}


/* Button hover */

.milestone-btn:hover {
  background: var(--accent-green);

  transform: scale(1.08);
}


/* Button active */

.milestone-btn:active {
  transform: scale(0.95);
}


/* Disabled */

.milestone-btn:disabled {
  opacity: 0.35;

  cursor: not-allowed;

  transform: none;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 992px) {

  .milestone-timeline article {
    flex: 0 0 calc((100% - 2rem) / 3);
  }

  .milestone-slider::before {
    left: 55px;
    right: 55px;
  }

}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (max-width: 768px) {

  .milestones-section {
    padding: 3rem 0 4rem;
  }

  .milestone-slider {
    gap: 0.6rem;
  }

  /*
    Show approximately one card at a time
  */

  .milestone-timeline article {
    flex: 0 0 82%;

    min-height: 180px;

    padding: 1.2rem;
  }

  /* Navigation buttons */

  .milestone-btn {
    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    font-size: 1.1rem;
  }

  /* Timeline */

  .milestone-slider::before {
    left: 48px;
    right: 48px;

    top: 0.85rem;
  }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

  .milestones-section {
    padding: 2.5rem 0 3.5rem;
  }

  .milestone-timeline {
    gap: 0.75rem;
  }

  .milestone-timeline article {
    flex: 0 0 88%;

    min-height: 175px;

    padding: 1.1rem;
  }

  .milestone-timeline span {
    font-size: 1.2rem;
  }

  .milestone-timeline p {
    font-size: 0.9rem;
  }

  .milestone-btn {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    font-size: 1rem;
  }

  .milestone-slider::before {
    left: 42px;
    right: 42px;
  }

}

@media (max-width: 991.98px) {
  .about-intro,
  .vision-mission-grid,
  .values-grid,
  .approach-steps,
  .milestone-timeline {
    grid-template-columns: 1fr;
  }

  .about-intro {
    padding-top: 4rem;
  }

  .milestone-timeline {
    padding-top: 0;
  }

  .milestone-timeline::before,
  .milestone-timeline article::before {
    display: none;
  }

  .milestone-timeline article:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  .about-hero-copy {
    font-size: 1rem;
  }

  .about-intro,
  .about-values,
  .about-approach,
  .organogram-section,
  .milestones-section {
    padding-block: 3rem;
  }

  .vision-mission-grid article,
  .values-grid article,
  .approach-steps article {
    padding: 1.35rem;
  }
}

/* Professional team page refresh */
.team-page {
  padding: 5.5rem 0 6.5rem;
  background:
    radial-gradient(circle at 88% 8%, rgba(0, 173, 239, 0.12), transparent 25rem),
    linear-gradient(180deg, #fff 0, #fff 58%, var(--paper) 100%);
}

.team-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: 2rem;
}

.team-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.team-heading > p {
  margin: 0;
  color: #475467;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.7;
}

.team-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.team-metric-strip article {
  padding: 1.35rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 44px rgba(16, 39, 55, 0.08);
}

.team-metric-strip strong {
  display: block;
  color: var(--enpho-blue);
  font-family: var(--display-font);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.85;
}

.team-metric-strip strong::after {
  content: "+";
}

.team-metric-strip span {
  display: block;
  margin-top: 0.65rem;
  color: #475467;
  font-weight: 800;
  text-transform: uppercase;
}

.team-sidebar {
  gap: 0.75rem;
  padding: 1rem;
}

.team-sidebar button {
  padding: 0.85rem 1rem 0.85rem 2.2rem;
  color: #26323f;
  font-family: var(--body-font);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;
}

.team-sidebar button:hover,
.team-sidebar button.active {
  background: linear-gradient(135deg, var(--enpho-blue), var(--accent-green));
}

.team-panel-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(0, 173, 239, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 44px rgba(16, 39, 55, 0.08);
}

.team-panel-intro span {
  color: var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.team-panel-intro p {
  margin: 0;
  color: #667085;
  font-size: 0.95rem;
  font-weight: 600;
}

.team-accordion .accordion-button {
  color: #26323f;
  background: #f7fbfd;
  font-family: var(--body-font);
  font-size: 0.98rem;
  font-weight: 900;
  text-transform: uppercase;
}

.team-grid-wide {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  align-items: stretch;
}

.team-card {
  position: relative;
}

.team-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--enpho-blue), var(--accent-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.team-card:hover::after {
  transform: scaleX(1);
}

.team-card-body {
  padding: 1rem 0.8rem 1.15rem;
}

.team-card-body span {
  color: var(--enpho-blue-dark);
  font-weight: 900;
  text-transform: uppercase;
}

.team-card-body a {
  color: #344054;
  font-weight: 800;
}

.team-card-body p {
  margin: 0.65rem 0 0;
  color: #667085;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.team-card-actions {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.team-card-actions a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--enpho-blue);
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.team-card-actions a:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
}

.team-card-compact {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  text-align: left;
}

.team-card-compact .team-card-body span {
  min-height: 0;
}

.team-avatar {
  display: grid;
  width: 66px;
  height: 66px;
  margin-left: 1rem;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--enpho-blue), var(--accent-green));
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0, 173, 239, 0.24);
}

@media (max-width: 991.98px) {
  .team-heading,
  .team-metric-strip {
    grid-template-columns: 1fr;
  }

  .team-panel-intro {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .team-grid-wide {
    grid-template-columns: 1fr;
  }

  .team-card-compact {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: 1.2rem;
    text-align: center;
  }

  .team-avatar {
    margin-left: 0;
  }
}

.generic-page-hero::before {
  background: url("hero.jpg") center center / cover no-repeat;
}

.generic-subtitle {
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  text-transform: uppercase;
}

.page-section {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 173, 239, 0.12), transparent 22rem),
    linear-gradient(180deg, #fff 0, var(--paper) 100%);
}

.page-content {
  max-width: 991px;
  margin: 0 auto;
}

.page-content h2,
.content-container h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
}

.page-content p,
.content-container p {
  color: #475467;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.75;
}

.page-content .btn {
  margin-top: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
}

.page-content img {
    max-width: 100%;
    height: auto;
    display: block;
    box-sizing: border-box;
}

.page-content .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.two-column-section {
  padding: 6rem 0;
  background: #fff;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.two-column-layout .image-container {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.two-column-layout .image-container img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.two-column-layout:hover .image-container img {
  transform: scale(1.04);
}

.content-container h2 {
  text-align: left;
}

.content-container h2::after {
  margin-left: 0;
}

.content-container ul {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0 1.8rem;
  padding: 0;
  list-style: none;
}

.content-container li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: #344054;
  font-weight: 800;
}

.content-container li i {
  color: var(--accent-green);
}

.content-container .btn {
  border-radius: 999px;
  padding: 0.85rem 1.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .two-column-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .page-section,
  .two-column-section {
    padding: 4rem 0;
  }

  .page-content {
    text-align: left;
  }

  .page-content h2 {
    text-align: left;
  }

  .page-content h2::after {
    margin-left: 0;
  }
}

/* 404 Page */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.error-page__content {
    max-width: 600px;
    margin: 0 auto;
}

.error-page__icon {
    color: var(--enpho-blue);
    font-size: 48px;
    margin-bottom: 20px;
}

.error-page h1 {
    margin: 0;
    font-size: clamp(80px, 15vw, 150px);
    line-height: 1;
    font-weight: 800;
    color: var(--enpho-blue);
}

.error-page h2 {
    margin: 20px 0 12px;
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
}

.error-page p {
    margin: 0 auto 30px;
    max-width: 500px;
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

.error-page__button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 24px;
    border-radius: 6px;
    background: #198754;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.error-page__button:hover {
    background: #146c43;
    color: #fff;
    transform: translateY(-2px);
}