/********** Template CSS **********/
:root {
  --primary: #073e1e;
  --secondary: #b83657;
  --info: #0d063f;
  --light: #f9f9f9;
  --text: #eaeaea;
  --dark: #111111;
}

body,
html {
  font-size: 16px;
  background-color: var(--light) !important;
  /* overflow-x: hidden; */
}


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

/* .container {
    padding-left: 10rem;
    padding-right: 10rem;
} */
.width-spacer {
  padding-left: 6rem;
  padding-right: 6rem;
}


/*** Spinner ***/

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

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

#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 {
  transition: .5s;
}

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

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

.btn.btn-outline-secondary {
  border-color: var(--secondary);
  color: var(--secondary) !important;
}

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

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

.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 ***/

.navbar.sticky-top {
  top: -100px;
  transition: .5s;
}

.navbar .navbar-brand img {
  max-height: 60px;
}

.navbar .navbar-nav .nav-link {
  margin-left: 25px;
  padding: 10px 0;
  color: #696E77;
  font-weight: 500;
  outline: none;
}

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

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


@media (min-width:767.98px) and (max-width:992px) {
  .navbar .navbar-brand img {
    max-height: 45px;
  }

  .navbar .navbar-nav {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .navbar .nav-item .dropdown-menu {
    padding-left: 0px;
  }

  .navbar .nav-item .dropdown-menu {
    border: 1px solid #eceff0;
    opacity: 0;
    border-radius: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transition: .5s;
  }
}


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

  .h5,
  h5 {
    font-size: 1rem;
  }
}


/*** Header ***/

.carousel {
  max-height: 100vh;
}

.carousel-item img {
  height: 100vh;
  object-fit: cover;
  object-position: 50% 40%;
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  text-align: start;
  z-index: 1;
}

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

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

@media (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-control-prev-icon,
  .carousel-control-next-icon {
    background-color: unset;
    border: unset;
  }
}

.page-header {
  background: url('') center center no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
  color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
  color: var(--primary);
}

.container-fluid .facts .facts-text-right,
.container-fluid .facts .facts-text {
  background: linear-gradient(var(--primary), var(--primary)), url('') center right no-repeat;
  background-size: cover;
}

.container-fluid .facts .facts-counter-left,
.container-fluid .facts .facts-counter {
  background: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255)), url('') center right no-repeat;
  background-size: cover;
}

