/********** Template CSS **********/
:root {
    --primary: #FF6F0F;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #001D23;
}

.back-to-top {
    position: fixed;
    display: none;
    /* right: 30px; */
    right: 18px;
    /* bottom: 30px; */
    bottom: 18px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn.btn-primary:hover {
    color: var(--primary);
    background: transparent;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.fixed-top {
    transition: .5s;
}

.top-bar {
    height: 45px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav {
        margin-top: 10px;
        border-top: 1px solid rgba(0, 0, 0, .07);
        background: var(--dark);
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: rgba(0, 29, 35, .8); */
    background: rgba(0, 0, 0, .4);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--dark);
    border: 12px solid var(--dark);
    border-radius: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    /* background: linear-gradient(rgba(0, 29, 35, .8), rgba(0, 29, 35, .8)), url(../img/carousel-1.jpg) center center no-repeat; */
    /* background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/page-title/page-tittle.png) center center no-repeat; */
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .6)), var(--bg-image);
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}


/*** Causes ***/
.causes-item .progress {
    height: 5px;
    border-radius: 0;
    overflow: visible;
}

.causes-item .progress .progress-bar {
    position: relative;
    overflow: visible;
    width: 0px;
    border-radius: 0;
    transition: 5s;
}

.causes-item .progress .progress-bar span {
    position: absolute;
    top: -7px;
    right: 0;
    width: 40px;
    height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--primary);
    color: #FFFFFF;
}

.causes-item .causes-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.causes-item:hover .causes-overlay {
    height: 100%;
    opacity: 1;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
}


