:root {
  --border-white: #9393933d;
  --border-dark: #3333333d;
  --brand-blue: #0b2050;
  --default-padding: 20px;
  --default-mobile-padding: 12px;
  --heading-font:"DM Serif Display", serif;
  --content-font:"Roboto", serif;
}

*{
    padding: 0;
    margin: 0;
    text-decoration: none!important;
}
.bengali{
    font-family: "Tiro Bangla", serif!important;
    font-size: 22px!important;
    line-height: 30px!important;
}
body {
    font-family: var(--content-font);
    background: linear-gradient(177deg, #011636e3, #0d4fadc9, #002966ba), url(images/fabric-texture-bg.png);
    background-repeat: repeat;
    background-position: center;
    color: #444;
}
main {
    width: 100%;
    max-width: 1400px;
    margin: 2% auto;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px #061b3b;
    min-height: 100vh;
    background: linear-gradient(183deg, #ffffff, #e5ebf5);
    position: relative;
}
h1.brand {
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-position: left;
    padding: 5px 0 18px 115px;
    background-size: 30%;
    font-size: 50px;
    margin: 0;
}
h1.brand>i {
    font-size: 18px;
    display: block;
    color: #777;
}
nav.navbar {
    background-color: transparent;
    border-bottom: 1px solid var(--border-white);
    padding: var(--default-padding);
}
.navbar-toggler-icon{
    width:2.5em;
}
h1{
    font-family: var(--heading-font);
    color: var(--brand-blue);
}
img{
    max-width: 100%;
}

li.list-group-item {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px dashed #ddd;
}
li.list-group-item>a {
    color: var(--brand-blue);
}
content{min-height: 80vh;}

.about {
    width: 90%;
    margin: 30px auto;
    text-align: center;
    padding: 30px;
}
.about p {
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    margin-top: 25px;
}
a.btn-simple {
    padding: 10px 40px;
    color: #444;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    margin: 20px auto;
    display: inline-block;
}
a.btn-simple:hover {
    color: #000;
    border-color: #aaa;
}

.update-panel {
    margin: 50px auto 30px auto;
    padding: 30px;
    background-color: #fff;
    border-top: 1px solid var(--border-white);
    border-bottom: 1px solid var(--border-white);
    position: relative;
}
.update-panel>h1 {
    background-color: var(--brand-blue);
    color: #fff;
    width: 30%;
    margin: 0 auto;
    padding: 6px;
    position: absolute;
    top: -58px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    left: 35%;
}
.update-panel .tab-buttons {
    min-width: 300px;
}
.update-panel .tab-buttons button {
    background-color: transparent;
    color: #777;
    font-size: 20px;
    padding: 10px 40px;
    height: 100px;
    border-top: 1px solid var(--border-white);
    border-radius: 0;
    min-width: 45%;
}
.update-panel .tab-buttons button:first-child {
    border-top: none;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: var(--brand-blue);
}
.update-panel .tab-buttons i {
    display: block;
    font-size: 16px;
    color: #bcc6d3;
}
.update-panel .tab-content {
    border-left: 1px solid var(--border-white);
    padding: 0 20px;
    margin: 0;
}
.update-panel .tab-content .tab-pane.active {
    display: flex;
    align-items: center;
    min-height: 600px;
}
.update-panel .tab-content .desc {
    padding: 20px 40px;
}
.update-panel .tab-content .desc>p {
    font-size: 22px;
}



.btn-animate {
    text-align: center;
    min-width: 150px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    padding: 10px 0;
    width: fit-content;
    margin: 12px -10px;
    display: inline-block;
    font-size: 20px;
}
.btn-animate span {
  transition: all 0.3s;
  font-weight: bold;
  text-decoration: none;
  color: #777;
}
.btn-animate::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-top-color: var(--border-dark);
  border-bottom-color: var(--border-dark);
  transform: scale(0.8, 1);
}
.btn-animate:hover span {
  letter-spacing: 1px;
}
.btn-animate:hover::before {
  opacity: 0.7; 
  transform: scale(1, 1); 
}
.btn-animate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
  
}
.btn-animate:hover::after {
  opacity: 0; 
  transform: scale(0.1, 1);
}


