.free-course-slider {
    margin: 50px 0 0;
}
.free-course-slider.owl-carousel .owl-stage-outer {padding: 0 10px;margin: 0 -10px;}
.free-course-slider.owl-carousel .owl-stage{display:flex}
.free-course-slider.owl-carousel .owl-item .item{height:100%;padding:0 0 12px;}
.free-course-slider.owl-carousel .owl-item .free-course-info ul li img{width: auto;}
.free-course-block {border-radius: 1rem;display: flex;background: #fff;box-shadow: 0 0 10px rgba(36,7,70,.08);height: 100%;position: relative;flex-direction: column;}
.free-course-img-block {position: relative;border-radius: 1rem 1rem 0 0;overflow: hidden;height: 148px;}
.free-course-img-block>img {border-radius: 1rem 1rem 0 0; object-fit: fill;}
.course-cert{position: absolute;right: -1px;top: -1px;color: var(--white-color);border: 1px solid #fff;padding: 6px 15px;background: linear-gradient(266.33deg, #1BD597 0%, #00948A 100%),linear-gradient(0deg, #FFFFFF, #FFFFFF);text-transform: uppercase;border-top-right-radius: 1rem;border-bottom-left-radius: 1rem;font-size: var(--font-14);
z-index: 2;}
.free-course-info {padding: 15px 15px 15px;}
.free-course-info span{display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient:vertical; min-height:49px; overflow: hidden;margin: 0 0 10px;}
.free-course-info h5{display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient:vertical; min-height:49px; overflow: hidden;margin: 0 0 10px;}
.free-course-info p{display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient:vertical; min-height:49px; overflow: hidden;  font-size: var(--font-14);line-height: var(--line-h-18);color: var(--grey-color);margin: 0 0 10px;}
.free-course-info ul li {align-items: center;font-size: var(--font-16);line-height: var(--line-h-22);color:var(--dark-grey-color);margin: 0 0 10px;}
.free-course-info ul li img{margin-right: 10px;margin-top: 2px;}
.free-course-info .btn-group {position: absolute;left: 15px;right: 15px;bottom: 15px;}
.free-course-info .btn-group .hs-button {padding: 0;width: 100%;text-align: center;}

.landing_page_discover_cthe_courses { padding-top:50px; padding-bottom:50px;}
.landing_page_discover_cthe_courses .free-course-info ul {
    margin: 0;
    padding: 20px;
}

.landing_page_discover_cthe_courses .free-course-info ul li {
    color: ;
    font-weight: 600;
    font-size: 20px;
  
}
.landing_page_discover_cthe_courses .free-course-info ul li a {color: ;}
.free-course-info span {min-height:initial; font-weight: 600; text-align: center; margin-bottom:25px;  margin-top:25px}
.free-course-info h5 {min-height:initial; font-weight: 600; text-align: center; margin-bottom:25px;  margin-top:25px}
@media only screen and (max-width:991px){
.free-course-slider {margin: 20px 0 0;}
}
@media only screen and (max-width:767px){
.course-cert {padding: 4px 12px;font-size: var(--font-12);}
}


.owl-carousel .animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

.owl-carousel .owl-animated-in {
    z-index: 0
}

.owl-carousel .owl-animated-out {
    z-index: 1
}

.owl-carousel .fadeOut {
    -webkit-animation-name: fadeOut;
    animation-name: fadeOut
}





.owl-carousel {
    display: none;
    position: relative;
    width: 100%;
    z-index: 1
}

.owl-dots,.owl-nav>button {
    position: absolute;
    text-align: center; border:none;
}

.owl-carousel .owl-stage {
    display: flex;
    position: relative;
    -ms-touch-action: pan-Y
}

.owl-carousel .owl-stage:after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden
}

.owl-carousel .owl-stage-outer {
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    -moz-transform: translateZ(0);
    -webkit-transform: translateZ(0)
}

.owl-carousel .owl-controls .owl-dot,.owl-carousel .owl-controls .owl-nav .owl-next,.owl-carousel .owl-controls .owl-nav .owl-prev {
    cursor: pointer
}

.owl-carousel.owl-loading {
    display: block;
    opacity: 0
}

.owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    float: left;
    min-height: 1px;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
    margin-right:0px !important;
  padding-left: 5px;
  padding-right: 5px;
}

.owl-carousel .owl-item img {
    display: block;
    transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    width: 100%
}

