/*Background Imgage*/
body {
  background-image: url(../images/background.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.blur-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(1px); /* Apply the blur effect */
  background-color: rgba(255, 255, 255, 0.4);
  z-index: -1;
}

.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
}

.box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.img-box {
  width: 100%;
}

.detail-box {
  width: 100%;
  padding: 5px 15px;
  text-align: center;
  position: relative;
}

.social_box {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 150%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.box:hover .social_box {
  top: 0;
  opacity: 1;
}

.social_box a {
  color: #62d2a2;
  margin: 0 10px;
}

.social_box a:hover {
  color: #217450;
}

.card img {
  display: block;
  height: 200px;
  object-fit: cover;
  margin: auto;
}

.card-body button {
  margin: 2px 0px;
  border-radius: 5px;
}

.card-body h5 {
  text-align: center;
}

.emergency {
  position: absolute;
  content: "";
  right: 10px;
  bottom: 20px;
  background: #223a66;
  padding: 36px;
}

.card-list {
  max-height: 200px;
  overflow-y: hidden;
}

.card-list a {
  margin-right: 5px;
  line-height: 40px;
  padding: 5px;
  background-color: #d3d3d3;
  border-radius: 15px;
  color: black;
}

.pill-list a {
  margin-right: 5px;
  line-height: 40px;
  padding: 5px 10px;
  background-color: #d3d3d3;
  border-radius: 15px;
  color: black;
}

.pill-list a.active {
  color: #ffffff;
  background-color: black;
}

.services li {
  list-style: none;
  margin-left: -30px;
  padding: 5px;
}

.services li a {
  color: black;
  font-weight: 450;
  text-decoration: none;
}

.services li a:hover {
  text-decoration: underline;
}

/* Flip Animation */
.card-container {
  perspective: 1000px;
}

.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: rotateY(90deg); /* Starts rotated out of view */
  transition: transform 0.8s ease-in;
  opacity: 0;
}

.card.visible {
  transform: rotateY(0deg);
  opacity: 1;
}

.about-social-icons {
  font-size: 1.5rem;
}

.about-social-icons a {
  text-decoration: none;
  color: black;
}

.about-social-icons a:hover {
  color: grey;
}

.edu-list p {
  margin: 20px 0px;
}
.edu-list h4 {
  margin-bottom: 0px;
}

.expert-list {
  list-style-type: none;
  font-size: 1.2rem;
}

.expert-list li {
  margin-left: -30px;
  margin-bottom: 15px;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.8s ease-out, opacity 0.5s ease-out;
}

.expert-list li.visible {
    transform: translateX(0);
    opacity: 1;
}

.timing-list {
  list-style-type: none;
  font-size: 1.2rem;
}

.timing-list li {
  margin-left: -30px;
  margin-bottom: 15px;
}

.slider-for{
  max-width: 400px;
  height: auto;
  margin-right: auto !important;
  margin-left: auto !important;
  margin-bottom: 1rem;
}

.slider-for img{
  width: 100%;
  border-radius: 5px;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  margin-bottom: 0.5rem;
}

.slider-for p{
  font-size: smaller;
  text-align: center;
}

.slider-nav img{
  width: 80%;
  max-width: 100px ;
}