/* ===== Premium Phase 2 — visual enhancements ===========================
   Hero carousel + card hover. Scroll fade-in disabled (caused scroll lag).
   Revertable: delete this file + the phase2.css/js link tags in HTML.
   ====================================================================== */

/* --- 1. Hero carousel (4-image cross-fade with Ken Burns slow zoom) --- */
.pism-static-hero {
  position: relative !important;
  width: 100vw !important;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  min-height: 640px !important;
  overflow: hidden;
  background: #0B44C1;
  color: #fff;
  isolation: isolate;
  background-image: none !important;
  display: flex !important;
  align-items: flex-end !important;
}

/* Inner sits at the bottom with breathing room */
.pism-static-hero .pism-static-hero__inner {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 2rem 5rem 2rem !important;
  box-sizing: border-box;
}

.pism-static-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.25) 60%,
    rgba(0,0,0,0.05) 100%);
  z-index: 2;
  pointer-events: none;
}

.pism-static-hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pism-static-hero__slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity 1500ms ease;
}

.pism-static-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: pism-kb 12s ease-in-out forwards;
}

@keyframes pism-kb {
  0%   { transform: scale(1.00); }
  100% { transform: scale(1.08); }
}

.pism-static-hero__inner {
  position: relative;
  z-index: 3;
}

/* Dot indicators — small, centered, restrained */
.pism-static-hero .pism-static-hero__dots {
  position: absolute !important;
  bottom: 28px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: inline-flex !important;
  gap: 8px !important;
  z-index: 4 !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

.pism-static-hero .pism-static-hero__dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border: 0 !important;
  padding: 0 !important;
  cursor: pointer;
  transition: background 200ms ease, width 200ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.pism-static-hero .pism-static-hero__dot.is-active {
  background: #fff !important;
  width: 24px !important;
}


/* --- 2. Card hover: image zoom + card lift (no scroll-based animation) - */
.single-blog,
.blog-item,
.campus__single--item {
  transition: transform 300ms cubic-bezier(0.22,1,0.36,1),
              box-shadow 300ms ease;
}

.single-blog:hover,
.blog-item:hover,
.campus__single--item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -16px rgba(15, 23, 42, 0.22);
}

.blog__thumb img,
.campus__single--item--thumb img {
  transition: transform 500ms cubic-bezier(0.22,1,0.36,1);
}

.single-blog:hover .blog__thumb img,
.blog-item:hover .blog__thumb img,
.campus__single--item:hover .campus__single--item--thumb img {
  transform: scale(1.05);
}


/* --- 3. Button micro-press effect -------------------------------------- */
.react_button,
.elementor-button {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease !important;
}

.react_button:active,
.elementor-button:active {
  transform: translateY(1px);
}


/* --- 4. Header subtle shadow when scrolled ----------------------------- */
.hfe-site-header.is-scrolled,
header#masthead.is-scrolled {
  box-shadow: 0 2px 16px -8px rgba(15, 23, 42, 0.18);
}
