body{
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
}

.my-con{
    background: url('https://images.unsplash.com/photo-1517512006864-7edc3b933137?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover no-repeat;
    width: 100%;
    height: 500px; 
  }
  

  .overlay-text {  
    color: white;
  }
  .overlay-text .fa-star{
    color: orangered;
    font-size: 10px;
  }
  .overlay-text .rating{
    font-size: 12px;
  }
  .overlay-text .header-para{
    font-size: 13px;
  }
  .created-by{
    color: orangered;
  }
  .last-updated{
    font-size: 12px;
    color: rgba(231, 233, 252, 0.682);
  }

  .my-card{
    width: 430px ;
    border-radius: 0 !important;
  }
  .my-card img{
    padding: 17px;
  }
  .my-card .price{
    font-size: 25px;
    font-weight: 800;   
  }
  .my-card .price i{
    font-size: 20px;
  }
  .my-card strike{
    font-size: 17px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
  }
  .my-card .off{
    font-size: 17px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
  }
  .my-card .days-left{
    color: rgb(255, 60, 0);
    font-weight: 500;
  }
  .my-card .about-course{
    font-size: 15px;
  }
  .about{
    font-size: 17px;
  }
  .my-card button{
    background-color: rgb(255, 60, 0);
    color: white;
    border-radius: 0;
    box-shadow: none;
    padding: 14px 0px;
    font-size: 14px;
  }
  .my-card button:hover{
    background-color: rgb(255, 60, 0);
    color: white;
    border-radius: 0;
  }
  .my-card .text2{
    color: rgba(54, 54, 54, 0.666);
    margin: 0;
    padding: 3px;
    font-size: 13px;
  }
  .my-card .about-course{
    font-size: 12px;
    line-height: 20px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 400;
  }

  .course-content{
    font-family: poppins,serif;
    font-size: 25px;
    font-weight: bolder;
    color: black;
  }
  .lectures{
    font-family: poppins,serif;
    font-size: 15px;
    font-weight: bolder;
    color: rgba(0, 0, 0, 0.748);
  }
  .expand{
    font-family: poppins,serif;
  }
  .expand a{
    font-weight: 800;
    text-decoration: underline;
    color: rgb(255, 60, 0);
  }


  @media (min-width: 877px){
    .card-section{
        position: absolute;
        top: 260px;
    }
  }
  @media (max-width: 552px){         /*** FOr mobile ***/
    .card-section{
        transform: translateY(-20%);
    }
    .about{
      font-size: 12px;
    }
    .about-course{
      font-size: 12px;
    }
    .learn{
        transform: translateY(-20%);
    }
    .acc-header{
      font-size: 12px;
      font-weight: 500;
    }
    .acc-header .time{
      font-size: 10px !important;
    }
    .list-group-item{
      font-size: 12px;
    }
  }
  
  @media (min-width: 767px) and (max-width: 1024px){
    .my-card{
      width: 290px ;
      border-radius: 0 !important;
    }
  }
  @media (max-width: 546px){
    .my-card{
      width: 300px ;
      border-radius: 0 !important;
    }
    .learn h3{
      font-size: 14px;
    }
  }

  @media (max-width: 575px){
    .learn{
      
      position: relative;
      font-size: 10px;
    }
    .course-content{
      font-size: 16px;
    }
    
    .lectures{
      font-size: 12px;
    }
    .expand{
      font-size: 15px;
      justify-content: left;
    }
  }


  .learn{
    border: 1px solid rgba(46, 46, 46, 0.285);
    width: 65%;
  }

  .outer-accordion {
    border: 2px solid #66666641; /* 1px square border for each outer accordion */
    border-radius: 0; /* No border radius */
  }

  .accordion-item {
    border: none; /* Remove accordion border */
  }

  .accordion-body {
    background-color: #f2f2f2; /* Light gray background color */
  }

  /* Remove border from nested accordion items */
  .nested-accordion .accordion-item {
    border: none;
  }

  /* Set background color for nested accordion header */
  .nested-accordion .accordion-button {
    background-color: #f2f2f2;
  }

 
 