.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(123, 64, 0), rgb(178, 139, 124));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
  }
  
  .loader-container.zoom-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.2); /* zooms out when fading */
  }
  
  .loader-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  
    /* start small */
    transform: scale(0);
    animation: zoomIn 1s ease forwards;
  }
  
  /* Keyframes for zoom-in */
  @keyframes zoomIn {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }  

/* Mobile menu animations */
#mobile-menu {
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.3s ease;
  }
  
  #mobile-menu.show {
    transform: scaleY(1);
    opacity: 1;
  }
  
  /* For button rotation (hamburger → X) */
  .menu-open .fa-bars {
    display: none;
  }
  .menu-open .fa-times {
    display: inline-block;
  }  

.page-hero {
    background: linear-gradient(135deg, rgba(246, 199, 182, 0.9), rgba(178, 139, 124, 0.8));
    min-height: 300px;
}

.card-shadow {
    box-shadow: 0 10px 30px rgba(123, 63, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #7B3F00, #B28B7C);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(123, 63, 0, 0.3);
}

.nav-link:hover {
    color: #7B3F00;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

#scripture-text {
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}

#scripture-text.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

#scripture-text.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: var(--delay, 0s);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

 /* Slightly transparent dark overlay */
 .glightbox-container .gcontainer {
  background: rgba(0, 0, 0, 0.85) !important;
}