/********** Template CSS **********/
:root {
    --primary: #843437;
    --secondary: #FFF0E6;
    --light: #F8F8F9;
    --dark: #306c6c;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
    border-radius: 2rem;
}

.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, .5);
    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;
    }

    .psych-container {
      width: 100% !important;
      height: 100% !important;
    }

    .flex-cont  {
      flex-direction: column !important;
    }

    .max-h {
      max-height: unset;
    }
}

.max-h {
  max-height: 450px;
}

.page-header {
    padding-top: 12rem;
    padding-bottom: 6rem;
    background: linear-gradient(rgba(0, 29, 35, .6), rgba(0, 29, 35, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    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, .5);
}

.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: -60px;
    height: 160px;
}

.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, .presentation-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, .presentation-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, .presentation-carousel::before,
    .presentation-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after, .presentation-carousel::before,
    .presentation-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text, .presentation-carousel .owl-item .testimonial-text {
    background: var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text, .presentation-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, .presentation-carousel .owl-item .testimonial-text *,
.presentation-carousel .owl-item .testimonial-item img {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text *, .presentation-carousel .owl-item.center .testimonial-text * {
    color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img, .presentation-carousel .owl-item.center .testimonial-item img {
    background: var(--primary) !important;
} 

.testimonial-carousel .owl-nav, .presentation-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, .presentation-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next, .presentation-carousel .owl-nav .owl-prev,
.presentation-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, .presentation-carousel .owl-nav .owl-prev:hover,
.presentation-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);
}

.img-fill {
  width: -webkit-fill-available;
}

/* * {
  outline: 1px red solid;
} */



/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 10s ease-in, visibility 0s ease-out 5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 6s ease-in, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}


.lighthouse {
  margin: auto;
  position: relative;
  width: 16.4em;
  height: 31.2em;
  perspective: 30em;
  scale: 0.5;
}

.lighthouse div {
  position: absolute;
}

.shadow-lh {
  background: rgba(0, 0, 10, 0.15);
  width: 20%;
  height: 100%;
  z-index: 1999;
}

