:root {
  --primary-blue: #1877f2;
  --white: #ffffff;
  --black: #000000;
  --black-light: #101010;
  --gray: #f8f9fa;
  --green: #44f734;
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --font-lato: 'Lato', sans-serif;
  --footer-bg: #091426;
}

.primary-blue {
  color: var(--primary-blue);
}

.text-black {
  color: var(--black);
}

body {
  font-family: var(--font-lato);
  background-color: var(--white);
  color: var(--black);
  margin: 0;
  padding: 0;
}

.top-bar {
  background-color: var(--primary-blue);
  font-size: 14px;
}

.tob-info {
  font-size: 14px;
}

.tob-info span {
  font-size: 14px;
}

.social-icon {
  background-color: var(--white);
  color: var(--primary-blue);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.social-icon:hover {
  background-color: #e0e0e0;
}

.logo-underline {
  display: block;
  height: 2px;
  background-color: var(--primary-blue);
  margin-top: 3px;
  width: 100%;
}

.navbar-nav .nav-link {
  font-size: 15px;
}

.btn-primary {
  background-color: var(--primary-blue);
  border: none;
}

.btn-primary:hover {
  background-color: #136fe3;
}

.navbar-brand small {
  font-size: 10px;
  letter-spacing: 0.5px;
}

.search-form input::placeholder {
  font-size: 14px;
}

.bottom-menu .nav-link.active {
  color: var(--black-light) !important;
}

.bg-primary-blue {
  background-color: var(--primary-blue);
}

.search-form .btn:hover {
  background: var(--black);
}

.offcanvas-body h6 {
  margin-top: 1rem;
  font-size: 13px;
  text-transform: uppercase;
}

@media (max-width: 480px) {
  .bottom-menu {
    display: none;
  }

  .search-form {
    width: 100% !important;
  }

  .tob-info span {
    display: none;
  }

  .tob-info i {
    font-size: 18px;
  }
  .header-actions .navbar-brand img {
    max-width: 45%;
}
}

.footer {
  background-color: var(--footer-bg);
  color: #fff;
  font-size: 15px;
}

.footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 20px;
}
.footer .col-md-6 input {
    width: 100%;
    height: 57px;
    border-radius: 50px;
    padding: 0 20px;
}
.footer .col-md-6 button.btn {
    border-radius: 50px;
    padding: 0 25px;
    color: #fff;
    min-width: 165px;
}

.footer h3 {
    font-size: 40px;
    font-weight: 600;
}

.footer ul {
  padding-left: 0;
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: #f0f0f0;
  text-decoration: none;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #fff;
}

.footer .subscribe-box input[type="email"] {
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  outline: none;
  width: 100%;
  max-width: 300px;
}

.footer .subscribe-box button {
  background-color: #28c76f;
  border: none;
  padding: 10px 25px;
  margin-left: 10px;
  border-radius: 25px;
  color: #fff;
  font-weight: 600;
}

.footer .footer-bottom {
  background-color: var(--primary-blue);
  padding: 15px 0;
}

.footer .footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: white;
}

.footer .footer-bottom .social-icon {
  background-color: var(--white);
  color: var(--primary-blue);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  text-decoration: none;
  margin-left: 10px;
}

.footer .logo {
  width: 50%;
  padding-bottom: 20px;
}

.bg-success {
  background-color: var(--green);
}

/* <!-- ===================Body CSS star hear ======================--> */




/* Consult Top Doctors Online */


.section-title h2 {
  font-size: 28px;
  font-weight: bold;
}

.section-title h2 span {
  color: #007bff;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 10px;
}

.slider::-webkit-scrollbar {
  display: none;
}

.card-box {
  flex: 0 0 auto;
  width: 180px;
  margin: 0 10px;
  text-align: center;
}

.card-box i {
  font-size: 40px;
  color: #007bff;
  margin-bottom: 10px;
}

.card-box p {
  font-size: 14px;
  margin: 5px 0;
}

.card-box a {
  font-size: 13px;
  color: #00aaff;
  text-decoration: none;
  font-weight: 500;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid #ddd;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.slider-arrow.left {
  left: 5px;
}

.slider-arrow.right {
  right: 5px;
}

/* our-appointment */
.doctor-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 15px;
  text-align: center;
}

.doctor-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.doctor-card h6 {
  font-weight: 600;
  margin-top: 15px;
}

.doctor-card p {
  font-size: 14px;
  color: #666;
}

.title-highlight {
  color: #007bff;
}

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


/* Our Trusted Clients */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: black;
  border-radius: 50%;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.testimonial-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.testimonial-stars {
  color: gold;
}

/* 👇 Added only this to fix jumping arrows */
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}


/* our-doctor serving */
.section-title {
  font-size: 2rem;
  font-weight: 700;
}