.owl-carousel .owl-item .owl-lazy {
    opacity: 0;
    -webkit-transition: opacity .4s;
    -moz-transition: opacity .4s;
    -ms-transition: opacity .4s;
    -o-transition: opacity .4s;
    transition: opacity .4s
}

.owl-carousel .owl-nav .disabled,.owl-dots>button>span {
    display: none!important
}

.owl-nav>button {
    color: #fff;
    display: block;
    font-family: Arial;
    font-size: 0;
    height: 16px;
    line-height: 16px;
    margin-top: -12px;
    top: 50%;
    transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    width: 10px
}

.owl-dots.disabled,.owl-nav.disabled,.owl-nav>button>span {
    display: none
}

.owl-nav>button.owl-prev {
    background: url(/hubfs/raw_assets/public/upGrad-New-2024/upGradTheme2024/images/prev.png) 50% no-repeat !important;
    left: -35px
}

.owl-nav>button.owl-next {
    background: url(/hubfs/raw_assets/public/upGrad-New-2024/upGradTheme2024/images/next.png) 50% no-repeat !important;
    right: -35px
}

.owl-dots {
    align-items: center;
    bottom: -30px;
    display: flex;
    justify-content: center;
    left: 0;
    right: 0
}

.owl-dots>button.owl-dot {
    background: #d9d9d9;
    border-radius: 50%;
    height: 12px;
    margin: 0 5px;
    vertical-align: middle;
    width: 12px
}

.owl-dots>button.owl-dot.active {
    background: #004990
}


.owl-carousel.owl-loaded { display:block}


.masterclasses .item {
    height: 100%;
}


.masterclasses .item .free-course-img-block {
   width: 25%; /* Set image container width to 25% */
  height: 100%; /* Set the height to 100% of the parent container */
  border-radius: 15px; /* Apply rounded corners to the image container */
  overflow: hidden; /* Hide overflow to maintain rounded corners */
  position: relative; /* Position the image container within the parent */
}

/* Ensure the image itself takes full height while respecting the width */
.masterclasses .item .free-course-img-block img {
   width: 50%; /* Make the image take up 100% of the container width (25% of the parent) */
  height: 100%; /* Make the image take up the full height of the container */
  object-fit: cover; /* Ensure the image covers the area without stretching */
  border-radius: 15px; /* Apply rounded corners to the image itself */
  display: block; /* Remove any space below the image */
}

 .study-card-block {
            background: #fff;
            border-radius: 1rem;
            display: flex;
            position: relative;
            padding: 20px;    flex-wrap: wrap;
            margin: 0; 
            
   border:1px solid #cccccc;
        }
        .st-card-thumb img {
            border-radius: 15px;
            height: 100%;
            object-fit: cover;
        }
        .st-card-content {
           
        }
        .st-card-content h3 {
            font-weight: bold;
        }
        .st-card-content .st-card_desc {
            color: #ee2c3c;
        }
        .st-card-content .st-card-list {
           
        }
        .register-btn { padding-left:25px; padding-right:25px;}
.register-btn:hover { color:#fff}
.study-card-block .register-btn {
	display: inline-block;
	width: auto;
	margin-top: 20px;
}
        .st-card-list-icon-box {
            width: 60px;
            height: 60px;
            background: #e50913;
            border-radius: 30px;
            color: #fff;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 24px;
            margin-bottom: 5px;
        }

.study-card-block .st-card-list-icon-box img {
    max-width: 40px;
    filter: brightness(0) saturate(100%) invert(99%) sepia(87%) saturate(2%) hue-rotate(213deg) brightness(103%) contrast(100%);
}


@media(max-width:991px) {
.st-card-content {
    padding-top: 15px;
}
}

  .popup {
        /*display: none;  /* Default hidden */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);  /* Dark background overlay */
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
     .popup-content {
        position: relative;
        background: white;
        padding: 20px;
        border-radius: 10px;
        width: 80%;  /* Adjust the width to your preference */
        max-width: 800px;
    }
     .close-btn {
        position: absolute;
        top: 0px;
        right: 10px;
        font-size: 30px;
        color: red;  /* Red color */
        background: transparent;
        border: none;
        cursor: pointer;
        transition: color 0.3s ease;
    }
 .close-btn:hover {
        color: darkred;  /* Dark red when hovered */
    }

    .hs-button-reg {
        padding: 10px 20px;
        color: white;
        border: none;
        border-radius: 30px;
        cursor: pointer;
      background-color: #e50913;
      font-weight: 600;
    }

  #popupFormContent {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
    }


