/* add */
.add{
    /* background-color: #FFCC00; */
    padding: 10px 0;
    background-image: url('../images/offer_bg.png');
    background-size: cover;
    background-position: center;
}
.add_text{
    justify-content: space-between;
}
.add ul{
    text-align: center;
    align-items: self-start;
}
.add .text{
    max-width: 55%;
}
.add ul p {
    font-weight: var(--font-semiBold);
}
.category {
    padding: 10px 0;
    background-color: var(--secondary-color);
    color: var(--body-color);
}
.scrolled{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
.category ul{
    flex-wrap: wrap;
    justify-content: center;
}
.category ul li{
    padding: 8px 15px;
    white-space: nowrap;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid var(--gray-color);
}
.category ul li:hover{
    background-color: var(--gray-color);
}

/* hero */
.hero{
    background-image: url('../images/hero_bg.svg');
    background-size: cover;
    background-position: center;
    padding: 0;
}
.hero_data{
    color: var(--body-color);
    padding: 10px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    justify-items: center;
    height: calc(100vh - 134px);
}
.hero_video video{
    max-width: 450px;
    border-radius: 10px;
}
.hero_text h2{
    margin-bottom: 20px;
}
.hero_text .text{
    margin-bottom: 20px;
}
.hero .reviews{
    gap: 5px;
    margin-bottom: 10px;
}
.hero .reviews ul{
    gap: 2px;
}
.hero .reviews li{
    line-height: 0;
}
.hero .reviews img{
    width: 18px;
}
.teacher{
    margin: 15px 0;
}
.hero .teacher span{
    min-height: 100px;
    min-height: 100px;
    line-height: 0;
    border-radius: 50%;
    overflow: hidden;
    display: block;
}
.teacher img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.all_course{
    border-bottom: 1px solid gray;
}
.all_course .section_header p{
    max-width: 90%;
    line-height: 1.6;
    font-size: 19px;
}
.class_details{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.class_details li{
    background-color: #086F83;
    color: var(--body-color);
    border-radius: 10px;
    padding: 45px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.class_details li:nth-child(2){
    background-color: #0A2849;
}
.class_details li:nth-child(3){
    background-color: #234E52;
}
.class_details li:nth-child(4){
    background-color: #1A202C;
}
section{
    padding: 100px 0;
}
.course_dtl{
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-top: 45px;
    justify-items: center;
}
.ja_shikben ul{
    list-style: decimal-leading-zero;
}
.ja_shikben ul li ,
.students li{
    margin-bottom: 10px;
    border-radius: 5px;
    padding: 8px 10px;
    border: 1px solid #b4b4b4;
    cursor: pointer;
    transition: .3s;
    color: #000;
}
.ja_shikben ul li:hover,
.students li:hover{
    box-shadow: 1px 2px 4px #cacaca;
    background-color: #e1e1e1;
}
.student_dtl{
    text-align: start;
    max-width: 600px;
    margin: 0 auto;
}
.students li{
    color: #0A2849;
}
.students h5{
    color: #00ba4e;
}
summary{
    cursor: pointer;
}
.students{
    text-align: center;
    border-bottom: 1px solid #ababab;
}
.course_dtl .skills div{
    border: 1px solid gray;
    border-radius: 10px;
    padding: 10px;
}
.course_dtl .skills li{
    border: 1px solid gray;
    border-radius: 10px;
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: inline-block;
    font-weight: bold;
    font-size: 14px;
    background-color: #ededed;
    transition: .3s;
    cursor: pointer;
}
.course_dtl .skills li:hover{
    box-shadow: 1px 2px 4px #cacaca;
}
.section_header{
    text-align: center;
    padding: 20px 0;
}
.course_curriculum .section_header h5{
    box-shadow: 0 0 8px #ff8f8f inset;
    padding: 10px;
    display: inline-block;
    border-radius: 5px;
}
.course_curriculum small{
    font-size: 14px;
    font-weight: bold;
    color: gray;
}
.course_curriculum small.btn_primary{
    cursor: pointer;
    color: green;
}
.section_header h3{
    margin-bottom: 8px;
}
.section_header p{
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}
.course_curriculum ul{
    margin-bottom: 30px;
}
.course_curriculum ul .module_list{
    display: flex;
    gap: 20px;
    padding: 50px 0;
    border-bottom: 1px solid #dcdcdc;
}
.course_curriculum .modules{
    width: 400px;
    justify-items: center;
}
.course_curriculum .modules p{
    letter-spacing: 2.5px;
    font-size: 20px;
    text-transform: uppercase;
}
.course_curriculum ol{
    margin-top: 20px;
}
.course_curriculum ol li{
    border: 1px solid #dfdfdf;
    padding: 15px;
    border-radius: 10px;
    max-width: 700px;
    margin: 0 auto;
    margin-bottom: 15px;
}
.course_curriculum ol .li .free_demo{
    width: 100%;
}

.count_video{
    width: 100px;
}
.free_demo{
    justify-content: space-between;
}
#all_video{
    display: none;
}
.course_video{
    margin: 20px 0;
    text-align: end;
    display: none;
}
.course_video video{
    border-radius: 10px;
    max-height: 400px;
}
.seeMore_btn{
    text-align: end;
    color: var(--primary-color);
    cursor: pointer;
}
.btn_div{
    text-align: center;
}
.mentor_data{
    display: grid;
    grid-template-columns: 300px auto;
    gap: 30px;
}
.mentor_details{
    background-image: url('../images/hero_bg.svg');
    background-size: cover;
    background-position: center;
    color: var(--body-color);
}
.mentor_details h3{
    text-align: center;
}
.mentor_img{
    max-width: 600px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}
.mentor_img img{
    object-fit: cover;
    border-radius: 10px;
}
.daily_star_logo img{
    width: 70px;
}
.daily_star_logo h6{
    font-weight: normal;
    line-height: 27px;
}
.faq{
    background-image: url('../images/hero_bg.svg');
    background-position: center;
    background-size: cover;
    padding: 50px 0;
}
.faq .section_header{
    color: var(--body-color);
}
.faq_data{
    background-color: #f9f9f9;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}
.faq_help{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.faq_help p{
    text-align: center;
    padding: 20px 15px;
    font-weight: var(--font-semiBold);
    cursor: pointer;
    position: relative;
    font-weight: var(--font-bold);
    transition: .5s;
}
.faq_help p:hover{
    background-color: #e1f6ff;
}
.faq_help p.active{
    background-color: #e1f6ff;
}
.faq_help p.active::after {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #00ba4e;
    content: '';
    bottom: 0;
    left: 0;
}
.faq_data ul li {
    padding: 20px 10px;
    border-top: 1px solid #e1f6ff;
}
.faq_data ul summary {
    cursor: pointer;
    position: relative;
}
.faq_data ul summary::after {
    position: absolute;
    width: 100%;
    content: '-';
    font-size: 34px;
    right: 20px;
    top: -12px;
    text-align: end;
}
.faq_data ul details[open] summary::after {
    content: '+';
    top: -5px;
    font-size: 25px;
}
.faq_data ul p {
    font-size: 18px;
    margin-top: 10px;
}
.faq_mail{
    padding: 15px 25px;
    background-color: var(--secondary-color);
    color: var(--body-color);
    display: inline-block;
    border-radius: 10px;
}
.faq_mail p{
    font-size: 18px;
    font-weight: var(--font-normal);
}
.faq_mail span{
    color: var(--primary-color);
}
.courses ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 35px;
}
.courses ul li{
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid gray;
}
.card{
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.card .card_img {
    height: 220px;
    overflow: hidden;
}
.card_img img{
    transition: 0.6s;
}
.card:hover .card_img img{
    transform: scale(1.1);
    object-fit: cover;
}
.card_text{
    padding: 10px;
}
.card_text h5{
    margin-bottom: 7px;
}
.card_text .skill{
    margin: 10px 0;
    display: flex;
    gap: 5px;
}
.card_text .skill small{
    background-color: #e3e3e3;
    padding: 5px;
    border-radius: 5px;
}
.card_footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.slider {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    overflow: hidden;
}

.slider ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
}

.slider ul li {
    min-width: 97%;
    padding: 15px;
    border: 1px solid gray;
    border-radius: 10px;
    background-color: #fff;
}

.slider ul li img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    opacity: 0;
    transition: .5s;
}
.slider:hover button{
    opacity: 1;
}

.slider button.left {
    left: 5px;
}

.slider button.right {
    right: 5px;
}

.slider button:hover {
    background: rgba(0, 0, 0, 0.8);
}
.modal{
    display: none;
}
.overlay {
    position: fixed;
    display: block;
    z-index: 150;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #000000c2;
}
.popup{
    position: fixed;
    max-width: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 20px;
    background-color: var(--body-color);
    z-index: 160;
    border-radius: 10px;
}
.popup2{
    display: none;
}
.popup2 input::placeholder{
    color: black;
}
.popup input{
    width: 100%;
    border: 1px solid gray;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 5px;
}
.popup2 input{
    margin-bottom: 5px;
    font-size: 15px;
    border: 1px solid #e8e8e8;
    box-shadow: -3px 3px 3px #c9c9c9;
}

.video_reviews{
  background-image: url('../images/hero_bg.svg');
  background-position: center;
  background-size: cover;
}
.video_reviews .section_header h3{
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--body-color);
}
.review_video{
    max-width: 600px;
    margin: 0 auto;
}
.review_video video{
    width: 100%;
    border-radius: 10px;
}

.enroll_Now {
    transition: background-color 0.3s ease;
    animation: button-shake 3s infinite ease-in-out;
  
    &:hover {
      background-color: #e04e2c;
    }
  }
  
  @keyframes button-shake {
    0% { transform: rotate(0deg) scale(1); }
    10% { transform: rotate(10deg) scale(1.05); }
    20% { transform: rotate(-10deg) scale(1.1); }
    30% { transform: rotate(5deg) scale(0.95); }
    40% { transform: rotate(-5deg) scale(1.05); }
    50% { transform: rotate(0deg) scale(1); } /* এখানে থামবে */
    60% { transform: translateX(3px) rotate(3deg); } /* আচমকা নড়বে */
    65% { transform: translateX(-3px) rotate(-3deg); }
    70% { transform: translateX(2px) rotate(2deg); }
    75% { transform: translateX(-2px) rotate(-2deg); }
    80% { transform: translateX(0) rotate(0deg) scale(1.1); } /* আস্তে আস্তে স্বাভাবিক হবে */
    100% { transform: scale(1); } /* কিছুক্ষণ স্থির থাকবে */
  }
  