.home-header-bg {
  position: relative;
  overflow: hidden;
}
/* Custom CSS */
.abtMsg {
    background-color: #fff; /* White background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 20px 20px 20px rgba(0, 0, 0, 0.1); /* Shadow effect */
    padding: 20px !important; /* Padding around content */
	height: 100%; /* Ensure equal heights */
}
.sub-header {
    border-top: 3px solid #3498db; /* Top border */
    border-bottom: 3px solid #3498db; /* Bottom border */
    padding: 10px; /* Padding */
    margin-bottom: 15px; /* Spacing */
    font-family: 'Arial', sans-serif; /* Specify preferred font */
    font-weight: bold; /* Font weight */
	text-align:center;
}
.main-msg {
    font-family: 'Arial', sans-serif; /* Specify preferred font */
    font-size: 16px; /* Adjust font size */
    line-height: 1.6; /* Adjust line height for better readability */
    color: #333; /* Set text color */
    margin-bottom: 20px; /* Adjust spacing */
}
/* Keyframes definition for the shining effect */
@keyframes shiningEffect {
    0% {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de;
    }
    100% {
        text-shadow: 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de, 0 0 200px #ff00de;
    }
}

/* Apply the animation to the mantra text */
.mantra p {
    animation: shiningEffect 2s infinite alternate;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* Define animation for each word */
@keyframes wordBlink {
    0%, 10%, 20%, 30%, 40% {
        opacity: 0;
    }
    5%, 15%, 25%, 35% {
        opacity: 1;
    }
}

/* Apply animation to each word */
.shine1 { animation: wordBlink 5s infinite; }
.shine2 { animation: wordBlink 5s infinite 1s; }
.shine3 { animation: wordBlink 5s infinite 2s; }
.shine4 { animation: wordBlink 5s infinite 3s; }
.shine5 { animation: wordBlink 5s infinite 4s; }
.shine6 { animation: wordBlink 5s infinite 5s; }







@keyframes slideShadow {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
/* CSS */
.cont_3 {
  transition: color 0.3s, font-size 0.3s; /* Add a smooth transition effect */
}

.cont_3:hover {
  color: #fff; /* Change the text color on hover */
  font-size: 110%; /* Increase the font size on hover */
}


#doctors-carousel .carousel-inner {
    overflow-x: auto;
    white-space: nowrap; /* Ensures items stay in a single row */
    width: 100%; /* or specify a fixed width for the carousel inner container */
}


@media (max-width: 480px) {
  .w3l-banner h3 {
    font-size: 40px;
    line-height: 45px;
  }

  p.banner-sub {
    font-size: 15px;
    line-height: 26px;
  }
}


@media (max-width: 330px) {
  .w3l-banner h3 {
    font-size: 35px;
    line-height: 40px;
  }
}
@media (max-width:991px) {
  .w3l-banner {
    animation: gradient 30s ease infinite;
  }

  .w3l-banner h3 {
    font-size: 45px;
    line-height: 55px;
  }

}
.collapse{
	align-items: 
}
@media (max-width: 1199px) {
  .w3l-banner h3 {
    font-size: 55px;
    line-height: 65px;
  }

  p.banner-sub {
    font-size: 16px;
    line-height: 28px;
  }
}

.w3l-banner h3 span {
  font-weight: 100;
}
.w3l-banner h3 {
  font-size: 74px;
  line-height: 84px;
  font-weight: 700;
}
.w3l-banner {
  display: grid;
  align-items: center;
  min-height: 100vh;
}

.w3l-banner:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--banner-layer);
  z-index: -1;
  top: 0;
}

.w3l-banner {
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  background: url(../images/banner.jpg) no-repeat center;
}


#services-collapse.initial-collapse {
    /* Initial style before button click */
    display: none; /* Or any other initial styling */
}

#services-collapse.active {
    /* Style when the button is clicked */
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Adjust as needed: flex-start, flex-end, center, space-between, etc. */
}

#services-collapse.active > div {
    flex: 0 0 calc(25% - 10px); /* Adjust the width of each item here */
    margin: 5px; /* Add spacing between items */
    /* Additional styling for each item */
}






