/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --secondary: #777777;
    --light: #F8F8F8;
    --dark: #252525;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--dark);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 8px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid rgba(256, 256, 256, .1)
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    z-index: 1;
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 10%;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

#header-carousel .carousel-indicators [data-bs-target] {
    width: 60px;
    height: 60px;
    text-indent: 0;
    margin-bottom: 15px;
    border: 2px solid #FFFFFF;
    border-radius: 60px;
    overflow: hidden;
}

#header-carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(/assets/img/bg-img.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--secondary);
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 4px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/**h4h modifications**/
 .tj{text-align: justify;}
    .home-news {
    color: #585858;        
    text-decoration: none;
   }

.home-news:hover {
  color: #0081d7;         
}

.simple-notice-board {
   margin: 20px auto; 
 }

.notice-viewport {
 height: 200px; 
  overflow: hidden; 
  position: relative;
}

  .content-box {
    width: 100%;
    padding: 20px;
    box-shadow: 0px 0px 19px #e7e7e7;
    border-radius: 10px;
}

.noticelist  {list-style-type: none; }
.noticelist li {padding: 10px 0px; border-bottom: 1px dashed #ABABAB; }

.contact-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .contact-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
        }
        .icon-box {
            font-size: 1.5rem;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #029dff; /* Replaced var(--primary-color) */
            color: white;
            border-radius: 50%;
            margin-right: 15px;
            flex-shrink: 0;
        }
        .info-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            padding: 10px 0;
            border-bottom: 1px dashed #e9ecef;
        }
        .info-item:last-child {
            border-bottom: none;
        }
        .form-control, .btn {
            border-radius: 8px;
        }


/*  Blog Section */

.inner-blog {
  width: 100%;
}
.inner-blog .blog-sidebar {
  background-color: #FFF;
  box-shadow: 3px 4px 29.6px 0px rgba(0, 0, 0, 0.0588235294);
  border-radius: 10px;
  padding: 25px;
}
.inner-blog .blog-sidebar .blog-search {
  width: 100%;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.inner-blog .blog-sidebar .blog-search .form-control {
  width: 100%;
  border: 1px solid #a7bfa9;
  padding: 10px 110px 10px 20px;
  color: #ababab;
}
.inner-blog .blog-sidebar .blog-search .blog-search-btn {
  position: absolute;
  right: 0px;
  top: 0px;
  min-height: 45px;
  padding: 7px 0;
  min-width: 100px;
  border-radius: 0 10px 10px 0px;
  border: 1px solid #00780B;
  background-color: #00780B;
  color: #FFF;
}
.inner-blog .blog-sidebar .blog-recent {
  width: 100%;
}
.inner-blog .blog-sidebar .blog-recent h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  padding: 0 0 15px;
}
.inner-blog .blog-sidebar .blog-recent .blog-box {
  width: 100%;
  display: grid;
  grid-template-columns: 100px 1fr;
  margin: 0 0 30px;
  gap: 15px;
}
.inner-blog .blog-sidebar .blog-recent .blog-box:last-child {
  margin: 0 0 10px;
}
.inner-blog .blog-sidebar .blog-recent .blog-box .blog-text .blog-date h4 {
  font-size: 16px;
  color: #04700E;
}
.inner-blog .blog-sidebar .blog-recent .blog-box .blog-text h3  {
  font-size: 18px;
  font-weight: 600;
  color: #000;
}
.inner-blog .blog-sidebar .blog-recent .blog-box .blog-text h3 a {
  color: #000;
}
.inner-blog .blog-sidebar .blog-recent .blog-box:hover .blog-text h3 a {
  color: #009cff;
}
.inner-blog .blog-sidebar .blog-recent .blog-tag h3 {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  padding: 0 0 15px;
}
.inner-blog .blog-sidebar .blog-recent .blog-tag ul li {
  display: inline-block;
  margin: 4px 0 12px;
}
.inner-blog .blog-sidebar .blog-recent .blog-tag ul li a {
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: 400;
  background-color: #b9edc7;
  font-family: "Inter", sans-serif;
  transition: all 0.3s linear;
  color: #142619;
}
.inner-blog .blogsingle-sec {
  width: 100%;
  background-color: #FFF;
  box-shadow: 3px 4px 29.6px 0px rgba(0, 0, 0, 0.0588235294);
  border-radius: 10px;
  padding: 25px;
}
.inner-blog .blogsingle-sec .blog-detail-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 20px;
}
.inner-blog .blogsingle-sec .blog-detail-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 10px;
}
.inner-blog .blogsingle-sec .blog-post-data {
  width: 100%;
  text-align: justify;
}
.inner-blog .blogsingle-sec .blog-post-data h3, h2 {
  font-size: 25px;
  font-weight: 700;
}
.inner-blog .blogsingle-sec .blog-post-data .blog-author {
  width: 100%;
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.inner-blog .blogsingle-sec .blog-post-data .blog-author .author {
  color: #7c7c7c;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.inner-blog .blogsingle-sec .blog-post-data .blog-author .author img {
  width: 17px;
  margin-right: 8px;
}
.inner-blog .blogsingle-sec .blog-post-data .blog-author .date {
  color: #7c7c7c;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.inner-blog .blogsingle-sec .blog-post-data .blog-author .date img {
  width: 20px;
  margin-right: 5px;
}
.inner-blog .blogsingle-sec .blog-post-data .quote {
  width: 100%;
  background-color: #dfdfdf;
  border-left: 3px solid #00780B;
  padding: 20px;
  font-size: 22px;
  font-weight: 600;
  border-bottom-right-radius: 6px;
  border-top-right-radius: 6px;
}
.inner-blog .doctor-box-details {
  width: 100%;
  background-color: #FFF;
  box-shadow: 3px 4px 29.6px 0px rgba(0, 0, 0, 0.0588235294);
  border-radius: 10px;
  padding: 25px;
  display: grid;
  grid-template-columns: 115px 1fr;
}
.inner-blog .doctor-box-details .pic img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 50%;
}
.inner-blog .doctor-box-details .details {
  padding-left: 20px;
}
.inner-blog .doctor-box-details .details h4 {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}
.inner-blog .doctor-box-details .details h5 {
  margin-bottom: 10px;
}
.inner-blog .doctor-box-details .details h5 span {
  font-size: 16px;
  color: #00780B;
}

