/********** Template CSS **********/
:root {
  --primary: #c31807;
  --secondary: #354f8e;
  --light: #eff5f9;
  --dark: #1d2a4d;
}

.btn {
  font-weight: 700;
  transition: 0.5s;
}
.text-primary {
  color: #c31807 !important;
}

.btn:hover {
  -webkit-box-shadow: 0 8px 6px -6px #555555;
  -moz-box-shadow: 0 8px 6px -6px #555555;
  box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
  color: #ffffff;
}

.btn-square {
  width: 36px;
  height: 36px;
}

.btn-sm-square {
  width: 28px;
  height: 28px;
}

.btn-lg-square {
  width: 46px;
  height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 0;
  border-radius: 50% 50% 0 0;
  z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
  font-family: "Jost", sans-serif;
  position: relative;
  margin: auto 0.2rem;
  padding: 1rem 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  outline: none;
  transition: 0.5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (min-width: 992px) {
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 5px;
    bottom: 0;
    left: 50%;
    background: var(--primary);
    transition: 0.5s;
  }

  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: 100%;
    left: 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link {
    margin: 0;
    padding-top: 0.5rem;
  }
}

.hero-header {
  background: url(../img/banner-img.jpg) top right no-repeat;
  background-size: cover;
}

.service-item {
  position: relative;
  /*height: 350px;*/
  padding: 0 30px;
  transition: 0.5s;
}

.service-item .service-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
}

.service-item .service-icon i {
  transform: rotate(15deg);
}

.service-item a.btn {
  position: absolute;
  width: 60px;
  bottom: -48px;
  left: 50%;
  margin-left: -30px;
  opacity: 0;
}

.service-item:hover a.btn {
  bottom: -24px;
  opacity: 1;
}

.price-carousel::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  background: var(--primary);
  border-radius: 8px 8px 50% 50%;
  z-index: -1;
}

