/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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;
}

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

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

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
     #header-carousel .carousel-item img {
        height: 600px;
        object-fit: cover;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/main.jpeg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/main.jpeg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}

.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-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: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

/* vsion start */

    .vision-mission-section {
      padding: 80px 15px;
    }

    .section-title1 {
      font-size: 3rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 60px;
      /* color: #1c6f4a; */
      color: #06A3DA;
    }

    .card-custom {
      border: none;
      border-radius: 20px;
      background: #ffffff;
      padding: 40px 30px;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-custom:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .card-icon {
      font-size: 2.5rem;
      /* color: #198754; */
      color: #06A3DA;
      margin-bottom: 20px;
    }

    .card-title {
      font-size: 1.8rem;
      font-weight: 600;
      margin-bottom: 20px;
      /* color: #198754; */
      color: #06A3DA;
    }

    .card-text, ul li {
      font-size: 1.05rem;
      line-height: 1.8;
    }

    ul {
      padding-left: 1rem;
    }

    ul li::marker {
      /* color: #198754; */
      color: #06A3DA;
    }



    /* lab service */
   /*  */


    .card {
      margin-bottom: 20px;
    }

     .card-header {
      background-color: #06A3DA ;
      color: #fff;
    }
        .section-title {
      text-align: center;
      font-weight: bold;
      text-transform: uppercase;
      margin: 30px 0 40px;
      padding-bottom: 10px;
      border-bottom: 3px solid #007bff;
    }
    ul {
      padding-left: 1.2rem;
    }

    /* insurance start */

 /* Section Title */
.section-title h2, .section-title h3 {
  font-weight: 700;
  color: #003366;
  text-align: center;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title h2::after, .section-title h3::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #007bff;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* Insurance List Section */
.insurance-list-section {
  background: #f4f9ff;
  border-radius: 10px;
  padding: 20px 30px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.insurance-list li {
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
  padding: 6px 0;
  border-bottom: 1px dashed #ccc;
}

.insurance-list li strong {
  color: #0056b3;
}

/* Logo Section */
.logo-section {
  background-color: #ffffff;
  border-top: 2px solid #007bff;
  padding: 40px 0;
  border-radius: 10px;
  margin-top: 20px;
}

.logo-grid .col {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-grid .col:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.logo-size {
  max-width: 100%;
  /* max-height: 80px; */
  object-fit: contain;
  margin: 0 auto;
  border-radius: 10px;
  padding: 5px;
  background-color: #f8f9fa;
}

/* Responsive Grid Tweak */
@media (max-width: 576px) {
  .logo-size {
    max-width: 70px;
    max-height: 60px;
  }
  .insurance-list li {
    font-size: 0.95rem;
  }
}


/* faclities */

    .facilities-section {
      padding: 60px 15px;
    }

    .facility-card {
      background:#e7f0fa;
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
      text-align: center;
      padding: 30px 20px;
      transition: all 0.3s ease-in-out;
      height: 100%;
    }

    .facility-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .facility-icon {
      font-size: 2.5rem;
      color: #0d6efd;
      margin-bottom: 15px;
    }

    .facility-title {
      font-weight: 600;
      font-size: 1.1rem;
      color: #1d3557;
    }

    .facility-text {
      font-size: 0.9rem;
      color: #555;
    }

    @media (max-width: 576px) {
      .facility-icon {
        font-size: 2rem;
      }
    }


/* offer  banner */

.carousel .col-md-4 {
    padding: 5px;
}

/* about history start */


    .history-section {
      background-color: #ebf0f1;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      padding: 30px;
      margin-bottom: 30px;
    }

    .section-title {
      font-size: 1.8rem;
      font-weight: 600;
      color: #0d6efd;
      margin-bottom: 15px;
      border-left: 5px solid #0d6efd;
      padding-left: 12px;
    }

    .container-custom {
      max-width: 900px;
      margin: 0 auto;
      padding: 40px 15px;
    }

    /* footer {
      background-color: #0d6efd;
      color: white;
      padding: 20px 0;
      text-align: center;
      margin-top: 50px;
    } */

    @media (max-width: 768px) {
      .section-title {
        font-size: 1.5rem;
      }
    }



/* blog  */

.blog-card {
      transition: transform 0.3s ease;
    }
    .blog-card:hover {
      transform: scale(1.02);
    }

    
 /* blog details (news) start  */
    
      .news-container {
      max-width: 900px;
      background-color: #fff;
      margin: auto;
      padding: 2.5rem 2rem;
      box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
    }

    .headline {
      font-family: 'Playfair Display', serif;
      font-size: 2.8rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      line-height: 1.2;
    }

    .subheadline {
      font-size: 1.25rem;
      color: #666;
      margin-bottom: 0.75rem;
      font-style: italic;
    }

    .meta-info {
      font-size: 0.9rem;
      color: #999;
      margin-bottom: 1.5rem;
    }

    .article-text p {
      font-size: 1.1rem;
      line-height: 1.9;
      margin-bottom: 1.3rem;
      text-align: justify;
    }

    .image-gallery {
      margin-top: 2rem;
    }

    .image-gallery img {
      width: 100%;
      border-radius: 6px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      transition: transform 0.2s ease;
    }

    .image-gallery img:hover {
      transform: scale(1.02);
    }

    @media (max-width: 576px) {
      .headline {
        font-size: 2rem;
      }
      .subheadline {
        font-size: 1rem;
      }
      .article-text p {
        font-size: 1rem;
      }
    }

    .whatsapp-pulse {
    position: relative;
    width: 60px;
    height: 60px;
}

.whatsapp-button {
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* background-color: #ffff; #25d366 */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-decoration: none;
}
.whatsapp-pulse {
    position: fixed;
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    z-index: 9999; /* Ensure it appears on top of other content */
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Optional: adds a shadow to make it stand out */
}

.whatsapp-button img {
    width: 60px; /* Adjust image size */
    height: 60px; /* Adjust image size */
}


.whatsapp-pulse::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform : translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /* background-color: #25d366; */
    border-radius: 50%;
    z-index: 0;
    animation: pulse 1.5s infinite;
    opacity: 0.5;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform : translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform : translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform : translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}
/* End whatsup */