.carousel-caption {
    position: absolute;
    width: fit-content;
    max-width: 450px;
    text-align: left;  
}
.carousel-caption>h1 {
    font-family: var(--content-font);
    text-transform: uppercase;
    font-size: 4em;
    font-weight: 900;
    line-height: 60px;
    letter-spacing: -1px;
    text-shadow: 0 0 3px #666;
    color: #fff;
}




.report, .donate-member, .content-area{
    width: 90%;
    padding: 0;
    margin: 0 auto;
}
.report>h2, .donate-member>h2, .content-area>h2 {
    font-family: var(--heading-font);
    margin-bottom: 25px;
    padding: 15px 0;
    color: inherit;
    border-bottom: 1px solid var(--border-white);
}
.report .details{
    padding: 10px 30px 10px 10px;
}
.report .details>p, .content-area p{
    font-family: var(--content-font);
    font-size: 20px;
    line-height: 28px;
    margin: 10px 0;
    text-align: justify!important;
}
.report .details li {
    font-size: 20px;
    line-height: 36px;
    color: #444;
}

.photo-gallery {
  margin: 40px auto;
}

.photo-gallery p {
  color:#7d8285;
}

.photo-gallery .photos {
  padding-bottom:20px;
}

.photo-gallery .item {
  padding-bottom:30px;
}

