/* banner section css start  */

.knowledge-banner-sec{
    margin-top: 6rem;
}

.knowledge-banner-sec .carousel-inner h3{
    color: #282828;
    text-align: left;
}
.knowledge-banner-sec .slider-btn{
    margin-top: 35px;
}
.knowledge-banner-sec .carousel-indicators{
    display: none;
}
.knowledge-banner-sec .slider-btn a{
    padding: 12px 25px 12px 25px;
    background: #E6000A;
    border-radius: 6px;
    color: #fff;
    transition-duration: 0.3s;
    font-weight: 600;
}
.knowledge-banner-sec .slider-btn a:hover{
    background: #282828;
    transition: all ease-in-out 0.3s; 
}
.knowledge-banner-sec .carousel-caption{
    top: 200px;
    padding-top: 0rem;
    padding-bottom: 0rem;
    bottom: 0rem;
    padding-left: 20rem;
    padding-right: 20rem;
}
.knowledge-banner-sec .carousel-control-next-icon{
    background-image: url(/assets/images/knowledge-center/landing-page/arrow-right-white.png);
    width: 24%;
    height: 11%;
}
.knowledge-banner-sec .carousel-control-prev-icon{
    background-image: url(/assets/images/knowledge-center/landing-page/arrow-left-white.png);
    width:24%;
    height: 11%;
}
.knowledge-banner-sec .carousel-indicators [data-bs-target]{
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
}
.knowledge-banner-sec .carousel-inner p{
    text-align: center;
    padding-top: 20px;
}
.knowledge-banner-sec .carousel-inner h1{
    font-size: 50px;
}
.knowledge-banner-sec .carousel-inner i{
    padding-left: 10px;
}

/* knowledge center card css start  */

/* Container to hold the image and overlay */
.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Ensure image doesn't overflow container during zoom */
    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
}

/* Image styling */
.image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(50%); /* Darken the image by default */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; /* Smooth transition for zoom and brightness */
}

/* Dark overlay effect */
.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Ensure image doesn't overflow container during zoom */
    border-radius: 6px; /* Apply border-radius to the container */
    transition: transform 0.3s ease-in-out; /* Smooth transition for zoom effect */
}

/* Image styling */
.image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(50%); /* Darken the image by default */
    border-radius: 6px; /* Apply border-radius to the image as well */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out; /* Smooth transition for zoom and brightness */
}

/* Dark overlay effect */
.image-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Darken the image */
    color: white;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: center; /* Vertically center the text */
    align-items: flex-start; /* Align text to the left */
    text-align: left; /* Align text inside the overlay to the left */
    padding: 20px;
    box-sizing: border-box; /* Include padding in element's width/height */
    border-radius: 6px; /* Apply border-radius to the overlay */
}

/* Heading and paragraph styling */
.overlay h2 {
    font-size: 2rem;
    margin-bottom: 10px; /* Space between heading and paragraph */
    font-weight: bold;
}

.overlay p {
    font-size: 1rem;
    max-width: 80%; /* Limit width of the paragraph */
    margin: 0;
    line-height: 1.6;
}

/* Image zoom effect on hover */
.image-container:hover img {
    transform: scale(1.1); /* Zoom in by 10% */
}

/* Optional: Image brightness adjustment can be handled here */
.image-container img {
    filter: brightness(90%); /* Keep the image darkened by default */
}
.knowledge-card-sec .knowl-cen-card .read-btn {
    padding-top: 12px;
}

/* Default link styling */
.knowledge-card-sec .knowl-cen-card .read-btn a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    text-decoration: none; 
}

.knowledge-card-sec .knowl-cen-card .read-btn i {
    padding-left: 6px; 
    transition: padding-left 0.3s ease;
}

.knowledge-card-sec .knowl-cen-card .read-btn a:hover i {
    padding-left: 16px;
}
.knowl-card-head h4{
    font-size: 20px;
    color: #E6000A;
}
.knowl-card-head h2{
    font-size: 30px;
}
.knowl-card-head{
    margin-bottom: 4rem;
}

/* blog section css start  */

.blog-txt h2{
    font-size: 20px;
}
.blog-txt{
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 0px 0px 6px 6px;
    min-height: 17rem;
}
.blog-txt .read-btn a{
    color: #000;
    transition: all ease-in-out 0.3s;
}
.blog-txt .read-btn a:hover{
    color: #E6000A;
}
.blog-txt .read-btn i{
    padding-left: 7px;
    transition: padding-left 0.3s ease;
}
.blog-txt .read-btn a:hover i{
    padding-left: 12px;
    color: #E6000A;
}
.blog-cards img{
    border-radius: 6px 6px 0px 0px;
}
.blog-cards {
    position: relative;
    overflow: hidden;
}


 .blog-cards {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease; /* Smooth transition for zoom effect */
    }

    .blog-cards:hover {
     transform: scale(1.04); /* Zoom in effect for the entire card */
    }

    /* Optional: add a slight shadow effect for better visual feedback */
    .blog-cards:hover {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 0px 0px 6px 6px;
    }
    .view-all-row .read-btn a{
        color: #000;
        padding: 10px 20px 10px 20px;
        border: 1px solid #000;
        border-radius: 8px;
        transition: all ease-in-out 0.3s;
    }
    .view-all-row .read-btn a:hover{
        background-color: #E6000A;
        color: #fff;
        border-color: #E6000A;
    }
    .view-all-row .read-btn a i{
        padding-left: 6px;
        transition: all ease-in-out 0.3s;
    }
    .view-all-row .read-btn a:hover i{
        padding-left: 10px;
    }


/* Shake animation */
@keyframes shake {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-5px, 0); }
  40% { transform: translate(5px, 0); }
  60% { transform: translate(-5px, 0); }
  80% { transform: translate(5px, 0); }
  100% { transform: translate(0, 0); }
}

.video-content img:hover {
  animation: shake 0.5s ease-in-out;
}

  /* feature css end for all child page  */


  /* video modal start  */

.video-content {
  cursor: pointer;
}

.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  */

/* case study section css start  */

.case-study-sec{
    background-color: #f2f2f2;
}
.case-study-sec .blog-txt{
    background-color: #fff;
    min-height: 11.5rem;
}
.brochure-sec .brochure-txt h4{
    font-size: 20px;
    color: #E6000A;
}