body{
    overflow: hidden;
}
td {
    padding: 10px;
    border: 1px solid;
}
.text-muted{
    margin-bottom: 0;
}
/*===============================blog page section css start================================*/
/*.blog-content a.blog-read:hover{background-color: var(--secondary-color);color: var(--text-white);border-color: var(--secondary-color);}*/
.blog-headings p{padding: 0% 27%;}
.blog-content{padding: var(--p15);}
.blog-headings{text-align: center; padding-bottom: var(--p40);}
.blog-headings h5{color: #00E5CC;font-size: var(--f18);font-weight: 500;text-transform: uppercase;margin-bottom: var(--m13);}
.blog-headings h2{color: #000E44;font-size: var(--f42);font-weight: 700; margin-bottom: var(--m14);}
.blog-headings p{color: #848E9F; font-size: var(--f16); font-weight: 400;}
.home-blog-image img{width: 100%;border-radius: 0px;border-bottom-left-radius: 0;border-bottom-right-radius: 0;
    height: 230px;
    object-fit: cover;
}
.blog-category{color: #848E9F;font-size: var(--f16);font-weight: 400;position: absolute;bottom: 10px;right: 10px;background-color: #731a17;padding: var(--p5) var(--p23);border-radius: 50px;color: #fff;box-shadow: 0px 0px 10px #fff;}
.blog-category a{color: #fff;}
.home-blog-image{position: relative; margin-bottom: 0px;}
.blog-date {color: #000;font-size: var(--f14);font-weight: 500;margin-left: var(--m20);
    letter-spacing:0px;
}
.blog-feat{margin-top: var(--m10);margin-bottom: var(--m9);}
.blog-date:first-child{margin-left: 0px;
    letter-spacing: 0px;}
.blog-date i{color: var(--secondary-color);
    font-size: var(--f15);}
.blog-content h4 a{font-weight: 700;
    font-size: var(--f26);
    text-decoration: none;
    line-height: 15px;
    color: var(--secondary-color);}
.blog-content p{color: #212529;
    font-size: var(--f16);
    font-weight: 400;
    height: 104px;}
.blog-content a.blog-read{color: #000;font-size: var(--f16);background-color: var(--ocean-color);padding: var(--p8) var(--p30);display: inline-block;margin-top: var(--m7);border-radius: 0;text-decoration: none;margin-bottom: 0px;}
.blog-content a.blog-read i{margin-left: var(--m5);font-size: var(--f14);}
.blog-wrapper{padding: var(--p60) var(--p12) var(--p60);}
.blog-page{margin-bottom: var(--m30);background-color: #fff; border-radius: 0px;box-shadow: 0 2px 20px rgb(0 0 0 / 15%);}
.blog-content h4{line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--secondary-font);
    color: #000;
    height: 54px;
    overflow: hidden;
    text-transform: capitalize;
}
.blog-wrapper a.main-btn{
    width:166px;
    display:block;
}

.blog-wrapper .col-lg-4{
    padding-left: var(--p8);
    padding-right: var(--p8);
}
/*=================================blog page section css end==============================*/


/*=================================Blog detail section css start==================================*/
.blog-detail-page-title h3{font-size: 24px; text-align: center; margin-bottom: 30px; color: #000E44; font-weight: 600; }
.blog-detail-image img{width: 100%;height: auto;max-height: 500px;object-fit: cover;}
.blog-detail-image{position: relative;}
.blog-detail-title h1{color: #000E44;text-decoration: none;font-size: 33px;margin-top: 10px;font-weight: 600;margin-bottom: 15px;}
.blog-detail-title h2{color: #000E44;text-decoration: none;font-size: 29px;margin-top: 10px;font-weight: 600;margin-bottom: 15px;}
.blog-detail-title h3{    color: var(--secondary-color);
    text-decoration: none;
    font-size: 26px;
    margin-top: 10px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}
.blog-detail-title h4{color: #000E44;text-decoration: none;font-size: 24px;margin-top: 10px;font-weight: 600;margin-bottom: 15px;}
.blog-detail-title h5{color: #000E44;text-decoration: none;font-size: 22px;margin-top: 10px;font-weight: 600;margin-bottom: 15px;}
.blog-detail-title h6{color: #000E44;text-decoration: none;font-size: 20px;margin-top: 10px;font-weight: 600;margin-bottom: 15px;}
.blog-detail-title{margin-top: 20px;}
.blod-detail-description p{text-align: justify;font-size: 15px;font-weight: 400;color: #000; opacity: .95; letter-spacing: .4px;}
.blod-detail-description{margin-top: 13px;}
.blog-detail-wrapper .widget {
    border-radius: 10px;
    position: relative;
     /* box-shadow: 0 0 20px rgb(0 0 0 / 7%); */
    margin-bottom: 30px;
    /* border: 1px solid #ffffff74;  */
    padding: 0;
}
.blog-detail-wrapper ul{
    padding-left: 30px;
}
.blog-detail-wrapper li{
    list-style: disc !important;
    line-height: 30px;
}
.blog-detail-wrapper .widget span{
    color: var(--heading-color);
    font-weight: 500;
    height: 60px;
    overflow: hidden;
    letter-spacing: 0;
    line-height: 1.2rem;
    padding: 0;
}
h2.widget-title, h2.widgettitle {font-size: 26px;
    padding-bottom: 18px;
    margin-bottom: 30px;
    position: relative;
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: capitalize;
    font-family: var(--secondary-font);}
.blog-detail-wrapper .widget-title:after{position: absolute;content: '';width: 63px;height: 2px;background-color: var(--secondary-color);bottom: 6px;left: 0;}
#secondary .widget ul {margin: 0; padding-left: 0; list-style-type: none; }
.blog-detail-wrapper .widget ol li, .blog-detail-wrapper .widget ul li {padding: .72rem 0; border-bottom: 1px solid #e8ecef; border-top: 1px solid #e8ecef; list-style-type: none; padding-left: 0; display: flex; justify-content: space-between; }
.blog-detail-wrapper .widget_categories ul{padding-left: 0;}
.blog-detail-wrapper .widget ol li:first-child, .blog-detail-wrapper .widget ul li:first-child {border-top: none; padding-top: 0; }
#secondary .widget ul li {position: relative; }
.blog-detail-wrapper .widget_categories li a {display: flex;color: #000!important;font-size: 15px;text-decoration: none;font-weight: 700;opacity: .9;justify-content: space-between;}
.blog-detail-wrapper .widget_categories li a i {display: flex; color: #000!important; padding-left: 20px; font-size: 19px; padding-right: 14px; padding-top: 7px; }
.blog-detail-wrapper .widget_recent_entries img {margin-right: 17px; height: 74px; max-width: 75px; display: block; object-fit: cover; border-radius: 10px; }
.blog-detail-wrapper .widget_recent_entries li.item-recent-post .title-post {display: flex; flex-direction: column; width: 76%;}
.blog-detail-wrapper .widget_recent_entries li.item-recent-post a {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;line-height: 1.3;max-height: 2.6em;margin-bottom: .5em;font-size: 17px;color: #000;text-decoration: none;font-weight: 600;}
.blog-detail-wrapper .widget_recent_entries .post-date {display: block;font-size: 14px!important;font-size: .6875rem;color: var(--secondary-color);text-transform: uppercase;}
.blog-detail-wrapper .widget_recent_entries ul{padding-left: 0px;}
.feat_blog_con p span {color: #000;font-size: 15px;margin-right: 17px;font-weight: 400;}
.feat_blog_con p span a {color: var(--secondary-color);font-size: 15px;margin-right: 17px;font-weight: 400; text-decoration: none;}
.blog-detail-image{position: relative;}
.blog-detail-image img{border-radius: 10px;}
.blog-detail-image .blog-detail-cat{font-size: 16px;font-weight: 400;position: absolute;bottom: 10px;right: 10px;background-color: #721915;padding: 5px 23px;border-radius: 50px;color: #fff;box-shadow: 0px 0px 10px #fff;}
.blog-detail-image .blog-detail-cat a{color: #fff; text-decoration: none;}
.blog-detail-wrapper  .blod-detail-description img{width:100%;}

section.blog-detail-wrapper.mt-5 {
    margin-top: 0px !important;
    padding-top: 70px;
    padding-bottom: 70px;
    background: #fff;
}
.blog-detail-wrapper .widget_categories li a img{
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 7px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    padding: 0;
    border: 2px solid #8e98ab;
}
section.blog-detail-wrapper.mt-5 h1{
    font-size: 32px;
    color: var(--heading-color);
}
section.blog-detail-wrapper.mt-5 h2{
    font-size: 24px;
    color: var(--secondary-color);
}
section.blog-detail-wrapper.mt-5 h3{
    font-size: 22px;
    color: var(--heading-color);
    margin: 10px 0;
}
section.blog-detail-wrapper .col-lg-8{
    width: 62%;
}
section.blog-detail-wrapper .row{
    justify-content: space-between;
}
section.blog-detail-wrapper.mt-5 h4{
    font-size: 16px;
    color: var(--secondary-color);
}
section.blog-detail-wrapper.mt-5 h5{
    font-size: 13px;
    color: var(--secondary-color);
}
section.blog-detail-wrapper.mt-5 h6{
    font-size: 10px;
    color: var(--secondary-color);
}
.blod-detail-description span{
    font-family: var(--primary-font);
    font-size:16px;
}
section.contact h2{
    font-family: Creattion;
}
.blod-detail-description a span, .blod-detail-description a{
    
}

.feat_blog_con i{
     color:var(--secondary-color);
}

.blog-content .btn-25 span{
    font-size: 14px;
}

.blog-content .blog-feat a {
    color: var(--text-black);
    text-decoration: none;
}
.main-banner .overlay {
height: 150px !important;
}
.sticky-catg{
    border-radius: 12px;
    padding: 15px;
    /* box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px; */
    position: sticky;
    top: 82px;
    background: #f8f8f8;
}
.blog-btn{
    margin-top: 20px;
    border-bottom: 1px solid var(--heading-color);
    padding-bottom: 5px;
    margin-bottom: 10px;
    text-align: center;
    color: var(--heading-color);
}
.blog-view{
    text-align: center;
}
.blog-view {
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}
/*=================================Blog detail section css end==================================*/




/* blogs sections */
section.blogs{
    background: var(--main-bg);
    position: relative;
}
section.blogs .overlay{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url(../images/body-bg.png);
    background-position: 50% 19%;
    top: 0;
    left: 0;
}
section.blogs .main-blog{
    padding: 13px;
}
section.blogs .blog-img{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}
section.blogs .blog-img:hover .blogs-img{
    transform: scale(1.14);
}
section.blogs .blog-img img{
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
    transition: .4s ease-in-out;
}
section.blogs .blog-img span{
    position: absolute;
    background: var(--main-bg);
    padding: 10px;
    color: #fff;
    border-radius: 0 10px 10px 0;
    top: 10px;
    left: 0px;
    font-size: 10px;
    letter-spacing: 1px;
}
section.blogs .heading h2{
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}
.blog-cont span{
    color: var(--heading-color);
    margin-top: 10px;
    margin-bottom: 10px;
}
.blog-cont h4{
    color: var(--white-color);
    font-family: var(--secondary-font);
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 10px;
    letter-spacing: 1px;
}
.blog-cont p{
    color: #fff;
    opacity: .7;
    display: none;
    margin-bottom: 5px;
}
.blog-cont{
    padding: 10px;
}
.blog-cont a {
    font-size: 18px;
    color: #B0AEF7;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 3px;
    position: relative;
    z-index: 2;
}
.blog-cont a::before{
    position: absolute;
    content: '';
    width: 0px;
    height: 7px;
    background: #ffffff6b;
    bottom: 7px;
    transition: .5s ease-in-out;
    z-index: -1;
}
.blog-cont a:hover::before{
    width: 100px;
}

.blog-cont a i{
    color: #fff;
    font-size: 15px;
}


@media (max-width: 980px){
    section.blogs .col-3{
        width: 50%;
    }
    section.blog-detail-wrapper .col-lg-8{
        width: 100%;
    }
}
@media (max-width: 540px){
    section.blogs .col-3{
        width: 100%;
    }
    section.blog-detail-wrapper.mt-5 h1 {
        font-size: 25px;
    }
    .sticky-catg{
        padding: 0
    }
}


section.blog-sec{
    background: #f1f1f1;
}
section.blog-sec .blog-card .cont h2{
    font-weight: 500;
    font-size: 22px;
}
section.blog-sec .blog-img:nth-child(odd){
    height: 340px;
}
section.blog-sec .blog-img:nth-child(even){
    height: 400px;
}


.latest-cont span{
    font-family: var(--secondary-font);
    color: var(--white-color);
    background: var(--heading-color);
    padding: 7px 20px;
    font-size: 16px;
    font-weight: 600;
}
.latest-cont h2 a{
    font-size: var(--f22);
    font-weight: 600;
    margin-top: 20px;
    position: relative;
    color: var(--heading-color);
    display: inline-block;
    margin-bottom: 10px;
}
.latest-cont h2 a::before{
    content: '';
    position: absolute;
    width: 0%;
    height: 1px;
    background: var(--heading-color);
    left: 0;
    bottom: -10px;
    transition: .5s ease-in-out;
}
.latest-cont h2 a:hover::before{
    width: 90%;
}
.latest-cont a{
    color: var(--heading-color);
}
.latest-cont a i{
 opacity: 0;
 transition: .2s ease-in-out;
}
.latest-cont a:hover i{
    opacity: 1;
}
.latest-cont .by{
    display: flex;
    gap: 25px;
}
.latest-cont .by li{
    color: var(--black-color);
}
.latest-cont .by li i{
    color: var(--heading-color);
}
.latest-cont p{
    color: #000;
    margin-bottom: 0;
}
.latest-cont .para{
    height: 100px;
    overflow: hidden;
    margin-top: 20px;
}
section.latest .img img{
    border-radius: 20px;
    height: auto;
    object-fit: cover;
}
section.latest{
    background: var(--white-color);
}

.feat_blog_con .by{
    display: flex;
    gap: 10px;
    padding-left: 0;
}
.feat_blog_con .by li{
    list-style: none !important;
    color: #000;
}
.feat_blog_con .by li i{
    color: var(--heading-color);
}
/* new blog section */
section.new-blog{
    background: var(--lt-color);
}
section.new-blog .head{
    text-align: center;
    margin-bottom: 40px;
}
section.new-blog .img-sec{
    position: relative;
    height: 250px;
    overflow: hidden;
}
section.new-blog .img-sec img{
    height: 250px;
    transition: .5s ease-in-out;
}
section.new-blog .col-4:hover img{
    transform: scale(1.12);
}
section.new-blog .img-sec span{
    position: absolute;
    left: 0;
    top: 20px;
    font-family: var(--primary-font);
    color: #fff;
    background: var(--heading-color);
    padding: 5px 15px;
}
section.new-blog .cont span{
    color: var(--btn-hover);
    opacity: .8;
    font-weight: 600;
}
section.new-blog .cont h4{
    color: var(--heading-color);
    font-size: 16px;
    margin-top: 20px;
    font-weight: 700;
}
section.new-blog .cont{
    padding: 20px;
}
section.new-blog .col-4{
    margin-bottom: 30px;
    border: 1px solid #bababaa6;
    width: 31%;
    padding: 0;

}
section.new-blog .row{
gap: 25px;
justify-content: flex-start;
position: relative;
}


section.new-blog .tab__title {
    margin: 20px 0 0;
    padding-bottom: 5px;
    display: flex;
    gap: 20px;
    .tab__button:first-of-type {
        margin:0;
    }
  }
  section.new-blog .tab-sec .col-12{
    position: sticky;
    top: 0;
    z-index: 9;
    background: var(--lt-color);  
}
  section.new-blog .tab__button {
      padding: 8px;
      border: none;
      /* border-bottom: 1px solid #e5e5e5; */
      border: 1px solid #b3b3b3;
      background: transparent;
      outline: none;
      margin: 0 -5px;
      cursor: pointer;
      width: 100%;
      text-align: center;
      font-size: 13px;
      border-radius: 20px;
      font-family: var(--secondary-font);
      font-weight: 500;
  }
    
  section.new-blog .tab_button-active {
      border-bottom: none;
      background: var(--btn-color);
      color: var(--white-color); 
  }
  
  section.new-blog .tab__inside {
    
    visibility: hidden; 
    opacity: 0;
    height: 0;
    transform: translateY(10px);
    transition: transform .3s ease-in;
    
    .tab__inside-img {
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-content: center;
      
    img {
      width: 100%;
      height: 370px;
      object-fit: cover;
    }
  }
  }
  section.new-blog .tab__inside-active {
    padding: 30px 0;
  visibility: visible; 
  opacity: 1;
  height: 100%;
    transform: translateY(0);
    transition: transform .3s ease-out 0.1s, opacity .3s ease-out 0.1s;
}
  section.new-blog .tab__inside-text {
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-content: center;
      gap: 30px;
      
      p {
        color: #000;
        font-size: 14px;
        font-weight: 100;
        opacity: 1;
        font-weight: 400;
      }
    
  }

/* newletter */

section.newsletters{
    background: url(../images/web5.JPG);
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    position: relative;
}
section.newsletters::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:#000000a3;
}
section.newsletters .container{
    position: relative;
}
section.newsletters .cont-sec span{
    color: #fff;
    font-size: 15px;
    position: relative;
}
section.newsletters .cont-sec span::before{
    content: '';
    position: absolute;
    top: 10px;
    right: -150px;
    background: #fff;
    height: 1.5px;
    width: 140px;
}

section.newsletters .cont-sec h3{
    color: #fff;
    margin-top: 10px;
}
section.newsletters .cont-sec p{
    color: #fff;
    font-size: 18px;
}
section.newsletters form input{
    padding: 15px;
    border: none;
    background: var(--white-color);
}
section.newsletters form button{
    background: var(--btn-color);
    padding: 15px;
    border: none;
    color: #fff;
}
section.newsletters form{
    display: flex;
    justify-content: center;
}
section.newsletters .col-6{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* leave a reply */
#leaveComment .col-4{
    padding: 0;
    width: 32%;
}
.leave-comment h3{
    margin-bottom: 40px !important;
    position: relative;
}
.leave-comment h3::before{
    content: '';
    position: absolute;
    width: 15%;
    height: 2px;
    bottom: -10px;
    background: var(--heading-color);
    z-index: 7;
}
#leaveComment .col-12{
    padding: 0;
}
#leaveComment .button{
    background: var(--heading-color);
    border: 1px solid var(--heading-color);
    transition: .5s ease-in-out;
    color: white;
    padding: 15px 20px;
    width: 200px;
}
#leaveComment .button:hover{
    border: 1px solid var(--heading-color);
    background: transparent;
    color: var(--heading-color);
}
#leaveComment .row{
    gap: 10px;
}

#leaveComment input{
    width: 100%;
    border: 1px solid #5f5f5f;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 10px;
}
#leaveComment textarea{
    width: 100%;
    border: 1px solid #5f5f5f;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
}
.blog-heading{
    font-size: 32px;
    color: var(--heading-color) !important;
}

@media screen and (max-width: 991px){
    .blog-wrapper .col-lg-4{
        width: 50%;
    }
    section.case-design .col-5{
        width: 100%;
        margin-bottom: 20px;
    }
    section.case-design .col-7{
        width: 100%;
    }
    .leave-comment{
        margin-bottom: 20px;
    }
    .blog-detail-wrapper .widget_categories li a{
        justify-content: flex-start;
        gap: 35px;
    }
    section.new-blog div#course-section .col-3{
        width: 48%;
    }
    section.new-blog div#course-section .col-4{
        width: 48%;
    }
    section.new-blog .tab__title{
        flex-wrap: wrap;
    }
    section.new-blog .tab__title button{
        width: auto;
    }
}
@media screen and (max-width: 540px){
    .blog-wrapper .col-lg-4{
        width: 100%;
    }
    #leaveComment .col-4{
        width: 100%;
    }
    .blog-detail-wrapper .widget{
        padding: 15px;
    }
    .blog-detail-wrapper .widget_categories li a {
        justify-content: space-between;
        gap: 15px;
    }

    section.latest .col-6{
        width: 100%;
        margin-top: 20px;
    }
    section.new-blog div#course-section .col-3{
        width: 100%;
    }
    section.new-blog div#course-section .col-4{
        width: 100%;
    }
}