.report .stat {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 40px 20px;
    position: relative;
    margin-bottom: 30px;
}
.report .stat>h2 {
    position: absolute;
    top: -20px;
    background-color: #f6f8fc;
    padding: 3px 12px;
    font-size: 26px;
    color: var(--brand-blue);
    border-radius: 4px;
    border: 1px solid #ddd;
}
.report .stat>p {
    padding-bottom: 8px;
    border-bottom: 1px dashed var(--border-white);
}
.report .stat>p>strong {
    padding-right: 8px;
}
.donate-member {
    min-height: 400px;
    margin: 50px auto;
    border-radius: 30px;
    overflow: hidden;
}
.donate-member h2 {
    color: #fff;
}
.donate-member p {
    color: #fff;
}
.donate-member a, a.btn-red {
    background-color: #d31107;
    padding: 6px 20px;
    color: #fff;
    border-radius: 3px;
}
.donate-member a:hover, a.btn-red:hover {
    background-color: #fff;
    color: #000;
}
.donate-member .donate>p {
    width: 45%;
}
.donate-member .donate {
    background-image: url(images/donate.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto;
    background-color: #689596;
    padding: 3% 1% 3% 5%;
}
.donate-member .member {
    background-image: url(images/team.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 80%;
    background-color: #210d4c;
    padding: 2% 8%;
}



.videos {
    border: 1px solid #ddd;
    width: 90%;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(268deg, #eaeff7, #fff);
}
.video-head {
    background: linear-gradient(179deg, #d31107, #8b0808);
    padding: 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.video-head>h1 {
    color: #fff;
}

.slider {
  height: 100%;
  min-height: 420px;
    margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.slider__nav {
  width: 12px;
  height: 12px;
  margin: 2rem 12px;
  border-radius: 50%;
  z-index: 10;
  outline: 6px solid #ccc;
  outline-offset: -6px;
  box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.slider__nav:checked {
  -webkit-animation: check 0.4s linear forwards;
          animation: check 0.4s linear forwards;
}
.slider__nav:checked:nth-of-type(1) ~ .slider__inner {
  left: 0%;
}
.slider__nav:checked:nth-of-type(2) ~ .slider__inner {
  left: -100%;
}
.slider__nav:checked:nth-of-type(3) ~ .slider__inner {
  left: -200%;
}
.slider__nav:checked:nth-of-type(4) ~ .slider__inner {
  left: -300%;
}
.slider__inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 300%;
  height: 100%;
  -webkit-transition: left 0.4s;
  transition: left 0.4s;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row nowrap;
      -ms-flex-flow: row nowrap;
          flex-flow: row nowrap;
}
.slider__contents {
  height: 100%;
  padding: 2rem;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
      -ms-flex: 1;
          flex: 1;
  -webkit-flex-flow: column nowrap;
      -ms-flex-flow: column nowrap;
          flex-flow: column nowrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: start;
}

.slider__caption {
  font-family: var(--heading-font);
  font-weight: 500;
  margin: 2rem 0 1rem;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  color: var(--brand-blue);
}
.slider__txt {
    font-family: var(--content-font);
    color: #333;
    margin-bottom: 2rem;
    max-width: 70%;
}
.slider__img {
    border-radius: 100px;
    margin-bottom: 16px;
}

@-webkit-keyframes check {
  50% {
    outline-color: #333;
    box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
  }
  100% {
    outline-color: #333;
    box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  }
}

@keyframes check {
  50% {
    outline-color: #333;
    box-shadow: 0 0 0 12px #333, 0 0 0 36px rgba(51, 51, 51, 0.2);
  }
  100% {
    outline-color: #333;
    box-shadow: 0 0 0 0 #333, 0 0 0 0 rgba(51, 51, 51, 0);
  }
}



.button-container {
            position: relative;
        }

        .slide-button {
            padding: 15px 30px;
            font-size: 18px;
            font-weight: bold;
            color: var(--brand-blue);
            background-color: #ffc107;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            outline: none;
            transition: color 0.4s;
        }

        .slide-button::before {
            content: '';
            position: absolute;
            left: 0;
            bottom: -100%;
            width: 100%;
            height: 100%;
            background-color: var(--brand-blue);
            transition: all 0.4s;
        }
        .slide-button span {
            position: relative;
            z-index: 999;
        }

        .slide-button:hover::before {
            bottom: 0;
        }

        .slide-button:hover {
            color: #fff;
        }


footer {
    background-color: var(--brand-blue);
    display: flex;
    padding: 10px 20px;
    color: #fff;
    border-radius: 0 0 12px 12px;
    align-items: center;
    justify-content: space-between;
    margin-top: 50px;
    width: 100%;
}
footer p {
    margin: 0 5px;
}
footer .social {
    background-color: #243d63;
    padding: 0px 25px;
    margin-bottom: 5px;
    border-radius: 40px;
}
footer .social a {
    color: #fff;
    font-size: 22px;
    margin: 0 5px;
}
footer>.left {
    display: flex;
    align-items: center;
    padding: 10px;
}

footer>.left>img {
    width: 200px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px dashed #ddd;
}
footer cite {
    font-style: normal;
    font-size: 14px;
    color: #b5cfcf;
}
footer address{
    margin: 0;
    font-size: 15px;
}

.social a.fb:hover>i {
    color: #2c96f5;
}
.social a.yt:hover>i {
    color: #fb4239;
}


/*-----------------------------Mobile view css--------------------------------------------------------- */

@media screen and (max-width: 768px) {

    nav.navbar {
        padding: var(--default-mobile-padding);
    }

    h1.brand {
        padding: 5px 0 18px 80px;
        font-size: 32px;
    }
    h1.brand>i {
        font-size: 13px;
    }
    .about {
        width: auto;
        margin: 20px auto;
        padding: 15px;
    }
    .about p {
        font-size: 20px;
        line-height: 30px;
        margin-top: 20px;
    }
    .update-panel>h1 {
        width: 60%;
        height: 7vh;
        top: -7vh;
        left: 20%;
    }
    .update-panel .d-flex {
        flex-direction: column;
    }
    .update-panel .tab-buttons button {
        padding: 10px 25px;
        height: auto;
    }
    .update-panel .tab-content {
        border-bottom: 1px solid var(--border-white);
        padding: 0 12px;
    }
    .update-panel .tab-content .tab-pane.active {
        border-right: none;
        flex-direction: column;
    }
    .update-panel .tab-content .desc {
        padding: 20px;
    }
    .update-panel .tab-content .desc>p {
        font-size: 20px;
    }
    .report .details {
        padding: 10px;
    }
    .report .details>p {
        font-size: 18px;
        line-height: 25px;
        margin: 10px 0;
    }

    .slider {
      min-height: 70vh;
    }
    .slider__txt {
        max-width: 80%;
    }

    .donate-member .donate {
        background-position: right bottom;
        background-size: 70%;
        padding: 12% 8% 45%;
    }
    .donate-member .donate>p {
        width: 90%;
    }
    .donate-member .member {
        background-size: 90%;
        padding: 12% 8% 45%;
    }

    footer{
        flex-direction: column;
    }

    footer>.left {
        align-items: center;
        flex-direction: column;
    }
    footer>.left>img {
        width: 200px;
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        margin-bottom: 20px;
        padding-bottom: 20px;
        border-bottom: 1px dashed #ddd;
    }
    footer address {
        margin-bottom: 12px;
        text-align: center;
    }
}
