:root {
  --primary: #3174d1;
  --secondary: #ebb915;
  --light: #eef9ff;
  --dark: #091e3e;
  --logoprimary: #3174d1;
  --logosecondary: #f3a158;
  --logosecondary_2: #f3a058d0;
  --logogreen: #b2cd26;
  --logolightgreen: #d6e489;
  --logopurple: #a92883;
  --logoyellow: #fecd05;
  --logomaroon: #e51b4c;
}
h1,
h2,
.font-weight-bold {
  font-weight: 700 !important;
}
.banner-h2 {
  font-weight: 700 !important;
  font-size: calc(1.425rem + 2.1vw);
}
h3,
h4,
.font-weight-semi-bold {
  font-weight: 600 !important;
}
h5,
h6,
.font-weight-medium {
  font-weight: 500 !important;
}
.btn {
  font-family: "Merriweather", sans-serif;
  font-weight: 600;
  transition: 0.5s;
}
.btn-primary,
.btn-secondary {
  color: #fff;
  background-color: #ebb915;
  border-radius: 10px;
}
.btn-primary:hover {
  background: transparent;
  border: 2px solid #ebb915;
  color: #ebb915;
}
.btn-danger {
  color: #ebb915;
  background-color: transparent;
  border: 2px solid #ebb915;
  border-radius: 10px;
}
.btn-danger:hover {
  color: #fff;
  background: #ebb915;
  border-color: #ebb915;
}
.btn-check:focus + .btn-danger,
.btn-danger:focus {
  color: #fff;
  background-color: #bb2d3b;
  border-color: #b02a37;
  box-shadow: 0 0 0 0.25rem rgb(225 83 97 / 0.5);
}
.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
}
.btn-square {
  width: 36px;
  height: 36px;
}
.btn-sm-square {
  width: 30px;
  height: 30px;
}
.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 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}
#spinner.show {
  transition:
    opacity 0.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: 25px;
  height: 100%;
  top: 0;
  left: -10px;
  background: #EBB915;
  border-radius: 8px 8px 8px 8px;
} */
.navbar-light .navbar-nav .nav-link {
  font-family: "Merriweather", sans-serif;
  /* padding: 23px 11px; */
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: 0.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(--logoprimary);
}
@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;
  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;
  }
}
.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(rgb(62 37 9 / 0.85), rgb(9 30 62 / 0.85)),
    url(../images/about-hospital/hospital-background-banner-nashik.webp) center
      center no-repeat;
  background-size: cover;
}
.bg-appointment {
  background-color: #3174d1;
  background-size: cover;
}
.appointment-form {
  background: rgb(239 127 26 / 0.85);
}
.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
  transition: 0.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 rgb(0 0 0 / 0.7);
  opacity: 0;
  transition: 0.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: rgb(239 127 26 / 0.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: 0.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: #fff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}
.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}
.video-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: 0.5s;
}
.video-carousel:hover .owl-nav {
  opacity: 1;
}
.video-carousel .owl-nav .owl-prev,
.video-carousel .owl-nav .owl-next {
  position: relative;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}
.video-carousel .owl-nav .owl-prev:hover,
.video-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 .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: #fff;
  background: var(--primary);
  border-radius: 2px;
  font-size: 22px;
  transition: 0.5s;
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--secondary);
}
.testimonial-carousel .owl-item img {
  width: 60px;
  height: 60px;
}
.emergency-section {
  background: #fef9f0;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-top: 5px solid #3174d1;
  border-bottom: 5px solid #3174d1;
}
.emergency-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  background: rgba(0, 184, 148, 0.05);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}
.emergency-section h2 {
  color: #1a1a1a;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
}
.emergency-section p {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}
.emergency-section .btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #3174d1;
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 15px;
  border: none;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 6px 22px rgba(243, 156, 18, 0.45);
}
.emergency-section .btn-emergency:hover {
  background: #d68910;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(243, 156, 18, 0.55);
}
.emergency-section .btn-emergency i {
  font-size: 18px;
  animation: ring 2s infinite;
}
@keyframes ring {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-15deg);
  }
  20% {
    transform: rotate(15deg);
  }
  30% {
    transform: rotate(0deg);
  }
}
.emergency-section .availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 184, 148, 0.1);
  border: 1px solid rgba(0, 184, 148, 0.3);
  color: #00917a;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.emergency-section .availability-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #ebb915;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}
