.sub-banner {
    width: 100%;
    background-size: cover;
    position: relative;
    height: 400px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 6rem;
}
.sub-banner .banner {
    position: relative;
    z-index: 1;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 100%;
}
.banner-text {
    content: "";
    position: absolute;
}
.sub-banner::after {
    content: "";
    background-color: rgb(0 0 0 / 50%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
}
.sub-banner .breadcrumb{
    justify-content: center;
}
.sub-banner .breadcrumb a{
    color: #fff;
    transition-duration: 0.3s;
}
.sub-banner .breadcrumb a:hover{
    color: #E6000A;
    transition: all ease-in-out 0.3s;
}
.sub-banner .breadcrumb-item+.breadcrumb-item::before{
    color: #fff;
}

.banner-text h2{
  font-size: 35px;
}
.sub-banner-video{
    background: url(/assets/images/knowledge-center/video/video-banner.webp);
}
.video-tab-sec .ul1{
    justify-content: center;
    border: 1px solid rgb(196, 196, 196);
    border-radius: 10px;
    padding: 20px;
}
.video-tab-sec .nav-pills .nav-link.active {
    background-color: #E6000A; /* Red background for parent tabs */
    color: white;  /* Optional: Change text color if you want */
}
.video-tab-sec .nav-link{
    color: #282828;
    padding: .5rem 2rem;
}
.video-tab-sec .nav-link:hover{
    color: #E6000A;
}
 /* video modal start  */

.video-content {
  cursor: pointer;
}

 .tab-pane1{
    margin-top: 4rem;
}
.tab-pane2{
    margin-top: 3rem;
}
.nest-nav{
    margin-top: 1rem;
}
.video1-modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0, 0, 0, 0.8); 
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s;
}

.video1-modal .modal-content {
  position: relative;
  width: 80%;
  max-width: 850px;
  height: 500px;
}

.video1-modal .close {
  position: absolute;
  top: -36px;
  right: -36px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}
.video-content img{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* video modal end  */

/* responsive video modal start  */

@media only screen and (min-width:768px) and (max-width:900px){
  .video1-modal iframe{
    width: 100%;
    height: 400px;
  }
  .video1-modal .modal-content{
    width: 95%;
    height: 400px;
  }
  .video1-modal .close{
    top: -30px;
    right: -12px;
  }
}

@media only screen and (min-width:576px) and (max-width:767px){
  .video1-modal iframe{
    width: 100%;
    height: 400px;
  }
  .video1-modal .modal-content{
    width: 95%;
    height: 400px;
  }
  .video1-modal .close{
    top: -30px;
    right: -12px;
  }
}

@media only screen and (min-width:420px) and (max-width:575px){
  .video1-modal iframe{
    width: 100%;
    height: 220px;
  }
  .video1-modal .modal-content{
    width: 90%;
    height: 200px;
  }
  .video1-modal .close{
    top: -30px;
    right: -12px;
  }
}

@media only screen and (min-width:100px) and (max-width:419px){
  .video1-modal iframe{
    width: 100%;
    height: 220px;
  }
  .video1-modal .modal-content{
    width: 90%;
    height: 200px;
  }
  .video1-modal .close{
    top: -30px;
    right: -12px;
  }
}

/* responsive video modal start  */

/* Video card */
.video-card {
    position: relative;
    border: 1px solid #e3e3e3;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: scale(1.03); /* Card zoom */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18); /* Soft shadow on hover */
}

/* Thumbnail container */
.video-thumb {
    position: relative;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Thumbnail zoom on hover */
.video-card:hover .video-thumb img {
    transform: scale(1.05); /* Image zoom */
}

/* Play button styling */
.image-video-btn {
    position: relative;
}

.play-btn1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 0.5);
    border: 2px solid white;
    color: white; 
    font-size: 30px;
    color: white;
    cursor: pointer;
    padding: 25px;
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.3s ease;
    overflow: hidden;
    width: 100px;
    height: 100px;
}
.play-btn1 i {
    opacity: 1; 
}
.play-btn1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    animation: wave 1.8s ease-out infinite;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}


.play-btn1:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-btn1:hover::before {
    opacity: 1;
}
.play-btn1 {
    animation: pulse1 2s infinite;
}

@keyframes pulse1 {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7); /* darker black */
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); /* expanding ring */
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}


/* Card body text */
.card-body {
    padding: 10px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 26px;
}
/* For Nested Tabs (CRM, HRM) - Remove the background color and add a red line instead */
#nested-pills-tab .nav-link.active {
    border-bottom: 2px solid red; /* Red line under active nested tab */
    color: #000;  /* Optional: Change the text color */
    background-color: transparent; /* Remove background color from nested tabs */
    border-radius: 0%;
}

/* For Inactive Nested Tabs - No border, gray color */
#nested-pills-tab .nav-link {
    border-color: transparent; /* No border for inactive nested tabs */
    color: #6c757d; /* Optional: Change color for inactive tabs */
}

/* Optional: Hover effect for nested tabs */
#nested-pills-tab .nav-link:hover {
    color: #495057; /* Color when hovering over inactive tabs */
}

.feature-card{
  min-height: 20rem;
}
