
.legacy-desktop {
  display: block;
}
.legacy-mobile {
  display: none;
}

@media only screen and (max-width: 768px) {
  .legacy-desktop {
    display: none;
  }
  .legacy-mobile {
    display: block;
  }
}
.hero-cta-container {
    display: none;
}
.hero-cta-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: -30px auto 20px;
    position: relative;
    bottom: 55px;
    z-index: 1;
}

.hero-cta-item {
    display: flex;
    align-items: center;
    background: #ededed;
    padding: 8px 12px;
    margin: 6px 0px;
    height: 50px;
    flex: 1;
    text-align: left;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    min-height: 80px;
    justify-content: center;
    border-right: 1px solid #e0e0e0;
}

.hero-cta-container > .hero-cta-item:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.hero-cta-container > .hero-cta-item:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-right: none;
}

.hero-cta-item img {
    margin-right: 10px;
    width: 28px;
    height: 28px;
    transition: filter 0.3s;
}

.hero-cta-item span {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.hero-cta-item:hover {
    background-color: #dc3545;
}
.hero-cta-item:hover span {
    color: #fff;
}
.hero-cta-item:hover img {
    filter: brightness(0) invert(1);
}

.hero-cta-active {
    background-color: #dc3545;
}
.hero-cta-active span,
.hero-cta-active img {
    color: #fff;
    filter: brightness(0) invert(1);
}

@media only screen and (max-width: 768px) {
    .hero-cta-container {
        bottom: 0;
        flex-wrap: wrap;
        justify-content: center;
        background: transparent;
        border-radius: 0;
        max-width: 100%;
        margin: 0 auto 20px;
        padding: 0;
        box-shadow: none;
    }

    .hero-cta-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        margin: 10px;
        height: auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-right: none;
        padding: 16px 10px;
    }

    .hero-cta-item img {
        margin: 0 0 10px 0;
    }

    .hero-cta-item span {
        font-size: 15px;
        white-space: normal;
    }
    .hero-cta-active {
    background-color: #dc3545;
}
}

.doctor-desc {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin-top: -26px;
  
}

@media only screen and (max-width: 768px) {
  .doctor-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
 
  }
}
@media only screen and (max-width: 400px) {
  .doctor-desc {
    padding: 0 12px;
    font-size: 14px;
  }
}

/*.custom-container {*/
/*    padding: 60px 15px;*/
/*}*/

.custom-doctor-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; 
}

.custom-doctor-col {
    flex: 0 0 23%;
    max-width: 23%;
    min-width: 250px;
}

.custom-doctor-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* Row 1: Image + Info */
.custom-doctor-top {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 18px;
    height:204px;
}

.custom-doctor-img-wrapper {
    flex: 1;
}

.custom-doctor-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
}

.custom-doctor-info {
    flex: 2;
}

.custom-doctor-info h4 {
    /* font-size: 13px; */
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 4px;
    margin-top: 6px;
}

.custom-doctor-info p {
    font-size: 0.85rem;
    margin: 3px 0;
}

.custom-location {
    font-style: italic;
    color: #666;
}

/* Row 2: Buttons */
.custom-doctor-buttons {
    display: flex;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid #eee;
    justify-content: space-between;
}

/* Red Filled Button */
.custom-btn-red-filled {
    flex: 1;
    background-color: #dc3545;
    color: #fff;
    border: 2px solid #dc3545;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600; font-size:20px
    transition: 0.3s;
    font-size: 0.9rem;
}

.custom-btn-red-filled:hover {
    background-color: #b02a37;
    border-color: #b02a37;
}

/* Red Outline Button */
.custom-btn-red-outline {
    flex: 1;
    background-color: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600; font-size:20px
    transition: 0.3s;
    font-size: 0.9rem;
}

.custom-btn-red-outline:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Responsive Behavior */
@media (max-width: 768px) {
    .custom-doctor-col {
        flex: 0 0 48%;
        max-width: 48%;
    }
}