.light-ray {
  animation: lightRay 6s 0s cubic-bezier(0.8, 0.2, 0.2, 0.8) infinite running;
  background: linear-gradient(90deg, #ffff5c, rgba(255, 255, 92, 0));
  top: 3.3em;
  left: 8em;
  width: 14em;
  height: 1.5em;
  transform-origin: 0% 50%;
  z-index: 6999;
}

.roof-tip {
  background: #464646;
  border-radius: 50%;
  left: 7.5em;
  width: 1em;
  height: 1em;
  z-index: 1999;
}

.roof {
  background: linear-gradient(-30deg, #5a5a5a 59%, rgba(90, 90, 90, 0) 60%) 0 0/50.5% 100%, linear-gradient(30deg, #5a5a5a 59%, rgba(90, 90, 90, 0) 60%) 99.5% 0/50.5% 100%;
  background-repeat: no-repeat;
  border-radius: 0 0 10% 10%;
  top: 0.9em;
  left: 5.25em;
  width: 5.5em;
  height: 2em;
}

.head, .window1, .window2 {
  background: #dcdcdf;
}

.head, .upper-neck, .lower-neck, .stem, .base-bottom {
  overflow: hidden;
}

.head {
  border-radius: 50% 50% 0 0/20% 20% 0 0;
  top: 2.2em;
  left: 5.6em;
  width: 4.8em;
  height: 4em;
}

.light {
  animation: light 6s 0s cubic-bezier(0.8, 0.2, 0.2, 0.8) infinite running;
  background: #ffff5c;
  border-radius: 50%;
  top: 0.6em;
  left: 1.4em;
  width: 2em;
  height: 2em;
}

.top-rail, .bottom-rail {
  color: #8c8c96;
}

.top-rail {
  border-radius: 50% 50% 0 0;
  box-shadow: 0 0 0 0.2em inset;
  top: 5em;
  left: 5.1em;
  width: 5.7em;
  height: 1.5em;
  z-index: 1999;
}

.upper-neck {
  background: #5a5a5a;
  border-radius: 50% 50% 0 0/35% 35% 0 0;
  top: 5.7em;
  left: 5em;
  width: 6em;
  height: 2.2em;
  z-index: 2999;
}

.bottom-rail {
  border-radius: 50%;
  box-shadow: 0 0 0 0.2em inset;
  top: 6.3em;
  left: 4.2em;
  width: 7.6em;
  height: 2em;
  z-index: 4999;
}

.lower-neck {
  background: #464646;
  border-radius: 50% 50% 50% 50%/25% 25% 50% 50%;
  top: 7.6em;
  left: 4em;
  width: 8em;
  height: 2.5em;
  z-index: 5999;
}

.stem {
  border-radius: 50% 50% 50% 50%/5% 5% 2% 2%;
  box-shadow: 2em 0 0 0 #000 inset;
  bottom: 1.7em;
  left: 3.4em;
  height: 27.3em;
  width: 9.2em;
  transform: rotateX(30deg);
  transform-origin: 50% 100%;
  z-index: 6999;
}

.window1, .window2, .door {
  z-index: 1999;
}

.window1, .window2 {
  animation: windows 6s 0s cubic-bezier(0.8, 0.2, 0.2, 0.8) infinite running;
  border-radius: 50%;
  left: 3.7em;
  width: 2.5em;
  height: 2.5em;
}

.window1 {
  box-shadow: 0 0.3em 0 0 #a7a7ae inset;
  top: 3.5em;
}

.window2 {
  box-shadow: 0 0.2em 0 0 #9f0000 inset;
  top: 10em;
}

.door {
  animation: door 6s 0s cubic-bezier(0.8, 0.2, 0.2, 0.8) infinite running;
  background: #222;
  border-radius: 1em 1em 0 0;
  box-shadow: -0.3em 0 0 0 #9f0000 inset;
  top: 23.5em;
  left: 6em;
  height: 4em;
  width: 2em;
}

.stem-texture {
  animation: texture 6s 0s cubic-bezier(0.8, 0.2, 0.2, 0.8) infinite running;
  background: radial-gradient(13em 5.9em at 100% 28.9em, white 49.9%, rgba(255, 255, 255, 0) 50%) 0 0/8em 100%, radial-gradient(21em 14.8em at 100% 100%, #126 49.9%, rgba(210, 0, 0, 0) 50%) 0 0/8em 100%, radial-gradient(27em 26.7em at 100% 100%, white 49.9%, rgba(255, 255, 255, 0) 50%) 0 0/8em 100%, radial-gradient(35em 38.9em at 100% 100%, #126 49.9%, rgba(210, 0, 0, 0) 50%) 0 0/8em 100%, radial-gradient(39em 50.8em at 100% 100%, white 49.9%, #126 50%) 0 0/8em 100%, linear-gradient(180deg, #126 2em, white 2em, white 8em, #126 8em, #126 14em, white 14em, white 20em, #126 20em, #126 26em, white 26em) 8em 0/4em 100%, radial-gradient(6em 3.9em at 0 0, #126 49.9%, rgba(210, 0, 0, 0) 50%) 12em 0/8em 100%, radial-gradient(13em 15.8em at 0 0, white 49.9%, rgba(255, 255, 255, 0) 50%) 12em 0/8em 100%, radial-gradient(18em 27.9em at 0 0, #126 49.9%, rgba(210, 0, 0, 0) 50%) 12em 0/8em 100%, radial-gradient(18em 39.9em at 0 0, white 49.9%, rgba(255, 255, 255, 0) 50%) 12em 0/8em 100%, radial-gradient(18em 51.9em at 0 0, #126 49.9%, white 50%) 12em 0/8em 100%;
  background-repeat: no-repeat;
  width: 14em;
  height: 100%;
}

.base-top, .base-bottom {
  width: 16.4em;
}

.base-top {
  background: #8c8c96;
  border-radius: 50%;
  top: 27.2em;
  height: 2.8em;
  z-index: 1999;
}

.base-bottom {
  background: #72727d;
  border-radius: 0 0 50% 50%;
  top: 28.5em;
  height: 2.6em;
  z-index: 999;
}

@keyframes lightRay {
  from, to {
    transform: rotateY(0deg) translate(2.4em, 0) rotateX(0deg) translateZ(0);
  }
  50% {
    transform: rotateY(-90deg) translate(2.2em, 0.3em) rotateX(-90deg) translateZ(0.5em);
  }
}
@keyframes light {
  from, to {
    transform: translate(2.8em, 0.3em) scaleX(0);
  }
  50% {
    transform: translate(0, 0) scaleX(1);
  }
}
@keyframes windows {
  from, to {
    transform: translateX(4.5em) scale(0, 1.2);
  }
  50% {
    transform: translateX(0) scale(1, 1.2);
  }
}
@keyframes door {
  from, to {
    transform: translateX(2.8em) scaleX(0);
  }
  50% {
    transform: translateX(0) scaleX(1);
  }
}
@keyframes texture {
  from, to {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-34.3%);
  }
}


.psych-container {
  /* width: 100% !important; */
  height: 100% !important;
}


.psych-img {
  min-width: 100%;
  width: unset !important;
  justify-self: center;
}

.three-logos {
  width: 150px;
  height: fit-content;
  position: static !important;
}

@media only screen and (max-width: 796px) {
  .three-logos {
    width: 20% !important;
    height: auto !important;
  }

  .carousel-item.active {
    min-height: 100vh;
    height: 130vh;
  }

  .banner-logo {
    margin-bottom: unset;
  }
}

@media only screen and (min-height: 460px) {

  .banner-logo {
    margin-bottom: 2rem;
  }

  .hero-content {
    margin-top: 12rem !important;
  }
}

@media only screen and (max-height: 860px) {
  .carousel-item.active {
    min-height: 100vh;
    height: 145vh;
  }

  .banner-logo {
    margin-bottom: 6rem;
  }
}

@media only screen and (max-width: 1600px) {

  .banner-logo {
    margin-bottom: 10rem !important;
  }
}


.overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.banner {
  background-color: aliceblue;
  position: absolute;
  top: 0;
  left: -22%;
  width: 200vw;
  height: 100%;
  z-index: -1;
}

.banner-logo {
  margin-bottom: 17rem;
}

.logo-bg {
  background-color: white;
  border-radius: 6px;
  width: fit-content;
}