/********** Clarigen Healthcare CSS **********/

:root {
  --primary: #69b82f;
  --secondary: #64b9e6;
  --accent: #0f7fba;
  --ink: #16323f;
  --muted: #5d6c75;
  --light: #f3fbf8;
  --soft: #e8f6fb;
  --dark: #061822;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
  background-color: var(--white);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  color: var(--accent);
  text-decoration: none;
}

p {
  line-height: 1.85;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

h1,
h2 {
  text-transform: uppercase;
}

img {
  max-width: 100%;
}

.section {
  padding: 96px 0;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 22px;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 28px;
}

#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  visibility: visible;
  opacity: 1;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
}

.text-primary {
  color: var(--primary) !important;
}

.spinner-border.text-primary {
  color: var(--primary) !important;
}

.btn {
  font-weight: 700;
  transition: 0.25s ease;
  border-radius: 28px;
  padding: 12px 24px;
}

.btn-gradient {
  color: #fff;
  border: none;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 16px 34px rgba(100, 185, 230, 0.24);
}

.btn-gradient:hover,
.btn-gradient:focus {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(105, 184, 47, 0.24);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.82);
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--ink);
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.navbar {
  top: 0 !important;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  z-index: 1000;
}

.brand-logo {
  width: 244px;

  object-fit: contain;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 16px;
  padding: 32px 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 22px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transform: scaleX(0.25);
  transition: 0.25s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--accent);
}

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

.n-btn {
  border-radius: 28px 0;
  padding: 13px 26px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg,
.hero-bg .owl-stage-outer,
.hero-bg .owl-stage,
.hero-bg .owl-item,
.hero-slide {
  height: 100%;
}

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 24, 34, 0.92) 0%, rgba(6, 24, 34, 0.72) 52%, rgba(6, 24, 34, 0.22) 100%), linear-gradient(180deg, rgba(105, 184, 47, 0.18), rgba(100, 185, 230, 0.22));
  z-index: 1;
  pointer-events: none;
}

.hero-carousel .owl-nav,
.hero-carousel .owl-dots {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 110px 12px 80px;
}

.hero h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(40px, 7vw, 54px);
  margin-bottom: 24px;
}

.hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero .eyebrow {
  color: #cbf4bd;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-panel {
  margin-left: auto;
  max-width: 370px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.hero-panel img {
  width: 210px;
  height: 150px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 18px;
}

.hero-panel strong,
.hero-panel span {
  display: block;
  color: #fff;
}

.hero-panel strong {
  font-size: 22px;
  margin-bottom: 12px;
}

.hero-panel span {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 8px;
}

.stats-band {
  margin-top: -54px;
  position: relative;
  z-index: 2;
}

.stat-item {
  height: 100%;
  min-height: 126px;
  padding: 24px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e6eef1;
  box-shadow: 0 20px 50px rgba(22, 50, 63, 0.08);
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  color: var(--primary);
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item span {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
}

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

.section-image {
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(22, 50, 63, 0.12);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.feature-item {
  min-height: 126px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e3eef1;
}

.feature-item i {
  display: block;
  color: var(--primary);
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-item span {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.mission-vision {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, rgba(105, 184, 47, 0.18), transparent 34%), linear-gradient(180deg, #ffffff 0%, #eef9fd 100%);
}

.mission-heading {
  margin-bottom: 44px;
}

.mission-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: 28px;
  align-items: stretch;
}

.mission-art {
  position: relative;
  min-height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 26px 60px rgba(22, 50, 63, 0.16);
}

.mission-art img {
  width: 100%;
  height: 100%;
  min-height: 510px;
  object-fit: cover;
  opacity: 0.92;
}

.mission-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 24, 34, 0.82));
}

.mission-badge {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 1;
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.mission-badge strong,
.mission-badge span {
  display: block;
}

.mission-badge strong {
  color: var(--primary);
  font-size: 30px;
  line-height: 1;
}

.mission-badge span {
  color: var(--ink);
  font-weight: 700;
  margin-top: 8px;
}

.mission-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mv-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  height: 100%;
  padding: 30px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #dcecf1;
  box-shadow: 0 22px 50px rgba(22, 50, 63, 0.09);
}

.mv-card-alt {
  background: #f8fcff;
}

.mv-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 28px;
}

.mv-card span {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.mv-card h3 {
  font-size: clamp(24px, 3vw, 34px);
  margin-bottom: 14px;
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mission-values span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #dcecf1;
  font-weight: 800;
}

.certificate-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 24, 34, 0.96), rgba(15, 50, 63, 0.94)),
    url(../img/banner-2.jpg) center/cover;
}

.certificate-section h2,
.certificate-section p {
  color: #fff;
}

.certificate-section p {
  color: rgba(255, 255, 255, 0.78);
}

.certificate-head {
  margin-bottom: 32px;
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.certificate-card {
  position: relative;
  min-height: 100%;
  padding: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26);
}

.certificate-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  border-radius: 8px 0 0 8px;
  background: var(--primary);
}

.certificate-card-blue::before {
  background: var(--secondary);
}

.cert-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.cert-top span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.cert-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-size: 28px;
}

.certificate-card h3 {
  font-size: 34px;
  margin-bottom: 12px;
}

.certificate-card p {
  color: var(--muted);
}

.cert-meta {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.cert-meta div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #e2eef2;
}

