#awards-sectionbg1 {
  height: auto;
  background-color: aliceblue;
}

.laurel {
  width: 60px !important;
  height: 100px !important;
}
#awards-sectionbg1 {
  background-color: #ffffff; /* Section ka base color */
  background-image: repeating-linear-gradient(
    45deg,
    /* Angle of lines */ #f0f0f0,
    /* Line color */ #f0f0f0 1px,
    /* Line thickness */ transparent 1px,
    transparent 10px
  );
  padding: 30px 0 40px 0;
}
#awards-sectionbg1 .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 140px;
}

#awards-sectionbg1 .card p {
  padding: 7px 30px !important;
  padding-right: 45px !important;
  letter-spacing: 0.7px;
  font-size: 16px;
}

/* Animation keyframes */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomFade {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#awards-sectionbg1 .card {
  animation: zoomFade 0.5s ease-out forwards;
  opacity: 0;
}

/* Apply animation to cards */
#awards-sectionbg1 .card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  height: 140px;
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
}

/* Staggered delay for each card */
#awards-sectionbg1 .card:nth-child(1) {
  animation-delay: 0.1s;
}

#awards-sectionbg1 .card:nth-child(2) {
  animation-delay: 0.2s;
}

#awards-sectionbg1 .card:nth-child(3) {
  animation-delay: 0.3s;
}

#awards-sectionbg1 .card:nth-child(4) {
  animation-delay: 0.4s;
}

#awards-sectionbg1 .card:nth-child(5) {
  animation-delay: 0.5s;
}

#awards-sectionbg1 .card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Laurel image size */
.laurel {
  width: 50px;
  height: auto;
}

/* Paragraph padding */
#awards-sectionbg1 .card p {
  padding: 10px 30px;
}

.frequently {
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.18) 0px 2px 4px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.frequently h3 {
  font-weight: bold;
  background: linear-gradient(to bottom, #0052d4, #65c7f7, #9cecfb);
  color: white;
  border-radius: 6px;
}

.faq-box {
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
  background-color: #fff;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 15px 20px;
  font-weight: 600;
  cursor: pointer;
  background-color: #e3f2fd;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-box.active .faq-question::after {
  content: "-";
}

.faq-answer {
  padding: 15px 20px;
  display: none;
  text-align: justify;
  color: #555;
  background-color: #f9f9f9;
}

#nursing-services p {
  text-align: justify;
}

#nursing-services {
  background-color: #f8f9fa;
}

.service-box h5 {
  font-size: 1.1rem;
  color: #175cdd;
  text-align: justify;
}

.service-box p {
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: justify;
}

img.rounded.shadow {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Card grid */

.featured-services {
  padding: 50px 100px !important;
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid rgba(11, 77, 191, 0.12);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(11, 77, 191, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease,
    border-color 260ms ease;
  overflow: hidden;
  height: 100%;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 77, 191, 0.28);
  box-shadow: 0 16px 36px rgba(11, 77, 191, 0.16);
}

/* Subtle glowing border on hover */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  transition: opacity 260ms ease;
  opacity: 0;
  box-shadow: 0 0 0 2px rgba(122, 166, 255, 0.3),
    0 0 26px rgba(122, 166, 255, 0.22) inset;
}
.service-card:hover::after {
  opacity: 1;
}

/* Image circle */
.service-media {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(110px circle at 35% 35%, var(--brand-soft), #fff);
  border: 1px solid rgba(11, 77, 191, 0.18);
  box-shadow: 0 8px 18px rgba(11, 77, 191, 0.1);
  display: grid;
  place-items: center;
  margin: 22px auto 8px;
  overflow: hidden;
  position: relative;
}

.service-media img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform-origin: 50% 60%;
  transition: filter 220ms ease;
  will-change: transform;
}

/* Hover animation for image */
.service-card:hover .service-media img {
  animation: floatPulse 1100ms ease-in-out forwards;
  filter: drop-shadow(0 6px 10px rgba(11, 77, 191, 0.22));
}

@keyframes floatPulse {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  40% {
    transform: translateY(-6px) scale(1.06) rotate(-2deg);
  }
  70% {
    transform: translateY(-2px) scale(1.03) rotate(1deg);
  }
  100% {
    transform: translateY(-4px) scale(1.05) rotate(0deg);
  }
}

/* Content */
.service-body {
  text-align: center;
  padding: 8px 18px 22px;
}
.service-title {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-top: 6px;
}
.service-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  margin-top: 6px;
}

/* Pill badge */
.badge-pill {
  display: inline-block;
  background: rgba(11, 77, 191, 0.08);
  color: var(--brand);
  border: 1px solid rgba(11, 77, 191, 0.16);
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 6px 12px;
  margin-top: 10px;
}

/* Responsive spacing */
/* .services-section{
      padding-bottom: 60px;
    } */

/* Optional: focus-visible for accessibility */
.service-card:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 2px;
}

.nursing-hero {
  background: linear-gradient(180deg, #f7fbff, #e9f1ff);
  color: #192234;
}
.nursing-hero h2 {
  font-size: 1.8rem;
}
.nursing-hero .hero-img-wrapper img {
  transition: transform 0.4s ease;
}
.nursing-hero .hero-img-wrapper:hover img {
  transform: scale(1.03);
}
.bg-light-blue p {
  text-align: justify;
}

.emergency-bg {
  background: linear-gradient(90deg, #0b4dbf, #0a3ca0);
  color: #fff;
}
.emergency-bg h2 {
  font-size: 2rem;
}
.emergency-bg .btn-outline-light:hover {
  background-color: #fff;
  color: #0b4dbf;
}

/* Footer Background with dotted pattern */
.footer-bg {
  position: relative;
  background-color: #0b4dbf;
  overflow: hidden;
}

/* White dotted background layer */
.footer-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.15) 1.2px,
    transparent 1.2px
  );
  background-size: 22px 22px;
  z-index: 0;
}
/* Footer content above dots */
.footer-bg .container {
  position: relative;
  z-index: 2;
}

/* Headings */
.footer-title {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
}
/* Links */
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}
/* Social Icons */
.footer-icon-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
}
.footer-icon-link:hover {
  background: #ffffff;
  color: #0d1b2a;
  transform: translateY(-4px);
}
/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 768px) {
  .footer-bg {
    text-align: center;
  }
}

@media (max-width: 600px) {
  #extra-phone {
    display: none !important;
  }
}

.whatsapp-float,
.call-float,
.email-float {
  position: fixed;
  right: 8px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
  transition: 0.3s;
}

/* Positions */
.whatsapp-float {
  bottom: 165px;
  background: #25d366;
}

.email-float {
  bottom: 110px;
  background: #dc3545;
}

.call-float {
  bottom: 55px;
  background: #0d6efd;
}

/* Hover */
.whatsapp-float:hover,
.call-float:hover,
.email-float:hover {
  transform: scale(1.1);
  color: #fff!important;
}
.appointment-float-hover {
  position: fixed;
  right: 8px;
  bottom: 220px;
  height: 50px;
  background: #198754;
  color: #fff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: width 0.4s ease;
  width: 50px; /* icon only */
}

/* Icon */
.appointment-float-hover i {
  min-width: 50px;
  text-align: center;
  font-size: 20px;
}

/* Text hidden initially */
.appointment-float-hover span {
  white-space: nowrap;
  padding-right: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.3s ease;
  font-size: 14px;
  font-weight: 600;
}

/* Hover effect */
.appointment-float-hover:hover {
  width: 190px; /* expand right */
  color: #fff!important;
}

.appointment-float-hover:hover span {
  opacity: 1;
  transform: translateX(0);
}
