html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.elderly-care-image {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    position: relative;
    z-index: 3;
    animation: gentleFloat 6s ease-in-out infinite;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

/* Responsive adjustments for the image */
@media (max-width: 768px) {
    .elderly-care-image {
        max-width: 280px;
    }

    .care-scene {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .elderly-care-image {
        max-width: 250px;
    }

    .care-scene {
        height: 280px;
    }
}