.price-carousel .owl-nav {
  margin-top: 35px;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
  position: relative;
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #ffffff;
  font-size: 22px;
  border-radius: 45px;
  transition: 0.5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

@media (min-width: 576px) {
  .team-item .row {
    height: 350px;
  }
}

.team-carousel .owl-nav {
  position: absolute;
  padding: 0 45px;
  width: 100%;
  height: 45px;
  top: calc(50% - 22.5px);
  left: 0;
  display: flex;
  justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

.testimonial-carousel .owl-dots {
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  background: var(--light);
  border: 2px solid var(--primary);
  border-radius: 20px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 40px;
  height: 40px;
  background: var(--primary);
}

.testimonial-carousel .owl-item img {
  width: 150px;
  height: 150px;
}

/* card-style 1 */
:root {
  /* Colors */
  --brand-color: #c31807;
  --black: hsl(0, 0%, 100%);
  --white: hsl(0, 0%, 100%);
  /* Fonts */
  --font-title: "Montserrat", sans-serif;
  --font-text: "Lato", sans-serif;
}
.card__title {
  font-size: 2.25rem;
  font-family: var(--font-title);
  color: var(--white);
  line-height: 1.1;
}

.card__description {
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--white);
}

.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

/* CARD COMPONENT */

.card {
  display: grid;
  place-items: center;
  width: auto;
  /* max-width: 21.875rem; */
  height: 28.125rem;
  overflow: hidden;
  border-radius: 0.625rem;
  box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
}

.card > * {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.card__background {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

.card__content {
  --flow-space: 0.9375rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: flex-end;
  /* height: 55%; */
  padding: 12% 1.25rem 1.875rem;
  background: linear-gradient(
    180deg,
    hsla(0, 0%, 0%, 0) 0%,
    hsla(0, 0%, 0%, 0.3) 10%,
    hsl(0, 0%, 0%) 100%
  );
}

.card__content--container {
  --flow-space: 1.25rem;
}

.card__title {
  position: relative;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
}

.card__title::after {
  content: "";
  position: absolute;
  height: 0.3125rem;
  width: calc(100% + 1.25rem);
  bottom: calc((1.25rem - 0.5rem) * -1);
  left: -1.25rem;
  background-color: var(--brand-color);
}

.card__button {
  padding: 0.75em 1.6em;
  width: fit-content;
  width: -moz-fit-content; /* Prefijo necesario para Firefox  */
  font-variant: small-caps;
  font-weight: bold;
  border-radius: 0.45em;
  border: none;
  background-color: var(--brand-color);
  font-family: var(--font-title);
  font-size: 1.125rem;
  color: var(--black);
}

.card__button:focus {
  outline: 2px solid black;
  outline-offset: -5px;
}

@media (any-hover: hover) and (any-pointer: fine) {
  .card__content {
    transform: translateY(62%);
    transition: transform 500ms ease-out;
    transition-delay: 500ms;
  }

  .card__title::after {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 1000ms ease-in, transform 500ms ease-out;
    transition-delay: 500ms;
    transform-origin: right;
  }

  .card__background {
    transition: transform 500ms ease-in;
  }

  .card__content--container > :not(.card__title),
  .card__button {
    opacity: 0;
    transition: transform 500ms ease-out, opacity 500ms ease-out;
  }

  .card:hover,
  .card:focus-within {
    transform: scale(1.05);
    transition: transform 500ms ease-in;
  }

  .card:hover .card__content,
  .card:focus-within .card__content {
    transform: translateY(0);
    transition: transform 500ms ease-in;
  }

  .card:focus-within .card__content {
    transition-duration: 0ms;
  }

  .card:hover .card__background,
  .card:focus-within .card__background {
    transform: scale(1.3);
  }

  .card:hover .card__content--container > :not(.card__title),
  .card:hover .card__button,
  .card:focus-within .card__content--container > :not(.card__title),
  .card:focus-within .card__button {
    opacity: 1;
    transition: opacity 500ms ease-in;
    transition-delay: 1000ms;
    margin-bottom: -5px;
  }

  .card:hover .card__title::after,
  .card:focus-within .card__title::after {
    opacity: 1;
    transform: scaleX(1);
    transform-origin: left;
    transition: opacity 500ms ease-in, transform 500ms ease-in;
    transition-delay: 500ms;
  }
}
/* card-style */

/* card-style-2 */
@import url("https://pro.fontawesome.com/releases/v6.0.0-beta1/css/all.css");
@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@300;500;700&display=swap");

.booking-process-wrapper {
  --color: rgba(30, 30, 30);
  --bgColor: rgba(245, 245, 245);
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 2rem;
  padding: 2rem;
  font-family: "Exo 2", sans-serif;
  color: var(--color);
  background: var(--bgColor);
}

.booking-processs {
  /* width: min(60rem, 90%); */
  margin-inline: auto;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;

  list-style: none;
  counter-reset: stepnr;
}

li:nth-child(6n + 1) {
  --accent-color: #b8df4e;
}
li:nth-child(6n + 2) {
  --accent-color: #4cbccb;
}
li:nth-child(6n + 3) {
  --accent-color: #7197d3;
}
li:nth-child(6n + 4) {
  --accent-color: #ae78cb;
}
li:nth-child(6n + 5) {
  --accent-color: #7dc7a4;
}
li:nth-child(6n + 6) {
  --accent-color: #f078c2;
}

.booking-processs li {
  counter-increment: stepnr;
  width: 18rem;
  --borderS: 2rem;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: calc(var(--borderS) + 2rem);
  position: relative;
}
.booking-processs li::before,
.booking-processs li::after {
  inset: 0;
  position: absolute;
  border-radius: 50%;
  border: var(--borderS) solid var(--bgColor);
  line-height: 1.1;
}
.booking-processs li::before {
  content: counter(stepnr);
  color: var(--accent-color);
  padding-left: 10rem;
  font-size: 12rem;
  font-weight: 700;
  overflow: hidden;
}

.booking-processs li::after {
  content: "";
  filter: drop-shadow(-0.25rem 0.25rem 0.0675rem rgba(0, 0, 0, 0.75)) blur(5px);
}

.booking-processs li > * {
  width: 7.5rem;
}
.booking-processs li .icon {
  font-size: 2rem;
  color: var(--accent-color);
  text-align: center;
}
.booking-processs li .title {
  font-size: 2rem;
  font-weight: 500;
}
ol li .descr {
  font-size: 0.8rem;
  font-weight: 300;
}

.credits {
  margin-top: 2rem;
  text-align: right;
}
.credits a {
  color: var(--color);
}
/* card-style-2 */

.middle-banner {
  height: 40vh;
}
.middle-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.service-icon img {
  width: 100%;
  height: 100%;
}
.service-box-footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid black;
  margin-top: 20px;
  padding-top: 5px;
}
.service-box-footer span {
  color: #000;
}
.blog-detail-image img {
  width: 100%;
}
.lab-details {
  padding: 2rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}
.lab-details img {
  width: 100%;
}
.lab-details p {
  font-size: 18px;
  color: #000;
  text-align: center;
  margin-top: 10px;
}
.test-details-box {
  padding: 15px 10px 15px 10px;
  background-color: #c31807;
  border: 1px solid #000;
  border-radius: 5px;
}
.test-details-box p,
.test-details-box h4 {
  color: #fff;
}
.test-service-box {
  text-align: center;
  box-shadow: 0 0 0 0.05rem rgba(8, 60, 130, 0.06),
    0 0 1.25rem rgba(30, 34, 40, 0.04);
  padding: 0.75rem;
}
.test-service-box img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}
.test-service-box p {
  font-size: 20px;
  color: #000;
  margin-top: 10px;
}
.collapse-link {
  font-size: 20px;
  font-weight: 600;
  color: #c31807;
}
.test-amount h1,
.test-amount h3 {
  font-weight: 500 !important;
}
.test-highlighted-box {
  background-color: #c31807;
  padding: 2rem;
  /* width: max-content; */
  margin: 10px 0 20px 0;
}
.test-highlighted-box p,
.test-highlighted-box h4 {
  color: #fff;
}

.heart {
  font-size: 150px;
  color: #e00;
  animation: beat 0.25s infinite alternate;
  transform-origin: center;
}
.lab-and-collection-para {
  margin: 2rem 0;
  font-size: 18px;
}
.gallery-images {
  width: 100%;
  height: 300px;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  padding: 10px;
  border-radius: 10px;
  transition: 0.3s ease;
}
.gallery-images:hover {
  box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
    rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
    rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
.gallery-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.gallery-images iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.search {
  display: flex;
  justify-content: center;
  gap: 1px;
}
.search input {
  width: 400px;
}
.search button {
  background-color: #c31807;
  color: #fff;
  border-color: #fff;
}
.profile-wrapper {
  /* max-width: 800px; */
  box-shadow: rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
    rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
    rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
  margin: 20px auto;
  padding: 20px;
}
.profileBtn,
.invoiceBtn,
.testBtn {
  cursor: pointer;
}
.profile-details {
  font-size: 18px;
}
.profile-details label {
  color: #000;
}
.show {
  display: block !important;
}
.hidden {
  display: none;
}
.user-link i {
  font-size: 30px;
}
.banner-item img{
    width: 100%;
    height: 100%;
    object-fit: cover
    position:relative;
}

.banner-text{
    position:absolute;
    top:50%;
    left:50%;
    
}


.marquee{
    color: #000;
}

/* login-page */
.login-page {
  background-color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}
.login-title {
  color: #c31807;
  font-weight: bold;
}
.btn-primary {
  background-color: #c31807;
  border-color: #c31807;
}
.btn-primary:hover {
  background-color: #a51406;
  border-color: #a51406;
  color: #fff;
}
/* login-page */
/* signup-page */
.signup-page {
  background-color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.signup-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}
.signup-title {
  color: #c31807;
  font-weight: bold;
}
.btn-primary {
  background-color: #c31807;
  border-color: #c31807;
}
.btn-primary:hover {
  background-color: #a51406;
  border-color: #a51406;
}
/* signup-page */
/* forget-password */
.forget-password-page {
  background-color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.password-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}
.password-title {
  color: #c31807;
  font-weight: bold;
}
.btn-primary {
  background-color: #c31807;
  border-color: #c31807;
}
.btn-primary:hover {
  background-color: #a51406;
  border-color: #a51406;
}
/* forget-password */
/* change-password */
.change-password-page {
  background-color: #fff;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.password-container {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}
.password-title {
  color: #c31807;
  font-weight: bold;
}
.btn-primary {
  background-color: #c31807;
  border-color: #c31807;
  padding:10px 10px 10px 10px ;
  border-radius:10px;
  }
.btn-primary:hover {
  background-color: #a51406;
  border-color: #a51406;
}
/* change-password */


/* Heart beat animation */

@keyframes beat {
  to {
    transform: scale(1.2);
  }
}

@media (max-width: 426px) {
  .navbar-brand img {
    width: 250px;
    height: 100%;
  }
}
@media (max-width: 376px) {
  .navbar-brand img {
    width: 200px;
    height: 100%;
  }
}

/* custom-progress-section */
.ag-format-container {
  width: 1142px;
  margin: 0 auto;
}
.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  /*padding: 50px 0;*/
}
.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);

  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;

  margin: 0 15px 30px;

  overflow: hidden;

  border-radius: 28px;
}
.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #fff;
  height: 265px;

  overflow: hidden;

  position: relative;
}
.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #fff;
}
.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(10);
}
.ag-courses-item_title {
  min-height: 87px;
  margin: 0 0 25px;

  overflow: hidden;

  font-weight: bold;
  font-size: 26px;
  color: #000;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date-box {
  font-size: 18px;
  color: #000;

  z-index: 2;
  position: relative;
}
.ag-courses-item_date {
  font-weight: bold;
  color: #000;

  -webkit-transition: color 0.5s ease;
  -o-transition: color 0.5s ease;
  transition: color 0.5s ease;
}
.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #c31807;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.ag-courses_item:nth-child(2n) .ag-courses-item_bg {
  background-color: #c31807;
}
.ag-courses_item:nth-child(3n) .ag-courses-item_bg {
  background-color: #c31807;
}
.ag-courses_item:nth-child(4n) .ag-courses-item_bg {
  background-color: #c31807;
}
.ag-courses_item:nth-child(5n) .ag-courses-item_bg {
  background-color: #c31807;
}
.ag-courses_item:nth-child(6n) .ag-courses-item_bg {
  background-color: #c31807;
}