.container-fluid .facts .facts-text .h-100,
.container-fluid .facts .facts-text .h-md-100,
.container-fluid .facts .facts-text-right .h-100,
.container-fluid .facts .facts-text-right .h-md-100,
.container-fluid .facts .facts-counter .h-100,
.container-fluid .facts .facts-counter .h-md-100,
.container-fluid .facts .facts-counter-left .h-100,
.container-fluid .facts .facts-counter-left .h-md-100 {
  padding-top: 6rem;
  padding-bottom: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


@media (min-width:767.98px) and (max-width:992px) {

  .container-fluid .facts .facts-text .h-100,
  .container-fluid .facts .facts-text .h-md-100,
  .container-fluid .facts .facts-text-right .h-100,
  .container-fluid .facts .facts-text-right .h-md-100,
  .container-fluid .facts .facts-counter .h-100,
  .container-fluid .facts .facts-counter .h-md-100,
  .container-fluid .facts .facts-counter-left .h-100,
  .container-fluid .facts .facts-counter-left .h-md-100 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

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

  .container-fluid .facts .facts-text .h-100,
  .container-fluid .facts .facts-text .h-md-100,
  .container-fluid .facts .facts-text-right .h-100,
  .container-fluid .facts .facts-text-right .h-md-100,
  .container-fluid .facts .facts-counter .h-100,
  .container-fluid .facts .facts-counter .h-md-100,
  .container-fluid .facts .facts-counter-left .h-100,
  .container-fluid .facts .facts-counter-left .h-md-100 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}




/*** Service ***/
.ministries-item {
  text-align: center;
}

.ministries-item .ministry-icon {
  width: 5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

.ministries-item .ministry-icon img {
  max-width: 100%;
  max-height: 100%;
}

.ministries-item a.btn {
  color: var(--primary);
}

.ministries-item a.btn:hover {
  color: #FFFFFF;
  background: var(--primary);
  border-color: var(--primary);
}


/*** Appointment ***/
.appointment {
  background: linear-gradient(rgba(1, 95, 201, .9), rgba(1, 95, 201, .9)), url('') center center no-repeat;
  background-size: cover;
}


/*** Team ***/
.team-item {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item img {
  transition: .5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-text {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -50px;
  opacity: 0;
  transition: .5s;
}

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

.team-item a.btn {
  color: var(--primary);
}

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


/*** Testimonial ***/
.animated.pulse {
  animation-duration: 1.5s;
}

.testimonial-left,
.testimonial-right {
  position: relative;
}

.testimonial-left img,
.testimonial-right img {
  position: absolute;
  padding: 5px;
  border: 1px dashed var(--primary);
  border-radius: 10px;
}

.testimonial-left img:nth-child(1),
.testimonial-right img:nth-child(3) {
  width: 70px;
  height: 70px;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial-left img:nth-child(2),
.testimonial-right img:nth-child(2) {
  width: 60px;
  height: 60px;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
}

.testimonial-left img:nth-child(3),
.testimonial-right img:nth-child(1) {
  width: 50px;
  height: 50px;
  bottom: 10%;
  right: 10%;
}

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin: 0 5px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: var(--primary);
  border-radius: 10px;
  font-size: 22px;
  transition: .5s;
}

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


/*** Footer ***/


.footer {
  color: #A7A8B4;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #A7A8B4;
  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: #A7A8B4;
  margin-right: 10px;
}

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

.footer .btn.btn-square {
  color: #A7A8B4;
  border: 1px solid#A7A8B4;
}

.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: #FFFFFF;
}



.bg-dark {
  background-color: var(--dark) !important;
}

.bg-info {
  background-color: var(--info) !important;
}

.bg-footer {
  background-color: var(--dark) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}


.bg-light {
  background-color: #eceff0 !important;
}

a,
.btn-link {
  color: var(--secondary);
  text-decoration: none;
}

a:hover {
  color: #015fc9;

}

.dropdown-item:hover,
.dropdown-item:focus {
  color: #1e2125;
  background-color: #e9ecef;
}


.dropdown-menu {
  border-radius: 6px !important;
  border: 1px solid #e9ecef !important;
}


.dropdown-menu .dropdown-item {
  padding: 0.5rem 1rem;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.4);
  color: #FFFFFF !important;
  text-shadow: 1px 1px #4a4a4a;
}

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


.bg-secondary {
  background-color: var(--secondary) !important;
}



.event-card {
  padding: 1rem 0;
}

.event-card .event-date {
  min-width: 6rem;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background-color: var(--primary);
  color: var(--light);
}

.event-card .event-date .day {
  font-size: 1.25rem;
  font-weight: 400;
}

.event-card .event-date .date {
  font-size: 1.75rem;
  font-weight: 600;
}

.event-card .event-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1.5rem;
}

.event-card .event-content .event-title {
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.event-card .event-content .event-desc {
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  /* Number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.25rem;
}

.event-card .event-content .calendar-date {
  color: var(--color-secondary-text);
}

.site-list ul li {
  list-style-type: none;
  font-size: 1.15rem;
}


.site-list ul li::before {
  border: none;
  content: "\2B25";
  font-weight: 900;
  font-size: 1rem;
  color: var(--secondary);
  padding-inline-end: 0.5rem;
}

.album-card {
  height: 100%;
}

.album-card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.section-image {
  width: 30rem;
  height: 20rem;
  object-fit: cover;
  border-radius: 10px;
}

@media (width<=992px) {
  .section-image {
    width: 100%;
    height: auto;
  }
}


.images-section-image {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: 10px;
}

.float-parent {
  overflow: hidden;
}


.img-logo {
  width: 5rem;
}


.navbar {
  box-shadow: 0 0 5px rgba(0, 0, 0, .5);
}

.service-img {
  object-fit: cover;
  max-width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--light);
  line-height: 0;
}

.scroll-top:hover {
  background: var(--secondary);
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* staff image */
:root {
  --staff-image-size: clamp(142px, 20vw, 150px);
}

.staff-item {
  min-height: var(--staff-image-size);
  position: relative;
  border-radius: 50%;
  /* Makes the wrapper a circle */
  display: flex;
  align-items: center;
  margin-right: 2rem;
}

.staff-img-wrapper {
  overflow: hidden;
  height: var(--staff-image-size);
  width: var(--staff-image-size);
}

.staff-img-wrapper img {
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
}

/* staff image -- */

.min-width-table {
  min-width: 600px;
}

.navbar-brand {
  max-width: 70%;
  /* ensures it wraps within its container */
}

.navbar-brand h5 {
  white-space: normal;
  word-break: break-word;
  max-width: 100%;
}

@media (min-width:575.98px) and (max-width:768px) {
  .navbar-brand h5 {
    font-size: 1rem !important;
  }
}

.card-container {
  /* box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); */
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Card styles for mobile */
.cards-container {
  display: none;
  padding: 1.5rem 0;
}

.staff-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.card-header-custom {
  background-color: #212529;
  border-bottom: 1px solid #4d5154;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title-custom {
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
  margin: 0;
}

.card-body-custom {
  padding: 0 1rem;
}

.card-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-width: 1px;
  border-bottom: 1px solid #dee2e6;
}

.card-field:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.card-label {
  font-weight: 500;
  color: #6c757d;
  font-size: 0.9rem;
}

.card-value {
  color: #212529;
  font-size: 0.9rem;
}

/* Responsive breakpoints */
@media (width<=768px) {
  .table-responsive {
    display: none !important;
  }

  .cards-container {
    display: block !important;
    padding: 1rem 0;
  }
}

.staff-card {
  animation: fadeInUp 0.3s ease-out;
}




@media (width<=1400px) {
  .container-fluid .facts .facts-text {
    padding-left: calc(((100% - 1320px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-text-right {
    padding-right: calc(((100% - 1320px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter {
    padding-right: calc(((100% - 1320px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter-left {
    padding-left: calc(((100% - 1320px) / 2) + .75rem);
  }
}

@media (min-width:992px) and (max-width:1199.98px) {
  .width-spacer {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .container-fluid .facts {
    max-width: 100% !important;
  }

  .container-fluid .facts .facts-text {
    padding-left: calc(((100% - 1160px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-text-right {
    padding-right: calc(((100% - 1160px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter {
    padding-right: calc(((100% - 1160px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter-left {
    padding-left: calc(((100% - 1160px) / 2) + .75rem);
  }
}




@media (min-width:575.98px) and (max-width:768px) {
  .navbar-brand {
    max-width: 70%;
  }

  .container {
    max-width: 90%;
  }

  .container-fluid .facts {
    max-width: 100% !important;
  }

  .width-spacer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .navbar .navbar-nav {
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .navbar .navbar-nav .nav-link {
    margin-left: 1rem;
  }

  .navbar-nav .dropdown-item {
    padding: 0.5rem 2rem;
  }

  .container-fluid .facts .facts-text {
    padding-left: calc(((100% - 724) / 2) + .75rem);
  }

  .container-fluid .facts .facts-text-right {
    padding-right: calc(((100% - 724) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter {
    padding-right: calc(((100% - 724) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter-left {
    padding-left: calc(((100% - 724) / 2) + .75rem);
  }

  .offcanvas-body {
    padding: 0;
  }

  .container-fluid .facts {
    max-width: 100% !important;
  }

  .container-fluid .facts .facts-text {
    padding-left: calc(((100% - 960px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-text-right {
    padding-right: calc(((100% - 960px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter {
    padding-right: calc(((100% - 960px) / 2) + .75rem);
  }

  .container-fluid .facts .facts-counter-left {
    padding-left: calc(((100% - 960px) / 2) + .75rem);
  }
}

@media (width <=576px) {
  .width-spacer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

a.lbcd-form:hover{
cursor: pointer;
background-color: var(--secondary);
color: #fff;
}