/* Ensure the container is wide enough to hold all doctors horizontally */
#doctors-carousel {
    overflow: hidden;
    white-space: nowrap; /* Make sure children are displayed in a single row */
    animation: scroll 20s linear infinite; /* Apply animation to the container */
}

/* Animation to move the doctors' container */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-100% - 20px)); } /* Adjust based on doctor div width and margins */
}

/* Animation to move the doctors' container */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-25% * var(--index))); }
}

/* Apply animation to the container */
#doctors-carousel {
    --index: 0;
    animation: scroll 20s linear infinite;
}

/* Individual doctor div */
.col-lg-3 {
    display: inline-block; /* Display in a single row */
    width: 25%; /* Display 4 items at a time */
    /* Other styles */
}
.home-our-doctors-single-doctor-container {
    overflow: hidden;
    position: relative;
}

.home-our-doctors-single-doctor-container h4 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-our-doctors-single-doctor-container:hover h4 {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}






























.news-carousel {
	padding-right: 20px !important;
	padding-left: 20px !important;
    overflow: hidden;
    width: 100%; /* Set a fixed width for the carousel */
}

.news-container {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.3s ease; /* Smooth transition for sliding effect */
	z-index: 0;
}

.news-card {
    flex: 0 0 auto;
    margin-right: 20px; /* Adjust margin between cards */
    display: inline-block; /* Ensures cards are aligned horizontally */
    vertical-align: top; /* Align cards at the top */
    width: 340px; /* Set width for each card */
    height: 220px; /* Set height for each card */
    /* Other styles for the card */
}



.event-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    position: relative;
    max-width: 100%; /* Adjust max-width if needed */
}
.event-title::after {
    content: attr(title);
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    white-space: normal;
    max-width: 200px; /* Adjust as needed */
    z-index: 999;
}
.event-title:hover::after {
    display: block;
}

.event-read-more {
    /* Your existing styles */
    position: absolute;
    top: 10px;
    left: 10px;
    color: #fff;
    background-color: #3babe2;
    padding: 5px;
    border-radius: 3px;
    text-decoration: none; /* Remove underline */
    transition: background-color 0.3s, transform 0.2s; /* Transition properties */
}

.event-read-more:hover {
    background-color: rgba(0, 0, 0, 1); /* Change background color on hover */
    transform: scale(1.1); /* Increase size on hover (adjust as needed) */
}



.news-carousel {
    position: relative;
	
	right-padding:50px !important;
	left-padding:50px !important;
}

.buttons-container {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 98%;
    z-index: 1; /* Ensure the buttons are in front of the news container */
}

.next-button,
.prev-button {
    border: none;
    border-radius: 50%;
    background-color: #fff;
    color: #3babe2;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
}



.news-carousel {
    position: relative;
}


.next-button {
    align-self: flex-end; /* Aligns the 'Next' button to the end of the column */
	
}

.prev-button {
    align-self: flex-start; /* Aligns the 'Previous' button to the start of the column */
}

/* CSS for increasing font size and creating a protruding effect on hover */
.home-services-single-service-text:hover {
  font-size: 100%; /* Adjust the font size as desired */
  transform: scale(1.1); /* Slightly increase size on hover */
  transition: all 0.3s ease; /* Smooth transition effect */
}
/* CSS for hover effect on anchor tag */
.home-services-single-service-btn {
  text-decoration: none !important;
  color: rgb(255, 255, 255);
  background-color: #3babe2;
  transition: background-color 0.3s ease; /* Smooth transition effect */
}

.home-services-single-service-btn:hover {
  background-color: #2a7dab; /* Change the background color on hover */
  font-size: 16px; /* Increase font size on hover */
}

/* CSS to truncate text with ellipses */
.description-container {
    width: 100%; /* Set the width of the container */
    overflow: hidden; /* Hide the overflowing text */
}

.description-content {
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide the overflowing text */
    text-overflow: ellipsis; /* Show ellipses for truncated text */
    width: 100%; /* Set width for the content */
}