@media (max-width: 1200px) {
  .ag-format-container {
    width: 96%;
  }
  .ag-courses-item_title {
    font-size: 24px;
  }
}
@media only screen and (max-width: 979px) {
  .ag-courses_item {
    -ms-flex-preferred-size: calc(50% - 30px);
    flex-basis: calc(50% - 30px);
  }
  .ag-courses-item_title {
    font-size: 24px;
  }
  .ag-format-container {
    width: 96%;
  }
}

@media only screen and (max-width: 768px) {
  .ag-format-container {
    width: 96%;
  }
  .ag-courses-item_title {
    font-size: 22px;
  }
}
@media only screen and (max-width: 639px) {
  .ag-courses_item {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .ag-courses-item_link {
    height: auto;
  }
  .ag-courses-item_title {
    min-height: 72px;
    line-height: 1;

    font-size: 24px;
  }
  .ag-courses-item_link {
    padding: 22px 40px;
  }
  .ag-courses-item_date-box {
    font-size: 16px;
  }
}
/* custom-progress-section */


.owl-nav-custom-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.owl-carousel {
  flex: 1;
}

.custom-prev,
.custom-next {
  background-color: #c31807;
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
}

.custom-prev {
  left: -40px;
}

.custom-next {
  right: -40px;
}




.nbmae-section {
  padding: 60px 20px;
  background: #fbfdff;
  color: #222;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}
.nbmae-section .container {
  max-width: 980px;
  margin: 0 auto;
}

/* ---------- Headings ---------- */
.nbmae-h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 700;
  color: #0b2340;
  text-align: left;
}
.nbmae-h2 {
  font-size: 1.25rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: #0b2340;
  font-weight: 700;
}

/* ---------- Intro / paragraphs ---------- */
.lead {
  font-size: 1.02rem;
  color: #333;
  margin-bottom: 18px;
}
.lead-sm {
  font-size: 1rem;
  color: #444;
  margin-bottom: 12px;
}
.note {
  color: #444;
  margin-top: 12px;
  margin-bottom: 18px;
}

/* ---------- Benefits list (bulleted) ---------- */
.benefits {
  list-style: none;
  padding: 0;
  margin: 6px 0 18px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.benefits li {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 6px 18px rgba(11,35,64,0.04);
  border-left: 4px solid #c31807;
  font-size: 0.99rem;
}

/* ---------- Test list with checkmarks ---------- */
.test-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 18px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.test-list li {
  padding: 10px 12px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eef3f7;
  position: relative;
  font-size: 0.99rem;
}
.test-list li::before {
  content: "✓";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #c31807;
  color: #fff;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}

/* Ensure list text doesn't overlap checkmark */
.test-list li { padding-left: 44px; }

/* ---------- Steps / ordered list ---------- */
.steps {
  margin-left: 18px;
  color: #333;
  font-size: 0.98rem;
}


/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  .nbmae-section { padding: 34px 16px; }
  .nbmae-h1 { font-size: 1.6rem; }
  .nbmae-h2 { font-size: 1.05rem; }
  .test-list { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .btn-primary {text-align: center; padding: 14px; }
}

/* ---------- Accessibility tweaks ---------- */
.nbmae-section a.btn-primary:focus { outline: 3px solid rgba(47,208,251,0.25); outline-offset: 3px; }

/* ---------- Optional small utility ---------- */
.container p, .container li { line-height: 1.6; color: #fff; }




#why-choose-pet-ct {
  padding: 50px 20px;
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

#why-choose-pet-ct .container {
  max-width: 800px;
  margin: auto;
}

#why-choose-pet-ct h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #333;
}

.pet-ct-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pet-ct-list li {
  background-color: #fff;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  color:#000;
}

.pet-ct-list li:hover {
  background-color: #c31807;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}


#pet-ct-benefits {
  padding: 50px 20px;
  background-color: #ffffff;
  font-family: Arial, sans-serif;
}

#pet-ct-benefits .container {
  max-width: 800px;
  margin: auto;
}

#pet-ct-benefits h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

#pet-ct-benefits p {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 30px;
  color: #555;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  background-color: #e8f8ff;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  color:#000;
}

