@import url('https://fonts.cdnfonts.com/css/bebas-neue');
@import url('https://fonts.cdnfonts.com/css/poppins');
/* font-family: 'Bebas Neue', sans-serif; */
/* === body style === */
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body{
    margin: 0;
    padding: 0;
    /*background-color: #E8E6E8;*/
     background-color: #fff; 
    box-sizing: border-box;
    
}
main2{
    width: min(1200px, 90vw);
    margin: auto;
}

.main_slider{
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0;
}
section.main_slider:before {
    position: absolute;
    background: #000;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    content: '';
    opacity: 0.5;
}
.main_heading h1 {
    font-family: 'Bebas Neue', sans-serif;
    margin: 0;
    font-size: 5rem;
    color: #fff;
    font-weight: bold;
    
}
.main_heading p {
    color: #fff;
    font-size: 18px;
    max-width: 350px;
}
.Advice_1 a {
    background: #682985;
    margin-right: 15px;
    padding: 8px 15px;
    color: #fff;
    display: inline-flex;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 8px;
    width: 200px;
    text-align: center;
    justify-content: center;
    outline: none;
}
.card_heading h2{
    font-weight: bold;
    font-size: 3rem;
    font-family: 'Bebas Neue', sans-serif;
}
.card_heading {
    text-align: center;
    /* padding: 80px 0 0 0; */
    margin: 0;
    color: #682985;
    font-weight: bold;
}
/* === slider item content style === */
#sliderMain6 .item {
    position: relative; 
}

.item_content {
    color: #fff;
    position: absolute;
    top: -120%;
    left: 0;
    right: 0;
    text-align: center;
    padding: 60px 0;
    content: '';
    background: rgba(0, 0, 0, 0.9);
    transition: all 0.5s;
}
.item_content p{
    padding: 0;
    margin: 0;
}
.item_title{
    background-color: #fff;
    text-align: center;
    z-index: 999;
    position: absolute;
    color: #777;
    left: 0;
    right: 0;
    bottom: -8px;
    padding: 10px 0;
    content: '';
    
}
.social_icon{
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
}
.social_icon li a i{
    font-size: 20px;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.social_icon li a{
    text-decoration: none;
}

.slider_main .item:hover .item_content{
      top: 0%;
}
.slider_main .item:hover .item_title{
      bottom: -30%;
      transition: all 0.5s;
}

.one_card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px solid;
    border-top: 5px solid;
    border-radius: 30px;
    color: #682985;
}
.social li i {
    font-size: 22px;
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social li a{
    text-decoration: none;
}
.one_card_content span {
    font-size: 14px;
    margin-left: 10px;
    font-weight: 900;
}
.semi-transparent-section{
    position: relative;
}
.semi-transparent-section h1 {
    position: absolute;
    left: 0;
    opacity: 0.1;
    text-align: center;
    justify-content: center;
    right: 0;
    top: -60px;
    font-size: 20rem;
}
.bg-tag{
    position: relative;
}
.bg-tag h1 {
    position: absolute;
    left: 0;
    opacity: 0.1;
    text-align: center;
    justify-content: center;
    right: 0;
    bottom: 25%;
    font-size: 20rem;
}
.one_card_img img {
    width: 200px;
}
.one_card_content h3 {
    font-size: 18px;
    color: #682985;
}
.text-title p {
    text-align: justify;
}
/* === slider style === */


.slider_main{
        --width: 300px;
        --height: 300px;
        --quantity: 8;
}
.slider_main{
    width: 100%;
    height: var(--height);
    overflow: hidden;
    mask-image: linear-gradient(
        to right,
        transparent,
        #000 10% 90%,
        transparent
    );
}
.slider_main .list{
    display: flex;
    width: 100%;
    min-width: calc(var(--width) * var(--quantity));
    position: relative;
}
.slider_main .list .item{
    width: var(--width);
    height: var(--height);
    position: absolute;
    left: 100%;
    animation: autoRun 20s linear infinite;
    transition: filter 0.5s;
    animation-delay: calc( (20s / var(--quantity)) * (var(--position) - 1) - 20s)!important;
}
.slider_main .list .item img{
    width: 100%;
}
@keyframes autoRun{
    from{
        left: 100%;
    }to{
        left: calc(var(--width) * -1);
    }
}
.slider_main:hover .item{
    animation-play-state: paused!important;
    filter: grayscale(1);
}
.slider_main .item:hover{
    filter: grayscale(0);
}
.slider_main[reverse="true"] .item{
    animation: reversePlay 20s linear infinite;
}
@keyframes reversePlay{
    from{
        left: calc(var(--width) * -1);
    }to{
        left: 100%;
    }
}



/* ========== card section  =========== */
.card_content {
    border: 3px solid #682985;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    height: 180px;
    margin-top: 50px;
}
.card_tyle p {
    margin: 0;
    line-height: 18px;
    padding: 1px 0 20px 0px;
}
.learn_more_btn a {
    border: none;
    padding: 4px 18px;
    margin: 0;
    color: #fff;
    background: #682985;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    right: 5px;
    bottom: 4px;
    outline: none;
}
.card_tyle h4 {
    margin-top:8px;
    font-size: 16px;
    font-weight: 700;
    color: #682985;
    white-space: initial;
    
    text-overflow: ellipsis;
     
    display: block;
}
.number {
    display: inline;
    position: absolute;
    font-size: 3rem;
    font-weight: bold;
    letter-spacing: -2px;
    top: -44px;
    color: #682985;
    right: 23px;
    padding: 0px 10px;
    background: #fff;
}

/* Most Populer Post section */
.most_card_sectio_img img{
    width: 100%;
}
.most_card_linck img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #007bff;
}
.most_card_linck .post-text {
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.most_card_linck .post-text a{
    text-decoration: none;
}
.most_card_section {
    display: flex;
    justify-content: center;
    /* margin-right: -15px; */
    border-bottom: 20px solid #682985;
    border-radius: 40px;
}
.custom-li li {
    display: flex;
    border-radius: 20px;
    padding: 15px 5px;
    margin: 20px 0px;
    box-shadow: 0px 0px 8px -2px;
}
.section_padding{
    padding: 50px 0;
}
.text-title h3 {
    font-family: 'Bebas Neue', sans-serif;
    margin: 0;
    text-align: center;
    font-size: 2rem;
    color: #682985;
    font-weight: bold;
    padding: 0 0 15px 0;
}

.post-text i {
    color: #682985;
    font-size: 13px;
    margin-right: 7px;
}


.populer_categories {
    max-height: 335px;
    overflow: hidden;
    position: relative;
    border-left: 5px solid #682985;
    border-right: 5px solid #682985;
}
  
  .populer_categories ul {
    display: inline-block;
    margin: 0;
    padding: 0 10px;
    list-style: none;
    animation: scroll-loop 30s linear infinite; 
  }
  
  
  .populer_categories ul li a{
    text-decoration: none;
  }
  
    .populer_categories:hover ul {
    animation-play-state: paused; 
}
  
  
  @keyframes scroll-loop {
    0% {
      transform: translateY(0);
    }
    100% {
      transform: translateY(-100%); 
    }
  }
  
  