:root {
  --doctivo-ink: #102033;
  --doctivo-muted: #667789;
  --doctivo-line: #dbe7ee;
  --doctivo-blue: #047d9f;
  --doctivo-teal: #0fb9b1;
  --doctivo-green: #31a66a;
  --doctivo-bg: #f6fafb;
}

body {
  color: var(--doctivo-ink);
  background: var(--doctivo-bg);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

.top-bar {
  background: linear-gradient(90deg, #102033, #07465a);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .get-touch ul {
  margin: 0;
}

.top-bar .get-touch a {
  color: #eaf7fb;
  font-size: 13px;
  font-weight: 600;
}

.top-bar .get-touch i {
  color: #73d7ce;
  margin-right: 7px;
}

.doctivo-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(16, 32, 51, 0.08);
  box-shadow: 0 14px 36px rgba(16, 32, 51, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.doctivo-header .container-fluid {
  max-width: 1420px;
  padding-left: 22px;
  padding-right: 22px;
}

.doctivo-header .row {
  align-items: center;
  display: flex;
}

.doctivo-header .logo {
  display: flex;
  align-items: center;
  min-height: 82px;
}

.doctivo-header .logo img {
  max-height: 70px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.doctivo-header .logo:hover img {
  transform: scale(1.02);
}

.menu-2 {
  display: flex;
  justify-content: flex-end;
}

.menu-2 .nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  margin: 0;
}

.menu-2 .nav > li {
  position: relative;
}

.menu-2 .nav > li > a {
  border-radius: 6px;
  color: var(--doctivo-ink);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  padding: 12px 4px;
  position: relative;
  text-transform: none;
  white-space: nowrap;
}

.menu-2 .parent > a::after {
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  content: "";
  display: inline-block;
  height: 6px;
  margin-left: 8px;
  transform: rotate(45deg) translateY(-2px);
  width: 6px;
}

.menu-2 .nav > li > a:hover,
.menu-2 .nav > li:hover > a,
.menu-2 .nav > li > a.is-active,
.menu-2 .nav > li.is-open > a {
  background: linear-gradient(135deg, rgba(4, 125, 159, 0.12), rgba(49, 166, 106, 0.12));
  color: #fff;
}
.menu-2 .nav > li > a.is-active {
  color: #000000;
}

.menu-2 .submenu {
  background: #fff;
  border: 1px solid var(--doctivo-line);
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(16, 32, 51, 0.16);
  margin-top: 12px;
  min-width: 210px;
  overflow: hidden;
  padding: 8px;
  position: relative;
}

.menu-2 .submenu::before {
  background: #fff;
  border-left: 1px solid var(--doctivo-line);
  border-top: 1px solid var(--doctivo-line);
  content: "";
  height: 14px;
  left: 30px;
  position: absolute;
  top: -7px;
  transform: rotate(45deg);
  width: 14px;
}

.menu-2 .submenu a {
  border-radius: 6px;
  color: var(--doctivo-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  padding: 12px 14px;
}

.menu-2 .submenu a:hover {
  background: rgba(4, 125, 159, 0.1);
  color: var(--doctivo-blue);
}

.home-slider {
  background: #102033;
  background-position: center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 795px;
  overflow: hidden;
  position: relative;
  transition: background-image 500ms ease;
}

.home-slider::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.home-slide__overlay {
  background: rgba(255, 255, 255, 0.06);
  inset: 0;
  position: absolute;
}

.home-slide__content {
  color: #05070a;
  margin: 0 auto;
  max-width: 1180px;
  opacity: 1;
  padding: 0 24px 122px;
  position: relative;
  text-align: center;
  transform: translateY(-28px);
  transition: opacity 300ms ease, transform 500ms ease;
  width: 100%;
  z-index: 2;
}

.home-slider.is-js-ready .home-slide__content {
  transform: translateY(-28px);
}

.home-slider.is-changing .home-slide__content {
  opacity: 0;
  transform: translateY(20px);
}

.home-slide__content span {
  display: none;
}

.home-slide__content h1 {
  align-items: center;
  color: #05070a;
  display: flex;
  flex-direction: column;
  font-size: clamp(38px, 3.55vw, 67px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0 auto;
  text-transform: uppercase;
}

.home-slide__content h1 span,
.home-slide__content h1 strong {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  display: inline-block;
  margin: 0 auto 18px;
  padding: 16px 58px 18px;
  white-space: nowrap;
}

.home-slide__content h1 strong {
  font-size: clamp(42px, 3.75vw, 68px);
  font-weight: 800;
  padding-left: 58px;
  padding-right: 58px;
}

.home-slide__content p {
  display: none;
}

.home-slider__nav {
  background: rgba(255, 255, 255, 0.76);
  border: 0;
  border-radius: 0;
  height: 84px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: background 180ms ease, transform 180ms ease;
  width: 84px;
  z-index: 3;
}

.home-slider__nav:hover {
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-50%);
}

.home-slider__nav::before {
  border: solid rgba(0, 0, 0, 0.5);
  border-width: 0 2px 2px 0;
  content: "";
  display: block;
  height: 32px;
  left: 34px;
  position: absolute;
  top: 25px;
  width: 32px;
}

.home-slider__nav:hover::before {
  border-color: rgba(0, 0, 0, 0.7);
}

.home-slider__nav--prev {
  left: 0;
}

.home-slider__nav--prev::before {
  transform: rotate(135deg);
}

.home-slider__nav--next {
  right: 0;
}

.home-slider__nav--next::before {
  left: 20px;
  transform: rotate(-45deg);
}

.home-slider__dots {
  bottom: 24px;
  display: flex;
  gap: 9px;
  left: 50%;
  position: absolute;
  right: auto;
  transform: translateX(-50%);
  z-index: 3;
}

.home-slider__dots button {
  background: rgba(255, 255, 255, 0.56);
  border: 0;
  border-radius: 999px;
  height: 8px;
  padding: 0;
  transition: width 180ms ease, background 180ms ease;
  width: 22px;
}

.home-slider__dots button.is-active {
  background: #ffffff;
  width: 42px;
}

.home-appointment {
  align-items: center;
  background: #535d70;
  border-radius: 4px 4px 0 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  left: max(24px, calc((100vw - 1460px) / 2 + 214px));
  min-height: 62px;
  position: absolute;
  width: min(426px, calc(100vw - 48px));
  z-index: 4;
}

.home-appointment a {
  color: #fff;
  display: block;
  flex: 1;
  font-size: 25px;
  font-weight: 400;
  padding: 17px 32px;
}

.home-appointment button {
  background: transparent;
  border: 0;
  height: 64px;
  position: relative;
  width: 64px;
}

.home-appointment button::before {
  border: solid #fff;
  border-width: 0 3px 3px 0;
  content: "";
  height: 11px;
  left: 24px;
  position: absolute;
  top: 22px;
  transform: rotate(45deg);
  width: 11px;
}

@media (min-width: 992px) and (max-width: 1299px) {
  .doctivo-header .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }

  .doctivo-header .col-md-3 {
    width: 18%;
  }

  .doctivo-header .col-md-9 {
    width: 82%;
  }

  .menu-2 .nav > li > a {
    font-size: 13px;
    padding-left: 3px;
    padding-right: 3px;
  }
}

.sub-banner {
  background: linear-gradient(135deg, rgba(4, 125, 159, 0.95), rgba(49, 166, 106, 0.88)), url("../images/slides/banner-img4.jpg") center/cover;
  min-height: 230px;
  position: relative;
}

.sub-banner .detail {
  background: transparent;
  padding: 70px 0 58px;
}

.sub-banner .paging h2 {
  color: #fff;
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 12px;
}

.sub-banner .paging ul li,
.sub-banner .paging ul li a {
  color: rgba(255, 255, 255, 0.9);
}

.content,
.welcome-three,
.news-posts,
.research {
  background: var(--doctivo-bg);
}

.content .container,
.welcome-three .container,
.news-posts .container,
.research .container {
  max-width: 1180px;
}

.content img,
.welcome-three img,
.news-posts img {
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.12);
}

.content table,
.news-posts table,
.product-table {
  background: #fff;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--doctivo-line);
  border-radius: 8px;
  overflow: hidden;
}

.content table th,
.news-posts table th,
.product-table th {
  background: #eaf7f8;
  color: var(--doctivo-ink);
  font-weight: 800;
}

.content table td,
.content table th,
.news-posts table td,
.news-posts table th,
.product-table td,
.product-table th {
  border-bottom: 1px solid var(--doctivo-line);
  padding: 14px 16px;
  vertical-align: top;
}

.doctivo-section {
  padding: 70px 0;
  background: var(--doctivo-bg);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading span {
  color: var(--doctivo-green);
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--doctivo-ink);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 10px;
}

.section-heading p {
  color: var(--doctivo-muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

.product-gallery-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.product-card {
  background: #fff;
  border: 1px solid var(--doctivo-line);
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(16, 32, 51, 0.08);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  box-shadow: 0 22px 48px rgba(16, 32, 51, 0.16);
  transform: translateY(-4px);
}

.product-card__image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #edf9fb, #ffffff);
  display: grid;
  place-items: center;
  padding: 18px;
}

.product-card__image img {
  border-radius: 6px;
  box-shadow: none;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-card__body {
  border-top: 1px solid var(--doctivo-line);
  padding: 18px;
}

.product-card__body span {
  color: var(--doctivo-blue);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.product-card__body h3 {
  color: var(--doctivo-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  margin: 0 0 8px;
  text-transform: none;
}

.product-card__body p {
  color: var(--doctivo-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.product-toolbar {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.product-actions {
  display: flex;
  gap: 10px;
  padding-top: 12px;
}

.doctivo-btn {
  background: var(--doctivo-blue);
  border: 1px solid var(--doctivo-blue);
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-width: 96px;
  padding: 12px 16px;
}

.doctivo-btn:hover {
  background: #03627d;
  color: #fff;
}

.doctivo-btn--light {
  background: #fff;
  color: var(--doctivo-blue);
}

.doctivo-btn--light:hover {
  background: #eaf7f8;
  color: var(--doctivo-blue);
}

.product-search {
  margin: 0 0 20px;
}

.product-search input {
  background: #fff;
  border: 1px solid var(--doctivo-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.06);
  color: var(--doctivo-ink);
  font-size: 16px;
  min-height: 52px;
  padding: 0 18px;
  width: 100%;
}

.product-search input:focus {
  border-color: var(--doctivo-blue);
  outline: 3px solid rgba(4, 125, 159, 0.14);
}

.product-table-wrap {
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(16, 32, 51, 0.08);
  overflow-x: auto;
}

.product-table {
  min-width: 860px;
  width: 100%;
}

.product-table th {
  white-space: nowrap;
}

.product-table td:first-child {
  color: var(--doctivo-ink);
  font-weight: 800;
  min-width: 300px;
}

.empty-state {
  background: #fff;
  border: 1px dashed var(--doctivo-line);
  border-radius: 8px;
  color: var(--doctivo-muted);
  padding: 28px;
  text-align: center;
}

.static .applyinfo-btn {
  bottom: 22px;
  position: fixed;
  right: 22px;
  z-index: 80;
}

.static .applyinfo-btn img {
  box-shadow: 0 12px 28px rgba(16, 32, 51, 0.22);
  height: 58px;
  width: 58px;
}

.footer-bottom {
  background: #102033;
  color: #d9edf3;
  padding: 22px 0;
}

@media (max-width: 991px) {
  .top-bar {
    display: none;
  }

  .doctivo-header .row {
    display: flex;
    align-items: center;
  }

  .doctivo-header .logo {
    justify-content: center;
    min-height: 70px;
  }

  .menu-2 {
    display: none;
  }

  #page .header {
    background: transparent;
  }

  .home-slider {
    min-height: 560px;
  }

  .product-toolbar {
    display: block;
  }

  .product-actions {
    padding-top: 0;
  }
}

@media (max-width: 767px) {
  .sub-banner {
    min-height: 190px;
  }

  .sub-banner .detail {
    padding: 48px 0 42px;
  }

  .doctivo-section {
    padding: 46px 0;
  }

  .home-slider {
    min-height: 520px;
  }

  .home-slide__content {
    padding: 70px 20px 110px;
  }

  .home-slider__dots {
    bottom: 86px;
  }

  .home-slider__nav {
    display: none;
  }

  .home-slide__content h1 span,
  .home-slide__content h1 strong {
    font-size: clamp(26px, 8vw, 42px);
    margin-bottom: 10px;
    padding: 12px 18px;
  }

  .home-appointment {
    left: 16px;
    min-height: 58px;
    width: calc(100vw - 32px);
  }

  .home-appointment a {
    font-size: 19px;
    padding: 16px 22px;
  }

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

  .product-actions {
    flex-wrap: wrap;
  }

  .product-table {
    min-width: 0;
  }

  .product-table thead {
    display: none;
  }

  .product-table,
  .product-table tbody,
  .product-table tr,
  .product-table td {
    display: block;
    width: 100%;
  }

  .product-table tr {
    border-bottom: 1px solid var(--doctivo-line);
    padding: 12px 0;
  }

  .product-table td {
    border-bottom: 0;
    display: grid;
    gap: 10px;
    grid-template-columns: 120px 1fr;
    padding: 8px 14px;
  }

  .product-table td::before {
    color: var(--doctivo-blue);
    content: attr(data-label);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
  }

  .product-table td:first-child {
    min-width: 0;
  }
}