/*** Donate ***/
.donate {
    background: rgba(0, 29, 35, .8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked+label {
    color: var(--primary);
    border-color: var(--primary);
}


/*** Team ***/
.team-item img {
    position: relative;
    top: 0;
    transition: .5s;
}

.team-item:hover img {
    top: -30px;
}

.team-item .team-text {
    position: relative;
    /* height: 100px; */
    height: 120px;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -60px;
    /* height: 160px; */
    height: 185px;
}

.team-item .team-text .team-social {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text .team-social {
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary);
    transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Footer ***/

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255,255,255,0.5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255,255,255,0.5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.5);
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: var(--primary);
}





/* ================= Gallary ==================== */

    
.tp-portfolio-tab-button {
    margin-top: 40px;
    margin-bottom: 35px;
  }
  .tp-portfolio-tab-button button {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    /* color: #6A6D7A;
    background: #F4F6FD; */
    color: var(--primary);
    background:white ;
    /* border-color: var(--primary); */
    border: 0.5px solid var(--primary);
    outline: var(--primary);
    border-radius: 5px;
    /* padding: 6px 22px; */
    padding: 10px 22px;
    margin-right: 15px;
  }
  @media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
    .tp-portfolio-tab-button button {
      margin-bottom: 20px;
    }
  }
  .tp-portfolio-tab-button button.active {
    color: var(--light);
    background: var(--primary);
    border-color: var(--primary);
    border-radius: 5px;
  }

  /* ----------------- */

  .tp-project-thumb {
    z-index: 1;
    transition: all 0.3s ease-in-out;
  }
  .tp-project-thumb:hover::after {
    opacity: 1;
    visibility: visible;
  }
  .tp-project-thumb:hover .tp-project-title-wrapper .tp-project-title {
    visibility: visible;
    opacity: 1;
    transform: translateY(5px);
  }
  .tp-project-thumb:hover .tp-project-title-wrapper p {
    visibility: visible;
    opacity: 1;
    transform: translateY(5px);
  }
  /* .tp-project-thumb:hover .tp-project-btn a {
    visibility: visible;
    opacity: 1;
    transform: translateY(5px);
    transition: all 0.3s;
  } */
  .tp-project-thumb:hover {
    transition: all 0.3s;
  }
  .tp-project-thumb:hover  {
    color: var(--tp-common-white);
  }
  /* .tp-project-thumb:hover .tp-project-btn a:hover i {
    transform: rotate(45deg);
  } */
  .tp-project-thumb::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0px;
    bottom: 0px;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #2144D8 100%); */
    /* background: linear-gradient(180deg, rgba(245, 238, 238, 0.5) 0%, #fff0e6 100%); */
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .6));

    transition: all 0.3s ease-in-out;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
  }

  .p-relative{
    position: relative;
  }



  .tp-project-content {
    position: absolute;
    bottom: 28px;
    /* left: 30px; */
    transition: 0.5s;
    z-index: 2;
    bottom: 0px;
    width: 100%;
  }

  .tp-project-thumb:hover .tp-project-content {
 background: #0000009e; 
     width: 100%;
  }

  @media only screen and (min-width: 300px) and (max-width: 400px) {
    .tp-project-content {
      /* bottom: 100px; */
      bottom: 0px;
    }
  }
  .tp-project-title-wrapper .tp-project-title {
    font-weight: 700;
    font-size: 26px;
    /* margin-bottom: 4px; */
    margin-bottom: 10px;
    text-transform: capitalize;
    color: var(--tp-common-white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: all 0.4s ease-in-out;
  }
  .tp-project-title-wrapper .tp-project-title a {
    background-image: linear-gradient(#ffffff, #d8d8da), linear-gradient(#ffffff, #dbdbe6);
    background-size: 0% 1px, 0 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: 0.3s ease;
  }
  .tp-project-title-wrapper .tp-project-title a {
    color: white;

  }
  .tp-project-title-wrapper .tp-project-title a:hover {
    /* background-size: 0 2px, 100% 1px; */
    color: white;
  }
  .tp-project-title-wrapper p {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tp-theme-secondary);
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: all 0.5s ease-in-out;
  }
  
  /* .tp-project-btn {
    position: absolute;
    bottom: 28px;
    right: 30px;
    transition: 0.5s;
    z-index: 2;
  } */
  /* @media only screen and (min-width: 300px) and (max-width: 400px) {
    .tp-project-btn {
      left: 30px;
    }
  } */
  /* .tp-project-btn a {
    background: var(--tp-theme-secondary);
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    text-align: center;
    color: #0D1C37;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: 0.3s;
  } */
  .w-img img {
    width: 100%;
  }
  .tp-project-details-thumb-1 img {
    height: 450px;
    object-fit: cover;
  }
  @media only screen and (min-width: 768px) and (max-width: 991px), only screen and (min-width: 576px) and (max-width: 767px), (max-width: 575px) {
    .tp-project-details-thumb-1, .tp-project-details-thumb-2, .tp-project-details-thumb-3, .tp-project-details-thumb-4 {
      margin-bottom: 30px;
    }
  }
  .tp-project-details-thumb-1 img, .tp-project-details-thumb-2 img, .tp-project-details-thumb-3 img, .tp-project-details-thumb-4 img {
    max-width: 100%;
  }
  .tp-project-details-list {
    background: #F4F6FD;
    padding: 50px;
    margin-bottom: 30px;
  }
  @media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .tp-project-details-list {
      padding: 35px;
    }
  }
  @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .tp-project-details-list {
      padding: 25px;
    }
  }
  @media only screen and (min-width: 300px) and (max-width: 400px) {
    .tp-project-details-list {
      padding: 15px;
    }
  }
  .tp-project-details-list ul li {
    list-style: none;
    background: var(--tp-common-white);
    padding-left: 24px;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
    color: #6A6D7A;
  }
  @media only screen and (min-width: 992px) and (max-width: 1199px) {
    .tp-project-details-list ul li {
      padding-left: 15px;
    }
  }
  .tp-project-details-list ul li span {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 60px;
    color: var(--tp-text-2);
    width: 110px;
    display: inline-block;
  }
  @media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .tp-project-details-list ul li span {
      width: 100px;
    }
  }
  @media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 300px) and (max-width: 400px) {
    .tp-project-details-list ul li span {
      width: 80px;
    }
  }
  .tp-project-details-list ul li span::after {
    position: absolute;
    content: ":";
    top: 0px;
    right: 20px;
    font-weight: 400;
    font-size: 16px;
    color: #6A6D7A;
  }
  @media only screen and (min-width: 992px) and (max-width: 1199px), only screen and (min-width: 300px) and (max-width: 400px) {
    .tp-project-details-list ul li span::after {
      right: 8px;
    }
  }
  .tp-project-details-text .tp-project-details-title {
    font-weight: 700;
    font-size: 35px;
    margin-bottom: 22px;
  }
  .tp-project-details-text p {
    font-weight: 400;
    font-size: 16px;
    color: #6A6D7A;
    line-height: 30px;
    margin-bottom: 20px;
  }
  
  /* ======== chatboot ================= */

  .messenger {
    display: block;
    position: fixed;
    /* right: 50%; */
    /* left: 40px; */
    left: 16px;
    /* bottom: 9px; */
    bottom: -4px;
    width: 50px;
    height: 60px;
  
    /* margin-left:50px; */
    /* overflow: hidden; */
    z-index: 99;
  }
  
  .messenger-btn {
    /* padding: 14px; */
    padding: 4px;
    /* display: block; */
    /* width: 49px; */
    /* height: 49px; */
    border-radius: 60px;
    /* background-color: #9fbce0; */
    position: absolute;
  
    right: 0;
    top: -13px;
    cursor: pointer;
    z-index: 1;
    float: left;
  }
  
  /* .messenger-btn img {
    width: 24px;
    height: 24px;
    padding:-5px;
    font-size:95px;
  } */
  .messenger-links {
    position: absolute;
    left: -2px;
    top: -122px;
    width: 40px;
    transform: scale(0);
    transform-origin: 100% 50%;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 0;
  }
  
  .messenger-links.show {
    right: 50px;
    transform: scale(1.2);
  
  }
  
  .messenger-links a {
    width: 40px;
    /* margin-left: 4px; */
    margin-left: 6px;
  }
  
  .messenger-links img {
    max-width: 40px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
  }
  
  .messenger-links a:hover img {
    transform: scale(1.1);
    text-decoration: none;
  }

  