@font-face {
    font-family: 'TiroBangla Regular';
    src: url('../fonts/TiroBangla-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body{
    font-family: 'TiroBangla Regular';
    font-size: 20px;
}

h4{
    font-size: 19px;
    margin: 0;
}

:root {
  --primary-color: #F2A100;
  --second-color: #001870;
  --third-color: #8F8F8F;
}

.btn-primary{
    font-size: 20px;
    padding: 7px 58px;
    background: var(--primary-color);
    color: #fff;
    border: var(--primary-color);
}

.text-primary{
    color: var(--primary-color)!important;
}

.text-secondary{
    color: var(--second-color)!important;
}

.btn-primary:hover{
    background: var(--second-color);
    color: #fff;
    border: var(--second-color);
}

.btn-secondary{
    font-size: 20px;
    padding: 7px 58px;
    background: #fff;
    color: var(--second-color);
    border: #fff;
    width: max-content;
    padding-top: 12px;
}

.btn-secondary:hover{
    background: var(--second-color);
    color: #fff;
    border: var(--second-color);
}

#header{
    background-color: var(--primary-color);
    color: #fff;
}

nav{
    background-color: var(--second-color);
}

nav .nav-link{
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    padding: 8px 15px 3px 15px;
}

nav .nav-item .nav-link:hover, nav .nav-item .nav-link:focus, nav .nav-item .active, .current_page_item{
    background: var(--primary-color);
    color: #fff;
}

#banner{
    padding: 12% 0;
    border-bottom: none, 8px solid transparent; /* thickness of border */
    background: url("../images/banner_01.jpg") no-repeat bottom 8px center, linear-gradient(to right, 
              #f5a300 0%,   /* orange start */
              #f5a300 33%,  /* orange covers 1/3 */
              #001f70 33%,  /* dark blue starts */
              #001f70 66%,  /* dark blue covers middle */
              #f5a300 66%,  /* orange starts again */
              #f5a300 100%  /* orange till end */
             ) bottom no-repeat;
    background-size: cover, 100% 8px; /* size of image and border */
}

.cat-header{
    background: var(--second-color);
    color: #fff;
}

.category-img{
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-responsive{
    width: 55%;
    height: auto;
}

.category_container{
    grid-template-columns: repeat(4, 1fr);
}

.date{
    color: var(--third-color);
    font-size: 14px;
}

#section-five p{
    margin-bottom: 0;
}

.first-word {
    color: var(--second-color); /* Change to any color you want */
}

#section-six{
    background: var(--primary-color);
    color: #fff;
}

#section-six .date{
    color: #fff;
}

.section-six-container{
    background: var(--second-color);
}

#section-seven{
    color: #fff;
    background: url("../images/bg_02.png"), url("../images/bg_01.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 350px;
}

.section-eight-img-section{
    background: url("../images/img_05.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 640px;
}

.section-eight-text-section p{
    line-height: 23px;
}

.section-eight-text-section div{
    width: 50%;
}

.section-eight-text-section p:nth-child(even){
    color: var(--second-color);
}
.section-eight-text-section p:nth-child(odd){
    color: var(--primary-color);
}

#section-nine{
  background: url("../images/img_06.png"), url("../images/img_07.png"), url("../images/img_06.jpg");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: center, center right, center;
  background-size: cover, contain, cover;
  min-height: 600px;
}

#section-ten{
    background: url("../images/img_08.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 600px;
}

#section-eleven{
    background: 
        url("../images/img_09.jpg");
    
    background-repeat: no-repeat, no-repeat;
    background-position: top right, center;
    background-size: auto, cover;
    min-height: 500px;
}

.footer{
    background: 
        url("../images/footer_bg_01.png"),
        url("../images/footer_bg_02.png"),
        #f3f3f3;
    background-position: right -28px top -21px, left 0 top 0, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: contain, contain, cover;
}

footer{
    background: var(--primary-color);
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 24px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--second-color);
}

.copyright-section{
    background: var(--second-color);
}

#scrollTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: var(--primary-color);
    color: #555;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

#scrollTopBtn:hover {
    background-color: #555;
}

#about-us .container{
    background: var(--second-color);
    color: #fff;
}


#about_section_2{
    background: #dcdcdc52;
}

#about_section_2 p{
    margin: 0;
    font-size: 18px;
}

.fixed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.protibedon_section h2{
    background: var(--second-color);
    color: #fff;
    width: fit-content;
    padding: 15px 25px 10px 25px;
}

#pagination_one{
    background: initial;
}

#pagination_one .active .page-link{
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color)
}

#pagination_one .page-link{
    color: var(--second-color);
    font-size: 20px;
}

.contact-us{
    background: var(--primary-color);
    color: #fff;
}

.category_container a{
    text-decoration: none;
    color: initial;
}

.category-container .category-description{
    margin: 0;
  }

  .category-header-post{
    height: 50px;
    background: var(--second-color);
  }
  .category-header {
    text-align: center;
    background: var(--second-color);
    color: #fff;
  }

  .category-header h3 {
    line-height: 60px;
  }

  .category-description {
    padding: 20px;
    margin: -8px 0 0 0;
  }

  .default_text_one {
    padding-top: 15px;
  }

  .default_text_one p {
    color: var(--primary-color);
    line-height: 12px;
  }

  .category-container .default_text_one p {
    color: initial;
    line-height: 25px;
  }


@media (max-width: 1199px) {
    .img-responsive{
        width: 80%;
        height: auto;
    }

    .category_container{
        grid-template-columns: repeat(2, 1fr);
    }

    .section-eight-text-section div{
        width: 100%;
    }

    .about_section_2_name_list{
        padding: 20px 10px;
    }
}

@media (max-width: 991px) {
    #section-nine{
        min-height: initial;
    }

    #section-ten{
        min-height: 300px
    }

    #section-eleven{
        background: 
            linear-gradient(to right, #fff 0%, #ffffffd1 50%) no-repeat center / cover,
            url("../images/img_09.jpg") no-repeat top right / auto;
        min-height: auto;
    }

    nav .nav-link{
        font-size: 20px;
        padding: 6px 10px 3px 10px;
    }

    .footer{
        background-size: 24%, 7%, auto;
    }
}

@media (max-width: 768px) {
    #section-six h3{
        font-size: 19px;
    }

    .section-eight-img-section{
        min-height: 200px;
    }
}

@media (max-width: 575px) {
    .category_container{
        grid-template-columns: repeat(1, 1fr);
    }

    .section-eight-text-section div{
        width: 100%;
    }

    #section-seven{
        min-height: initial;
    }

    .footer{
        background: url("../images/img_08.png"), url("../images/footer_bg_01.png"), url("../images/footer_bg_02.png");
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-position: center, top -21px right -26px, left top;
        background-size: cover, 126px, 35px;
    }

    .img-responsive {
        width: 50%;
        height: auto;
    }
}