.blogs-sec {
  width: 100%;
}
.blogs-sec .heading-sec {
  width: 100%;
  margin-bottom: 10px;
}
.blogs-sec .heading-sec h5 {
  font-size: 40px;
}
.blogs-sec .item {
  padding: 30px 8px;
}
.blogs-sec .box {
  width: 100%;
  background-color: #FFF;
  border: 1px solid #E1E8EE;
  border-radius: 20px;
  box-shadow: 0px 6px 8px #e1e8ee;
  overflow: hidden;
}
.blogs-sec .box .blog-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
}
.blogs-sec .box .blog-img img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.3s all ease-in-out;
}
.blogs-sec .box:hover .blog-img img {
  scale: 1.1;
}
.blogs-sec .box .blog-content {
  width: 100%;
  min-height: 240px;
  padding: 25px;
}
.blogs-sec .box .blog-content .date {
  font-size: 16px;
  color: #00780B;
}
.blogs-sec .box .blog-content .title {
  width: 100%;
  min-height: 60px;
  margin-bottom:4px ;
}
.blogs-sec .box .blog-content .title h6 {
  font-size: 20px;
  color: #000;
  margin-bottom: 0px;
} 
.blogs-sec .box .blog-content .title span {
  font-size: 14px;
  color: #000;
  margin-top: 0;
} 

/*Videos section */
.video-thumbnail {
      position: relative;
      display: inline-block;
      cursor: pointer;
      width: 480px;
      max-width: 100%;
    }

    .video-thumbnail img {
      width: 100%;
      border-radius: 8px;
      display: block;
    }

    .video-thumbnail .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 64px;
      height: 64px;
      margin-left: -32px;
      margin-top: -32px;
      background: url('/assets/img/home/youtube_play.png') no-repeat center center;
      background-size: contain;
      pointer-events: none;
    }


/* 2. STYLES FOR THE SCROLLING LIST */
.notice-list {
  position: absolute; 
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none; /* Ensure no bullets appear */
  
  /* Apply the animation */
  animation: scroll-up 15s linear infinite; 
}

.notice-list:hover {
  animation-play-state: paused;
}


@keyframes scroll-up {
  0% {
    transform: translateY(0); 
  }
  100% {
      transform: translateY(-50%); 
  }
}

.notice-item {
     padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/*** Img Border ***/
.img-border {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.img-border::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 3rem;
    bottom: 3rem;
    border: 5px solid var(--primary);
    border-radius: 6px;
}

.img-border img {
    position: absolute;
    top: 3rem;
    left: 3rem;
    width: calc(100% - 3rem);
    height: calc(100% - 3rem);
    object-fit: cover;
    border-radius: 6px;
}

.img-noborder img{
  border-radius: 6px;

}

/*** Facts ***/
.fact-item {
    transition: .5s;
}

.fact-item:hover {
    margin-top: -10px;
    background: #FFFFFF !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border: 1px solid transparent;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: none;
    border: 1px solid #DEE2E6;
}


/*** Feature ***/
.progress {
    height: 5px;
}

.progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Project ***/
.project-item a {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border-radius: 6px;
    opacity: 0;
    transition: .5s;
}

.project-item:hover a {
    opacity: 1;
}

.project-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.project-carousel .owl-dot {
    width: 35px;
    height: 35px;
    margin: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 35px;
    transition: .5s;
}

.project-carousel .owl-dot:hover,
.project-carousel .owl-dot.active {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-text {
    position: relative;
    height: 65px;
    overflow: hidden;
}

.team-item .team-title {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-item:hover .team-title {
    top: -65px;
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 65px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    margin: 0 3px;
}

.team-item:hover .team-social {
    top: 0;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item .testimonial-item img {
    width: 60px;
    height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin: 0 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DEE2E6;
    border-radius: 50px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: #FFFFFF;
    border-color: var(--primary);
    background: var(--primary);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--secondary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}