.emergency-cards-scroll {
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.emergency-cards-scroll::-webkit-scrollbar {
  height: 4px;
}
.emergency-cards-scroll::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}
.emergency-cards-scroll::-webkit-scrollbar-thumb {
  background: #3174d1;
  border-radius: 10px;
}
.emergency-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-width: 160px;
  max-width: 160px;
  height: 200px;
  flex-shrink: 0;
  scroll-snap-align: start;
  cursor: pointer;
}
.emergency-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.emergency-card .icon-box img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
@media (min-width: 992px) {
  .emergency-cards-scroll {
    overflow-x: visible;
    flex-wrap: wrap;
  }
  .emergency-card {
    min-width: calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
    flex: none;
  }
  .emergency-section .row {
    justify-content: center;
  }
}
.emergency-card:hover {
  border-color: #3174d1;
  border-top-color: #3174d1;
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(243, 156, 18, 0.18);
}
.emergency-card:hover img {
  transform: scale(1.07);
}
.emergency-card .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px 14px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.3) 70%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  transition: padding 0.3s;
}
.emergency-card:hover .card-overlay {
  padding-bottom: 18px;
}
.emergency-card .card-overlay i {
  font-size: 18px;
  color: #3174d1;
}
.emergency-card .card-overlay h6 {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.emergency-card:hover .card-overlay h6 {
  color: #3174d1;
}
.emergency-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 184, 148, 0.1);
  border: 1.5px solid rgba(0, 184, 148, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.emergency-card:hover .icon-box {
  background: rgba(243, 156, 18, 0.1);
  border-color: rgba(243, 156, 18, 0.4);
}
.emergency-card .icon-box i {
  font-size: 20px;
  color: #ebb915;
  transition: color 0.25s;
}
.emergency-card:hover .icon-box i {
  color: #3174d1;
}
.emergency-card h6 {
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  line-height: 1.5;
}
.core-strip {
  background: #3174d1;
  padding: 0;
}
.core-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: top;
  gap: 8px;
  padding: 20px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  flex: 1;
}
.core-strip-item i {
  border-radius: 10px;
  background-color: #fff;
  padding: 10px 15px 10px 15px;
  font-size: 20px;
  color: #3174d1;
}
.core-strip-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
}
@media (max-width: 767px) {
  .core-strip-item {
    padding: 12px 18px;
    font-size: 13px;
  }
  .core-strip-divider {
    display: none;
  }
  .mbb {
    margin-bottom: 30px !important;
  }
}

/* ── Ticker Wrap ── */
.ticker-wrap {
  width: 100%;
  background: linear-gradient(90deg, #0d6efd, #0a58ca);
  overflow: hidden;
  position: relative;
  height: 42px;
  z-index: 10;
}

/* Fade edges */
.ticker-wrap::before,
.ticker-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, #0d6efd, transparent);
}
.ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, #0a58ca, transparent);
}

/* ── Scrolling Track ── */
.ticker-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* ── Individual Items ── */
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0 28px;
  position: relative;
  letter-spacing: 0.2px;
}

/* Dot separator between items */
.ticker-item::after {
  content: "•";
  position: absolute;
  right: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
}

.ticker-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ── Scroll Animation ── */
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── Optional: Show on all screens (remove d-block d-md-none from HTML if using this) ── */
/* @media (min-width: 768px) {
    .ticker-wrap { height: 46px; }
    .ticker-item { font-size: 0.88rem; padding: 0 36px; }
} */

.section-spece {
  padding-top: 60px;
  padding-bottom: 60px;
}
.infra-section {
  background: #eef9ff;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.infra-section::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #d6e9f5;
  opacity: 0.45;
  pointer-events: none;
}
.infra-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: #c8e6d8;
  opacity: 0.35;
  pointer-events: none;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.facility-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 22px;
  border: 1px solid #e2ead0;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.facility-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1a6b94, #2fa87e);
  opacity: 0;
  transition: opacity 0.2s;
}
.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 107, 148, 0.12);
}
.facility-card:hover::before {
  opacity: 1;
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
}
.card-title {
  font-size: 14.5px;
  font-weight: 500;
  color: #1a2e3b;
  line-height: 1.4;
  margin: 0 0 8px;
}
.card-desc {
  font-size: 12.5px;
  color: #7a8e9a;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 640px) {
  .infra-section {
    padding: 56px 16px;
  }
}
.icon-c {
  background: #3174d1;
}
