/********** Template CSS **********/
:root {
    --primary: #57221B;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #bb5a13;
}

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

html, body{
    overflow-x: hidden;
}
/*** 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;
}
.btn-outline-primary:hover .fa-arrow-right{
    color: #57221B;
}

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

.top-bar {
    height: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    background: #57221B;
}

.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: rgba(87, 34, 27, .4);
    font-weight: 500;
    outline: none;
    font-weight: bold;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid #bb5a13;
    
}
.navbar .navbar-brand img{
    width: 100px;
    background: #fff;
    padding: 5px;
}
.navbar-white{
    background: #fff;
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.2);
}
/********** search **************/
.search-click {
    border: 1px solid #bb5a13;
    outline: none;
    background-size: 22px;
    background-position: 13px;
    border-radius: 30px;
    width: 50px;
    height: 50px;
    padding: 25px;
    transition: all 0.5s;
  }
  
  .search-click:focus {
    width: 300px;
    padding-left: 20px;
  }
  .search-click {
    position: relative;
    overflow: hidden;
    height: 50px;
  }
  .search-click input {
    background: transparent;
    border: 1px solid #ccc;
    outline: none;
    position: absolute;
    width: 300px;
    height: 50px;
    left: 0%;
    padding: 10px;
  }
  .search-wrapper i {
    /* position: absolute;
    right: 15%;
    top: 50%; */
    transform: translate(-241%, 3%);
    color: #bb5a13;
    pointer-events: none; /* so input still works */
  }



@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: right;
    /* background: rgba(136, 53, 42, .9); */
    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(--primary);
    border: 12px solid var(--primary);
    border-radius: 3rem;
}
#header-carousel{
    padding: 106px 0 0 0;
}
@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;
    }
    .carousel-caption{        
        bottom: 0;
        text-align: center;
        background: rgba(255, 255, 255, .6);
    }
    .carousel-control-prev, .carousel-control-next{
        display: none;
    }
    .page-header{
        background: url(../image/responsive-about-banner.jpg) center top no-repeat !important;
        background-size: cover;
    }
    .page-header h1  {
        text-align: center;
    }
    .page-header .breadcrumb{
        justify-content: center !important;
    }
    .page-header.impact-header{
        background: url(../image/responsive-impact-banner.jpg) center top no-repeat !important;
        background-size: cover;
    }
    .page-header.vertical-header{
        background: url(../image/responsive-project-banner.jpg) center top no-repeat !important;
        background-size: cover;
    }
    .page-header.contact-header{
        background: url(../image/responsive-contact-banner.jpg) center top no-repeat !important;
        background-size: cover;
    }
    .page-header.impact-number-header{
        background: url(../image/responsive-impact-number-banner.jpg) center top no-repeat !important;
        background-size: cover;
    }
    .navbar .navbar-brand img {
        width: 80px;
    }
}


.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background:url(../image/about-banner-1.jpg) center top no-repeat;
    background-size: cover;
}
.page-header.vertical-header{
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: url(../image/projects-banner-1.jpg) center top no-repeat;
    background-size: cover;
}
.page-header.contact-header{
    padding-top: 12rem;
    padding-bottom: 6rem;
    background:url(../image/contact-banner-1.jpg) center top no-repeat;
    background-size: cover;
}
.page-header.impact-header{
    padding-top: 12rem;
    padding-bottom: 6rem;
    background:url(../image/impact-banner.jpg) center top no-repeat;
    background-size: cover;
}
.page-header.impact-number-header{
    padding-top: 12rem;
    padding-bottom: 6rem;
    background:url(../image/impact-number-banner.jpg) center top no-repeat;
    background-size: cover;
}

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

/*********** our mission ************/
.text-right-01{
    text-align: right;
}
.my-mission{
    background: url(../image/student-1.png) center center no-repeat;   
    
}

@media (max-width: 992px) {
.my-mission{
    background: none;
    
}

}

/*********** our story ************/
 .edu-para{
    background: #57221B;
    /* padding: 48px; */
    padding: 10px;
    height: 258px;
}
.btn-outline-white{
    border: 1px solid #fff;
}
.btn-outline-white:hover{
    border: 1px solid #fff;
    background: var(--dark)
} 

@media (min-width: 992px) {
    
   .edu-para{
    height: 216px;
   }
   .edu-para h3{
    margin-bottom: 0.25rem;
   }
   .edu-para p{
    margin-bottom: 0.5rem;
   }
   .edu-para .btn, .edu-para .py-2{
    padding: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
   }
}
@media (min-width: 1200px) {
    
   .edu-para{
    height: 258px;
   }
   .edu-para h3{
    margin-bottom: 0.5rem;
   }
   .edu-para p{
    margin-bottom: 1rem;
   }
   .edu-para .btn, .edu-para .py-2{
    padding: .375rem .75rem;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
   }
}
@media (min-width: 1400px) {
    
   .edu-para{
    height: 299px;
    padding: 43px;
   }
}