@media (max-width: 500px) {
    .custom-doctor-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .custom-doctor-top {
        flex-direction: row;
    }

    .custom-doctor-buttons {
        flex-direction: row;
    }
}

.search-directory-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.search-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  justify-content: center;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .search-container {
    max-width: 650px;
  }
}
.swiper-button-prev.custom-swiper-btn {
   width: 40px;
        height: 40px;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        color: #000;
        display: flex
;
        align-items: center;
        justify-content: center;
        z-index: 10;
        position: absolute;
        top: 41%;
        transform: translateY(-50%);
        cursor: pointer;
}
.swiper-button-next.custom-swiper-btn {
   width: 40px;
        height: 40px;
        background-color: #fff;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        position: absolute;
        top: 41%;
        transform: translateY(-50%);
        cursor: pointer;
}
.custom-swiper-btn::after {
        font-size: 16px !important;
        color: #000 !important;
    }
.search-directory-wrap.style-one.mb-4.d-flex.justify-content-center.text-center {
    width: 100% !important;
}

  .typewrite > .wrap {
    border-right: 0.08em solid #fff;
  }
  @media (max-width: 480px) {
  .next-btn {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
     .fntmob{ font-size: 14px;}
}
 @media (max-width: 480px) {
  .next-btns {
    /*width: 26px;*/
    /*height: 26px;*/
    font-size: 14px;
    
  }
     .fntmob{ font-size: 14px;}
}

#typewriter {
  display: inline-block;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid #fff; /* Blinking cursor effect */
  padding-right: 5px;
  animation: blink-caret 0.75s step-end infinite; /* Blinking effect */
  transition: all 0.5s ease-out;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Smooth blinking effect for the cursor */
@keyframes blink-caret {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: #fff;
  }
}

/* Mobile responsiveness: Shrink font size and allow wrapping */
@media (max-width: 768px) {
  #typewriter {
    font-size: 21px;
    min-width: auto;
    white-space: normal;
    word-wrap: break-word;
  }
}


 .alphabet-circle {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      border: 2px solid #e00000;
      border-radius: 50%;
      margin: 6px;
      font-weight: bold;
      color: #000;
      text-decoration: none;
      transition: background 0.3s, color 0.3s;
    }

    .alphabet-circle:hover {
      background-color: #e00000;
      color: #fff;
    }

    .alphabet-wrapper {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 20px;
    }

    @media (max-width: 576px) {
      .alphabet-circle {
        width: 50px;
        height: 50px;
        margin: 4px;
      }
    }
    


.search-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 100%;
}

/* Wrapper for input and icon */
.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 400px;
  max-width: 400px;
}

/* Input style */
.search-input {
  width: 100%;
  padding: 12px 12px 12px 40px; /* leave space for the icon */
  font-size: 16px;
  border: 1px solid #c10000;
  border-radius: 4px;
  outline: none;
}

/* Icon inside input */
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  pointer-events: none;
  opacity: 0.7;
}

/* Button style */
.search-button {
  background-color: #c10000;
  padding: 12px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  font-weight: 600; font-size:20px;
  white-space: nowrap;
}

/* Mobile styles */
@media (max-width: 480px) {
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-wrapper {
    min-width: 100%;
    max-width: 100%;
  }

  .search-input {
    padding: 4px 33px;
    font-size: 14px;
  }

  .search-icon {
    width: 16px;
    height: 16px;
    left: 10px;
  }

  .search-button {
    width: 100%;
    padding: 3px;
    font-size: 14px;
  }
}


/*.mobsimg {*/
/*  height: 157px;*/
/*}*/



@media (max-width: 576px) {
  .category-card h3 a {
    font-size: 26px !important;
  }

  .mobtexts {
    /*font-size: 14px !important;*/
    font-weight: 600; 
    font-size:15px !important;
  }
  
  .desktop-br {
    display: none;
  }
  .mobsimg{
      height:110px;
  }
  
}