.benefit-list li:hover {
  background-color: #c31807;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}


/* Section styling */
section {
  padding: 40px 0;
  background: #f8fafc;
  font-family: Arial, sans-serif;
}

/* Heading */
section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: #0f172a;
}

/* List styling */
section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

section ul li {
  background: #ffffff;
  padding: 16px 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 18px;
  line-height: 1.6;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Strong text color */
section ul li strong {
  color: #000000;
}

/* Hover effect */
section ul li:hover {
    transform: translateY(-6px);
    background: #c31807;
    border-color: #c31807;
    box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
    color: #fff;
    cursor: pointer;
}


/* MRI Cost Section */
#mri-cost {
  padding: 30px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  max-width: 950px;
  margin: 30px auto;
  font-family: Arial, sans-serif;
}

#mri-cost h2 {
  font-size: 26px;
  margin-bottom: 14px;
  font-weight: 700;
}

#mri-cost p {
  font-size: 16px;
  color: #333;
  margin-bottom: 22px;
}

.mri-grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.mri-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  min-width: 200px;
  flex: 1 1 200px;
  max-width: 220px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.mri-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 4px 12px rgb(0 0 0 / 12%);
    background: #c31807;
}

.mri-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.mri-card p {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

#mri-cost .note {
  font-size: 15px;
  color: #111;
  margin: 16px 0;
}