.cert-meta strong {
  color: var(--ink);
}

.cert-meta span {
  color: var(--muted);
  text-align: right;
}

.cert-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
}

.cert-link:hover {
  color: var(--accent);
}

.quality-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.quality-strip span {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.check-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
}

.products-section {
  background: url(../img/3.png) no-repeat center top;
  background-size: cover;
}

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0;
}

.product-filters button {
  min-height: 44px;
  border: 1px solid #d8e7ec;
  border-radius: 24px;
  padding: 9px 18px;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
  transition: 0.22s ease;
}

.product-filters button:hover,
.product-filters button.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 18px;
}

.product-card {
  min-height: 166px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0edf1;
  box-shadow: 0 16px 36px rgba(22, 50, 63, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(22, 50, 63, 0.13);
}

.product-card img {
  max-width: 80%;
  object-fit: contain;
}

.network-section {
  background: #fff;
}

.partner-panel {
  padding: 44px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(105, 184, 47, 0.94), rgba(100, 185, 230, 0.94)),
    url(../img/banner-2.jpg) center/cover;
  box-shadow: 0 24px 60px rgba(22, 50, 63, 0.17);
}

.partner-panel h3,
.partner-panel p {
  color: #fff;
}

.partner-panel h3 {
  font-size: 34px;
}

.partner-panel .btn-gradient {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.careers {
  padding: 96px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 24, 34, 0.94), rgba(15, 127, 186, 0.8)),
    url(../img/banner-2.jpg) center/cover;
}

.careers h2,
.careers p {
  color: #fff;
}

.contact-form {
  background: linear-gradient(180deg, var(--light), #fff);
}

.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-detail i {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.contact-detail strong,
.contact-detail a {
  display: block;
}

.contact-detail strong {
  color: var(--ink);
}

.contact-form form {
  padding: 38px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0edf1;
  box-shadow: 0 22px 48px rgba(22, 50, 63, 0.1);
}

.form-label {
  color: var(--ink);
  font-weight: 700;
}

.form-control {
  min-height: 50px;
  border: 1px solid #d8e7ec;
  border-radius: 8px;
  color: var(--ink);
}

.form-control:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 0.2rem rgba(100, 185, 230, 0.18);
}

.map {
  height: 400px;
  background: var(--soft);
}

.footer {
  background: var(--dark);
}

.footer-logo {
  width: 180px;
  height: 112px;
  object-fit: contain;
  /*! background: #fff; */
  border-radius: 8px;
  margin-bottom: 18px;
}

.footer h4 {
  color: #fff;
}

.footer p {
  color: rgba(255, 255, 255, 0.72);
}

.footer .btn.btn-social {
  margin-right: 6px;
  width: 46px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 222px;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  font-weight: 500;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: #fff;
  letter-spacing: 0.3px;
  box-shadow: none;
}

.footer .copyright {
  padding: 24px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a {
  color: #fff;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
  color: #fff;
  border: none;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav {
    border-top: 1px solid #e6eef1;
  }

  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 12px;
  }

  .navbar-light .navbar-nav .nav-link::after {
    display: none;
  }

  .brand-logo {
    width: 142px;
    height: 66px;
  }

  .hero {
    min-height: auto;
    display: block;
    color: var(--ink);
    background: #fff;
  }

  .hero-bg {
    position: relative;
    inset: auto;
    height: 360px;
  }

  .hero-bg::after {
    background: linear-gradient(180deg, rgba(6, 24, 34, 0.08), rgba(6, 24, 34, 0.36));
  }

  .hero-content {
    padding: 38px 12px 52px;
  }

  .hero h1,
  .hero-panel strong,
  .hero-panel span {
    color: var(--ink);
  }

  .hero p {
    color: var(--muted);
  }

  .hero .eyebrow {
    color: var(--accent);
  }

  .hero .btn-outline-light {
    color: var(--accent);
    border-color: var(--secondary);
  }

  .hero .btn-outline-light:hover {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
  }

  .hero-panel {
    margin: 34px 0 0;
    background: #fff;
    border-color: #dcecf1;
    box-shadow: 0 18px 42px rgba(22, 50, 63, 0.1);
  }

  .hero-panel span {
    color: var(--muted);
  }

  .feature-grid,
  .certificate-grid,
  .mission-showcase {
    grid-template-columns: 1fr;
  }

  .mission-art img {
    min-height: 360px;
  }

  .quality-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .section,
  .careers {
    padding: 68px 0;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-bg {
    height: 280px;
  }

  .hero-actions .btn {
    width: 100%;
  }
  .mt-30-mob {
    margin-top: 30px;
  }
  .stats-band {
    margin-top: 0;
    padding-top: 18px;
    background: var(--light);
  }

  .mv-card,
  .partner-panel,
  .contact-form form {
    padding: 24px;
  }

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

  .mission-values,
  .quality-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cert-meta div {
    display: block;
  }

  .cert-meta span {
    display: block;
    text-align: left;
    margin-top: 4px;
  }

  .product-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .product-filters button {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 14px;
  }

  .portfolio {
    grid-template-columns: 1fr;
  }

  .footer,
  .footer .btn.btn-link {
    text-align: center;
  }

  .footer .btn.btn-link {
    display: inline-block;
    width: 100%;
  }

  .footer .d-flex {
    justify-content: center;
  }
}