@media (max-width: 768px) {
  .mobtext {
    font-size: 15px !important;
  }
  .margn{
      margin-top:-14px;
  }
}

   .hero-bgs{
                &.bg-1{
                    background-image: url(https://d2sn5i18drfi94.cloudfront.net/videos_banners/homepage.mp4);
                }
                /*&.bg-2{*/
                /*    background-image: url(../img/hero/hero-slide-2.jpg);*/
                /*}*/
                /*&.bg-3{*/
                /*    background-image: url(../img/hero/hero-slide-3.jpg);*/
                /*}*/
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                border-radius: 20px;
                background-size: cover;
                background-attachment: fixed;
                background-repeat: no-repeat;
                -webkit-user-select: none;
                user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                -webkit-animation: zoomin 15s ease-in infinite;
                animation: zoomin 15s ease-in infinite;
                transition: all .5s ease-in-out;
                z-index: 0;
                &:after{
                    position: absolute;
                    top: 0;
                    left: 0;
                    content: "";
                    background-image: url(../img/hero/hero-overlay.png);
                    background-position: center;
                    background-size: cover;
                    background-repeat: no-repeat;
                    width: 100%;
                    height: 100%;
                    z-index: 0;
                }
            }
            
            .hero-bgs {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            overflow: hidden;
            }
            
            .bg-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
            z-index: -1;
            opacity: 0.2;
            }
            .hero-slide-item {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
@media (max-width: 767.98px) {
  .hero-slide-item {
    height: 50vh
  }
}
.custom-swiper-btn {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute; /* Important */
    top: 41%;            /* Vertically center */
    transform: translateY(-50%);
    cursor: pointer;
}


.swiper-button-next.custom-swiper-btn {
    right: -1px;
}


.swiper-button-prev.custom-swiper-btn {
    left: 2px;
}


.custom-swiper-btn::after {
    font-size: 16px !important;
    color: #000 !important;
}

.bg-blue{
    background-color: #13a6e1 !important;
}



.custom-mobile-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .custom-mobile-img {
    width: 100%;
    height: auto;
    object-fit: contain; 
  }

  .hospital-img {
    width: 100%;
  }

  .hospital-card {
    margin-bottom: 20px;
  }
  .footer-bottom{ height: 185px;} 
}
.single-para {
    text-align: justify;
}

    .single-para ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1rem;
}

.single-para ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 0.5rem;
}

.single-para ul li::before {
    content: '\f058'; /* FontAwesome or replace with your icon font code */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #e53e3e;
    position: absolute;
    left: 0;
    top: 2px;
}

.single-para p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.single-para strong {
    color: #222;
    font-weight: bold;
}
.single-para ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.single-para ul li {
    position: relative;
    padding-right: 30px; /* space for the icon on the right */
    margin-bottom: 10px;
    font-size: 16px;
}

.single-para ul li::after {
    content: "\f058"; /* Font Awesome check-circle icon */
    font-family: "Font Awesome 5 Free"; /* make sure it's loaded */
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 0;
    color: #28a745; /* green or your preferred color */
    font-size: 16px;
}

.single-para h2 {
    font-size: 22px;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    /*color: #b1002c;*/
    font-weight: 700;
}

.single-para h3 {
    font-size: 18px;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    color: #444;
    font-weight: 600;
}


.single-para strong {
    font-weight: 600;
    color: #222;
}

.gapsec{
    margin-top: -38px;
}

@media (max-width: 991.98px) {
    .gapsec {
        margin-top: 3px;
    }
    .pview{
        margin-top: -12px;
    }
}
.spp{
    font-size: 14px;
    color: black;
    line-height: 19px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bg-ash {
    padding-top: 2px;
    padding-bottom: 2px;
}
.sppd{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiper-horizontal {
    padding-top: 20px;
    padding-bottom: 20px;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.footer-area .footer-bottom .footer-bottom-menu li:after {
 
    background-color: #404040 !Important;
}