.section-title span {
  color: #007bff;
}

.city-icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.city-box {
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}

.city-box:hover .city-icon {
  transform: scale(1.1);
}

.city-name {
  font-weight: 500;
  font-size: 0.95rem;
}

/* our trusted-client */
.slider-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  position: relative;
}

.slider-title {
  text-align: center;
  margin-bottom: 20px;
}

.slider {
  display: flex;
  overflow: hidden;
  scroll-behavior: smooth;
}

.slide {
  flex: 0 0 100%;
  padding: 10px;
  box-sizing: border-box;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.testimonial-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  margin-top: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.testimonial-card img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.testimonial-info {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.testimonial-info div {
  margin-left: 10px;
}

.testimonial-stars {
  color: gold;
  margin-bottom: 5px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #000;
  cursor: pointer;
  border-radius: 50%;
  z-index: 1;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  margin: 0px auto;
  justify-content: center;
  box-shadow: 0px 2px 4px -2px;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* Responsive layout: show 1-4 slides per view */
@media (min-width: 600px) {
  .slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 900px) {
  .slide {
    flex: 0 0 33.33%;
  }
}

@media (min-width: 1200px) {
  .slide {
    flex: 0 0 25%;
  }
}

/* Gallery CSS */
.gallery-img {
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.modal-img {
  max-width: 100%;
  max-height: 80vh;
  margin: auto;
  display: block;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 2rem;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  z-index: 1000;
}

/* Gallery End */


/* counter-number */
.counter-section {
  padding: 60px 0;
  text-align: center;
}

.counter {
  font-size: 2rem;
  font-weight: 700;
  color: #007bff;
}

.counter-title {
  font-size: 1rem;
  color: #6c757d;
}

.icon-text {
  margin-top: 20px;
  font-weight: 600;
  color: #343a40;
}

.icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.view-all-btn {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.view-all-btn:hover {
  background-color: #0056b3;
  box-shadow: 0 6px 12px rgba(0, 123, 255, 0.4);
}
.navbar-brand img {
  max-width: 32%;
}
.sticky-top .navbar {
    box-shadow: 0px 2px 6px 0px #ddd;
    transition: all 0.5s ease;
}

@media screen and (min-width: 992px) {
.mobile-menu {
    display: none !important;
  }
}
@media screen and (max-width: 991.99px) {
.mobile-menu {
    display: block !important;
  }
  .desktop-menu {
    display: none !important;
  }
}
.book-medi-btn {
    position: fixed;
    right: 20px;
    z-index: 1050;
    bottom: 110px;
}

.book-medi-btn {
    background-color: #198754;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0px 2px 16px -6px #333;
    border: none;
}
.bootscore-footer span.post-date {
    color: #198754;
    padding-left: 5px;
}
.footer_widget h2.widget-title.h5 {
    margin-bottom: 30px;
}

h2.widget-title.h5 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 30px;

}
h2.widget-title.h5:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 128px;
    height: 3px;
    background: linear-gradient(to right, rgba(0, 255, 157, 1) 0%, rgba(4, 255, 157, 0.33) 40%, rgba(0, 0, 0, 0) 100%);
    border-radius: 660px;
    box-shadow: 0 0 65px #091426, 0 0 100px rgb(14 22 40);
    animation: glow 2s ease-in-out infinite alternate;
}


.footer_widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer_widget ul li {
  margin: 10px 0;
  position: relative;
}

.footer_widget ul li a {
  text-decoration: none;
  color: #a5b2c5; /* default gray */
  font-size: 15px;
  transition: 0.3s;
  padding-left: 20px;
  display: inline-block;
}

.footer_widget ul li::before {
  content: "›"; /* arrow icon */
  position: absolute;
  left: 0;
  color: #a5b2c5;
  transition: 0.3s;
}

.footer_widget ul li a:hover,
.footer_widget ul li a:focus {
  color: #198754; /* neon green on hover */
}

.footer_widget ul li:hover::before {
  color: #198754; /* arrow turns neon green */
}

.bootscore-footer .textwidget.custom-html-widget p {
    color: #a5b2c5 !important;
}
.bootscore-footer .textwidget.custom-html-widget p i {
    color: #00f698;
}
.footer-bottom span.text-white {
    color: #00f282 !important;
}
/* Pagination */
/* Wrapper */
.pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 20px;
}

/* All links */
.pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #0d6efd;
    background: #fff;
    transition: all 0.2s ease;
    font-size: 14px;
}

/* Hover */
.pagination .page-numbers:hover {
    background-color: #e9ecef;
    color: #0a58ca;
}

/* Active page */
.pagination .current {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
    pointer-events: none;
}

/* Next button */
.pagination .next {
    font-weight: 500;
}