.cta {
  margin-top: 20px;
}

.btn {
  display: initial;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.mri-card:hover {
  background: #c31807; /* red background */
  color: #fff; /* text white */
}

.mri-card:hover h3 {
  color: #fff;
}


.mri-card:hover p {
  color: #fff;
}


/* MRI Types Section */
#mri-types {
  padding: 40px 16px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  max-width: 1100px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
}

#mri-types h2 {
  font-size: 26px;
  margin-bottom: 12px;
  font-weight: 700;
}

#mri-types p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #444;
}

.mri-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.mri-type-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.mri-type-card:hover {
  background: #c31807;
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.mri-type-card .icon {  
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.mri-type-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.mri-type-card p {
  font-size: 15px;
  margin: 0;
}

.mri-type-card:hover h3{
    color:#fff;
}

/* FAQ Section */
.faq-section {
  background: #f8f9fa;
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.faq-box {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: #fff;
  border: none;
  outline: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

/*.faq-question:hover {*/
/*  background: #f1f1f1;*/

/*}*/

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
  padding: 0 20px;
}

.faq-answer p {
  margin: 15px 0;
  font-size: 1rem;
  color: #555;
}

.faq-question .icon {
  font-size: 1.4rem;
  font-weight: bold;
  transition: transform 0.3s;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* adjust as per content */
}

.faq-item.active .faq-question .icon {
  transform: rotate(45deg); /* + becomes x (- like effect) */
}


#benefits {padding:30px; background:#fff; font-family:Arial, sans-serif;}
    #benefits h2 {color:#04674f; margin-bottom:15px;}
    #benefits ul {list-style:none; margin:0; padding:0;}
    #benefits li {margin-bottom:10px; padding:10px 15px; background:#f8fbff; border-radius:6px; color:#334155; transition:all 0.3s ease; cursor:pointer;}
    #benefits li:hover {background:#c31807; color:#fff; transform:translateX(5px);}



a.book-sec {
    background: #c31807;
    padding: 20px 30px;
    border-radius: 10px;
    color: white;
}




  #why-choose {padding:30px; background:#f8fbff; font-family:Arial, sans-serif;}
    #why-choose h2 {color:#04674f; margin-bottom:15px;}
    #why-choose ul {list-style:none; margin:0; padding:0;}
    #why-choose li {margin-bottom:10px; padding:10px 15px; background:#fff; border-radius:6px; color:#334155; transition:all 0.3s ease; cursor:pointer; box-shadow:0 2px 6px rgba(0,0,0,0.05);}
    #why-choose li:hover {background:#c31807; color:#fff; transform:translateX(5px);}
    
   
    #intro-checkup {padding:50px 0; background:#fff; font-family:Arial, sans-serif;}
    #intro-checkup h2 {color:#04674f; margin-bottom:15px;}
    #intro-checkup p {color:#334155; margin-bottom:15px;}
    #intro-checkup .btn {display:inline-block; background:#c31807; color:#fff; padding:10px 20px; text-decoration:none; border-radius:5px;}
    #intro-checkup .btn:hover {background:#c31807;}
    .text-box {padding:15px;}
    .image-box {padding:15px; text-align:center;}
    .image-box img {max-width:100%; border-radius:8px;}



    .faq-item {margin-bottom:15px; border-radius:6px; background:#fff; box-shadow:0 2px 6px rgba(0,0,0,0.05);}
    .faq-question {width:100%; text-align:left; padding:15px; font-size:16px; border:none; background:#ffffff; cursor:pointer; border-radius:6px; display:flex; justify-content:space-between; align-items:center; color:#000000; font-weight:600; transition:all 0.3s;}
    .faq-question:hover {background:#c31807; color:#fff; }
    .faq-answer {padding:0 15px; max-height:0; overflow:hidden; transition:max-height 0.3s ease; color:#334155;}
    .faq-answer p {margin:10px 0;}
    .plus {font-size:20px; transition: transform 0.3s;}
    .faq-item.active .faq-answer {max-height:200px;}
    .faq-item.active .plus {transform: rotate(45deg);}
    

    
    section {
  background: #f9fbfd; /* halka grey/blue background */
  padding: 60px 0;
}

section h1 {
  font-size: 28px;
  font-weight: 700;
  color: #0d2f66;
  line-height: 1.4;
}

section h4 {
  font-size: 20px;
  font-weight: 600;
  color: #1e4fa1;
}

section p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

section img {
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

section img:hover {
  transform: scale(1.05); /* hover zoom effect */
}


.mri-section {
    align-items: center;
    color: #000; /* black text for entire section */
  }

  .mri-section a {
    color: #000;
    text-decoration: underline;
  }

  .mri-section a:hover {
    color: #007bff; /* optional blue hover effect */
  }

  .mri-section-left h1,
  .mri-section-left h4,
  .mri-section-left p {
    color: #000;
  }

    
    

  .mri-section {
    background-color: #fff; /* optional: white background for better contrast */
    color: #000; /* make all text black */
  }

  .mri-section h2,
  .mri-section p,
  .mri-section li,
  .mri-section a {
    color: #000; /* ensure every element is black */
  }

  .mri-section a:hover {
    color: #c31807; /* optional hover color */
    text-decoration: underline;
  }


.pet-ct-title {
  color: #000;
}

p.pet-ct-title {
    color: #000;
}


.echo-list li {
    color: #000;
}

.echo-benefits-list li {
    color: #000;
}
    
 p.echo-info-text {
    color: #000;
}

p.whole-body-text {
    color: #000;
}

.test-list li {
    color: #000;
}


.benefits li {
    color: #000;
}

p.lead {
    color: #000;
}

p.note {
    color: #000;
}

p.ext-sec {
    color: #000;
}

.ext-sec-nw li {
    color: #000;
}
