div.main-div{
    section:nth-child(odd) { background-color: #F2F4F8; }
    section:nth-child(even) { background-color: #FDFDFD; }
} 

.card-header{
    background-color: unset;
}

.assist-living-card{
    /* background-color: #EBF7FF; */
    background: linear-gradient(135deg, #3b82f61a, #fff);
}

.respite-care-card{
    /* background-color: #FDFAFF; */
    background: linear-gradient(135deg, #8b5cf61a, #fff);
}

.about-us-div{
    flex-direction: column-reverse;

    img{
        margin-bottom: 1rem;
    }
}

.mission-vision-div{
    display: flex;
    flex-direction: column;
}

@media (min-width: 576px) { /* Styles for screens 576px and wider */
    .about-us-div{
        flex-direction: row;
    }

    .mission-vision-div{
        flex-direction: row;
        gap: 1.5rem;
    }
}

.banner-img-effect{
    /* box-shadow: 0px 0px 20px 5px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    object-fit: cover;
    object-position: 10% 100%;
}

.circle-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px; /* Adjust size as needed */
  height: 50px; /* Adjust size as needed */
  border-radius: 50%; /* Makes it circular */
}

.circle-icon i {
  font-size: 24px; /* Adjust icon size as needed */
}

.icon-blue{
    color: #0077ff; /* Blue color for the icon */
    background-color: #e6f0fa; /* Light blue background like the image */
}

.icon-green{
    color: #63A763; /* Blue color for the icon */
    background-color: #f0fff4; /* Light blue background like the image */
}

.icon-purple{
    color: #9810fa; /* Blue color for the icon */
    background-color: #8b5cf61a; /* Light blue background like the image */
}

.icon-orange{
    color: #F54927; /* Blue color for the icon */
    background-color: #ffedd4; /* Light blue background like the image */
}

.icon-red{
    color: #ff0000; /* Blue color for the icon */
    background-color: #ffeded; /* Light blue background like the image */
}

.card:hover{
    box-shadow: 0 .5rem 1rem #00000026;
}

.rounded-circle {
    border-radius: 50% !important;
}

.icon-bg-blue {
    color: var(--blue-color);
    background-color: #3b82f61a;
}

.values-icon {
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
}

.values-icon.green {
    background-color: #63A763;
}

.values-icon.blue {
    background-color: #0077ff;
}

.values-icon.purple {
    background-color: #9810fa;
}

li::marker{
    color: #0077ff;
}

.custom-icon {
    width: 32px; /* Match SVG width */
    height: 32px; /* Match SVG height */
    line-height: 32px; /* Ensure vertical centering */
    display: inline-block; /* Ensure proper rendering */
    vertical-align: middle; /* Align with surrounding content */
}

.button-group{
    justify-content: space-evenly;
}

.button-group .btn {
    flex: 1; /* Allows buttons to grow equally */
    margin: 0 5px; /* Optional: Adds a small fixed margin for padding */
}

.video-wrapper {
    background-color: black; /* Black background */
    padding: 20px 0; /* Optional padding for spacing */
    text-align: center; /* Center the container content */
}

.video-container {
    display: inline-block; /* Allows centering with text-align */
    width: 100%; /* Full width of the wrapper */
    max-width: 1200px; /* Optional max width constraint */
    margin: 0 auto; /* Center the container */
}

.video-content {
    max-height: 420px;
    width: 80%; /* 80% of the container width */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensures proper centering */
    margin: 0 auto; /* Center the video */
    object-fit: cover; /* Ensures video fills the space while maintaining aspect ratio */
}

.video-content:fullscreen {
    width: 100%; /* Fullscreen adjustment */
    height: 100%;
}

.card-header-img-div{
    width: 100%;
    height: 200px; /* Adjust height as needed */
}

.card-header-img-div img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the div without distortion */
}

.swiper {
    width: 100%;
    height: 100%; /* Adjust height as needed */
}

/* Swiper navigation button size and style refinement */
.swiper-button-prev,
.swiper-button-next {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px #0002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
    top: 60%;
    transform: translateY(-50%);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #0d6efd;
    opacity: 1;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 18px !important;
    color: #0d6efd;
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
    color: #fff;
}

.swiper-parent{
    position: relative;
    width: 100%;
    height: 100%;
}

.swiper-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal-content {
  position: relative;
  width: 80vw;
  max-width: 900px;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 32px #0008;
}
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff3;
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 2;
}
.modal-nav-btn.left { left: 0; }
.modal-nav-btn.right { right: 0; }
.modal-close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
}
.modal-thumbnails {
  margin-top: 1rem;
  display: flex;
  gap: 8px;
  justify-content: center;
}
.modal-thumbnails img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  border: 2px solid transparent;
}
.modal-thumbnails img.active {
  opacity: 1;
  border-color: #0d6efd;
}