/************ about **************/

.about-details{
    background: #f3f3f3;
    box-shadow: -2px 30px 29px -21px rgba(0,0,0,0.36);
    -webkit-box-shadow: -2px 30px 29px -21px rgba(0,0,0,0.36);
    -moz-box-shadow: -2px 30px 29px -21px rgba(0,0,0,0.36);
    min-height: 588px;
}
.about-details-1{
    padding: 15px 25px;
}
.btn-outline-primary:hover{
    color: #fff;
}

/*********** impact **************/

.impact-section {
    padding: 60px 0;
    background-image: url('../image/parralax-1.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* height: 300px; */
    position: relative;
  }
  
  .counter-box {
    display: block;
    background: #f6f6f6;
    padding: 40px 20px 37px;
    text-align: center
}

.counter-box p {
    margin: 5px 0 0;
    padding: 0;
    color: #909090;
    font-size: 18px;
    font-weight: 500
}

.counter-box i {
    font-size: 60px;
    margin: 0 0 15px;
    color: #d2d2d2
}

.counter {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #666;
    line-height: 28px
}

.counter-box.colored {
    background: var(--dark)
}

.counter-box.colored p,
.counter-box.colored i,
.counter-box.colored .counter {
    color: #fff
}  
  
/**************** newsletter *****************/

.newsletter {
    padding: 40px 0;
    background: #f3f3f3;
    }
    
    .newsletter .content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
     }
    .newsletter .content h2 {
    color: var(--dark);
    margin-bottom: 40px;
     }
    .newsletter .content .form-control {
    height: 50px;
    border-color: var(--primary);
    border-radius:0;
    }
    .newsletter .content.form-control:focus {
    box-shadow: none;
    border: 2px solid #57221B;
    }
    .newsletter .content .btn {
    min-height: 50px; 
    border-radius:0;
    background: #57221B;
    color: #fff;
    font-weight:600;
    }




/*** 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, .09);
}


/*** 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;
    transition: .5s;
}

.team-item:hover .team-text {
    margin-top: -30px;
    height: 120px;
}

.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(--dark);
    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-brand img{
    width: 100px;
    background: #fff;
    padding: 8px;
}
.footer a.my-ph{
    color: rgba(255, 255, 255, 0.5);
}
.footer a.my-ph:hover{
    color: #fff;
}
.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(--light);
    border-color: var(--light);
}

.footer .copyright {
    padding: 5px 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(--dark);
}
.foot-text{
    font-size: 12px;
}

/**************** gallery ***************/

@keyframes zoomin {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.gallery-item {
  display: block;
}

.gallery-item img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.2s;
}

.gallery-item:hover img {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.35);
}

.lightbox-modal .modal-content {
  background-color: var(--lightbox);
}

.lightbox-modal .btn-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.25rem;
  z-index: 10;
  filter: invert(1) grayscale(100);
}

.lightbox-modal .modal-body {
  display: flex;
  align-items: center;
  padding: 0;
}

.lightbox-modal .lightbox-content {
  width: 100%;
}

.lightbox-modal .carousel-indicators {
  margin-bottom: 0;
}

.lightbox-modal .carousel-indicators [data-bs-target] {
  background-color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-inner {
  width: 75%;
}

.lightbox-modal .carousel-inner img {
  animation: zoomin 10s linear infinite;
}

.lightbox-modal .carousel-item .carousel-caption {
  right: 0;
  bottom: 0;
  left: 0;
  padding-bottom: 2rem;
  background-color: var(--lightbox);
  color: var(--carousel-text) !important;
}

.lightbox-modal .carousel-control-prev,
.lightbox-modal .carousel-control-next {
  width: auto;
}

.lightbox-modal .carousel-control-prev {
  left: 1.25rem;
}

.lightbox-modal .carousel-control-next {
  right: 1.25rem;
}

@media (min-width: 1400px) {
  .lightbox-modal .carousel-inner {
    max-width: 60%;
  }
}

[data-bs-theme = "dark"] .lightbox-modal .carousel-control-next-icon,
[data-bs-theme = "dark"] .lightbox-modal .carousel-control-prev-icon {
    filter: none;
}

.btn-fullscreen-enlarge,
.btn-fullscreen-exit {
  position: absolute;
  top: 1.25rem;
  right: 3.5rem;
  z-index: 10;
  border: 0;
  background: transparent;
  opacity: .6;
  font-size: 1.25rem;
}

.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.035em;
  fill: currentcolor;
}