
/* ==========================================================================
   ZION BIBLE COLLEGE — UNIFIED HERO SYSTEM
   Clean, isolated, responsive hero styles.
   This file is loaded last so page-specific CSS cannot break hero visibility.
   ========================================================================== */

:root{
  --hero-navy:#102a43;
  --hero-blue:#17385f;
  --hero-gold:#f6c96b;
  --hero-orange:#f97316;
  --hero-white:#ffffff;
}

/* ------------------------------
   HERO SHELL
   ------------------------------ */
.about-hero,
.history-hero,
.faculty-hero,
.academic-hero,
.alumni-hero,
.contact-hero,
.course-hero,
.home-hero{
  position:relative !important;
  isolation:isolate;
  width:100%;
  min-height:clamp(590px, 76vh, 780px);
  padding:clamp(76px, 8vw, 112px) 0 !important;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  background-position:center center;
  background-size:cover;
  background-repeat:no-repeat;
}

/* Page-specific image treatment / focal points */
.about-hero{background-image:url("../images/chapel.jpg"); background-position:center 48%;}
.history-hero{background-image:url("../images/IMG_0431.jpeg"); background-position:center 48%;}
.faculty-hero{background-image:url("../images/chapel.jpg"); background-position:center 42%;}
.academic-hero{background-image:url("../images/examination.jpg"); background-position:center 48%;}
.alumni-hero{background-image:url("../images/graduation.jpg"); background-position:center 45%;}
.contact-hero{background-image:url("../images/chapel.jpg"); background-position:center 48%;}
.course-hero{background-image:url("../images/Courses.jpg"); background-position:center 50%;}
.home-hero{background-image:url("../images/college.jpg"); background-position:center 50%;}

/* Dark readable layer: left side is strongest because the text lives there. */
.about-hero > .overlay,
.history-hero > .overlay,
.faculty-hero > .overlay,
.academic-hero > .overlay,
.alumni-hero > .overlay,
.contact-hero > .overlay,
.course-hero > .overlay,
.home-hero > .overlay{
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      rgba(6,20,37,.94) 0%,
      rgba(10,31,53,.86) 38%,
      rgba(14,42,69,.68) 68%,
      rgba(14,42,69,.48) 100%);
}

/* Extra subtle depth without washing out the photograph. */
.about-hero::after,
.history-hero::after,
.faculty-hero::after,
.academic-hero::after,
.alumni-hero::after,
.contact-hero::after,
.course-hero::after,
.home-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 82% 22%, rgba(246,201,107,.18), transparent 30%),
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18));
}

/* ------------------------------
   HERO CONTAINER
   ------------------------------ */
.about-hero .about-container,
.history-hero .history-container,
.faculty-hero .faculty-container,
.academic-hero .academic-container,
.alumni-hero .alumni-container,
.contact-hero .contact-container,
.course-hero .course-container,
.home-hero .hero-container{
  position:relative !important;
  z-index:2 !important;
  width:min(1200px, calc(100% - 40px)) !important;
  max-width:1200px !important;
  margin:0 auto !important;
  padding:0 !important;
  display:grid !important;
  grid-template-columns:minmax(0, 1.08fr) minmax(320px, .92fr) !important;
  gap:clamp(38px, 5.5vw, 76px) !important;
  align-items:center !important;
}

/* Keep the text and card above every overlay. */
.about-hero .about-left,
.history-hero .history-left,
.faculty-hero .faculty-left,
.academic-hero .academic-left,
.alumni-hero .alumni-left,
.contact-hero .contact-left,
.course-hero .course-left,
.home-hero .hero-left,
.about-hero .about-right,
.history-hero .history-right,
.faculty-hero .faculty-right,
.academic-hero .academic-right,
.alumni-hero .alumni-right,
.contact-hero .contact-right,
.course-hero .course-right,
.home-hero .hero-right{
  position:relative;
  z-index:2;
  min-width:0;
}

/* ------------------------------
   HERO TYPOGRAPHY
   ------------------------------ */
.about-hero .about-left h1,
.history-hero .history-left h1,
.faculty-hero .faculty-left h1,
.academic-hero .academic-left h1,
.alumni-hero .alumni-left h1,
.contact-hero .contact-left h1,
.course-hero .course-left h1,
.home-hero .hero-left h1{
  margin:0 0 22px !important;
  max-width:780px;
  color:#fff !important;
  font-size:clamp(2.35rem, 4.9vw, 4.25rem) !important;
  font-weight:800 !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  text-wrap:balance;
  overflow-wrap:anywhere;
}

.about-hero .about-left h1 span,
.history-hero .history-left h1 span,
.faculty-hero .faculty-left h1 span,
.academic-hero .academic-left h1 span,
.alumni-hero .alumni-left h1 span,
.contact-hero .contact-left h1 span,
.course-hero .course-left h1 span,
.home-hero .hero-left h1 span{
  color:var(--hero-gold) !important;
}

.about-hero .about-left p,
.history-hero .history-left p,
.faculty-hero .faculty-left p,
.academic-hero .academic-left p,
.alumni-hero .alumni-left p,
.contact-hero .contact-left p,
.course-hero .course-left p,
.home-hero .hero-left .hero-description{
  max-width:720px;
  margin:0 0 14px !important;
  color:rgba(255,255,255,.92) !important;
  font-size:clamp(.96rem, 1.28vw, 1.08rem) !important;
  line-height:1.78 !important;
}

/* ------------------------------
   BADGES
   ------------------------------ */
.about-hero .about-badge,
.history-hero .history-badge,
.faculty-hero .faculty-badge,
.academic-hero .badge,
.alumni-hero .alumni-badge,
.contact-hero .contact-badge,
.course-hero .course-badge,
.home-hero .badge{
  display:inline-flex !important;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:0 0 18px !important;
  padding:8px 14px !important;
  border:1px solid rgba(246,201,107,.4) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.09) !important;
  color:var(--hero-gold) !important;
  font-size:.75rem !important;
  font-weight:800 !important;
  line-height:1.2 !important;
  letter-spacing:1.3px !important;
  text-transform:uppercase;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}

/* ------------------------------
   BUTTONS
   ------------------------------ */
.about-hero .about-buttons,
.history-hero .history-buttons,
.faculty-hero .faculty-buttons,
.academic-hero .hero-buttons,
.alumni-hero .alumni-buttons,
.contact-hero .contact-buttons,
.course-hero .course-buttons,
.home-hero .hero-buttons{
  position:relative;
  z-index:3;
  display:flex !important;
  flex-wrap:wrap;
  align-items:center;
  gap:13px !important;
  margin:28px 0 0 !important;
}

.about-hero .about-buttons a,
.history-hero .history-buttons a,
.faculty-hero .faculty-buttons a,
.academic-hero .hero-buttons a,
.alumni-hero .alumni-buttons a,
.contact-hero .contact-buttons a,
.course-hero .course-buttons a,
.home-hero .hero-buttons a{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:50px !important;
  padding:13px 24px !important;
  border-radius:9px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  white-space:nowrap;
}

.about-hero .about-buttons .btn-primary,
.history-hero .history-buttons .btn-primary,
.faculty-hero .faculty-buttons .btn-primary,
.academic-hero .hero-buttons .btn-primary,
.alumni-hero .alumni-buttons .btn-primary,
.contact-hero .contact-buttons .btn-primary,
.course-hero .course-buttons .btn-primary,
.home-hero .hero-buttons .btn-primary{
  background:var(--hero-orange) !important;
  border:1px solid var(--hero-orange) !important;
  color:#fff !important;
  box-shadow:0 12px 28px rgba(249,115,22,.24);
}

.about-hero .about-buttons .btn-secondary,
.history-hero .history-buttons .btn-secondary,
.faculty-hero .faculty-buttons .btn-secondary,
.academic-hero .hero-buttons .btn-secondary,
.alumni-hero .alumni-buttons .btn-secondary,
.contact-hero .contact-buttons .btn-secondary,
.course-hero .course-buttons .btn-secondary,
.home-hero .hero-buttons .btn-secondary{
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.65) !important;
  color:#fff !important;
}

/* ------------------------------
   STATS — SCOPED TO HERO ONLY
   ------------------------------ */
.about-hero .about-stats,
.history-hero .history-stats,
.faculty-hero .faculty-stats,
.academic-hero .hero-stats,
.alumni-hero .alumni-stats,
.contact-hero .contact-stats,
.course-hero .course-stats,
.home-hero .hero-stats{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:10px !important;
  width:100%;
  max-width:680px;
  margin:30px 0 0 !important;
  padding:20px 0 0 !important;
  border-top:1px solid rgba(255,255,255,.24) !important;
}

.about-hero .about-stats .stat,
.history-hero .history-stats .stat,
.faculty-hero .faculty-stats .stat,
.academic-hero .hero-stats .stat,
.alumni-hero .alumni-stats .stat,
.contact-hero .contact-stats .stat,
.course-hero .course-stats .stat,
.home-hero .hero-stats .stat{
  min-width:0;
  margin:0 !important;
}

.about-hero .about-stats h2,
.history-hero .history-stats h2,
.faculty-hero .faculty-stats h2,
.academic-hero .hero-stats h2,
.alumni-hero .alumni-stats h2,
.contact-hero .contact-stats h2,
.course-hero .course-stats h2,
.home-hero .hero-stats h2{
  margin:0 0 3px !important;
  color:var(--hero-gold) !important;
  font-size:clamp(1.35rem, 2.5vw, 2rem) !important;
  font-weight:800 !important;
  line-height:1.15 !important;
}

.about-hero .about-stats p,
.history-hero .history-stats p,
.faculty-hero .faculty-stats p,
.academic-hero .hero-stats p,
.alumni-hero .alumni-stats p,
.contact-hero .contact-stats p,
.course-hero .course-stats p,
.home-hero .hero-stats p{
  margin:0 !important;
  color:rgba(255,255,255,.78) !important;
  font-size:.75rem !important;
  line-height:1.4 !important;
}

/* ------------------------------
   HERO FEATURE CARD
   A unique class prevents hero CSS from changing lower-page cards.
   ------------------------------ */
.about-hero .hero-feature-card,
.history-hero .hero-feature-card,
.faculty-hero .hero-feature-card,
.academic-hero .hero-feature-card,
.alumni-hero .hero-feature-card,
.contact-hero .hero-feature-card,
.course-hero .hero-feature-card,
.home-hero .hero-feature-card{
  width:100% !important;
  max-width:470px !important;
  margin:0 auto !important;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.2) !important;
  border-radius:20px !important;
  background:#fff !important;
  color:#1f2937 !important;
  box-shadow:0 26px 65px rgba(0,0,0,.30) !important;
  transform:translateZ(0);
}

.about-hero .hero-feature-card img,
.history-hero .hero-feature-card img,
.faculty-hero .hero-feature-card img,
.academic-hero .hero-feature-card img,
.alumni-hero .hero-feature-card img,
.contact-hero .hero-feature-card img,
.course-hero .hero-feature-card img,
.home-hero .hero-feature-card .hero-card-image img{
  display:block;
  width:100% !important;
  height:clamp(230px, 27vw, 330px) !important;
  object-fit:cover !important;
  object-position:center center !important;
  margin:0 !important;
}

.about-hero .hero-feature-card .card-content,
.history-hero .hero-feature-card .card-content,
.faculty-hero .hero-feature-card .card-content,
.academic-hero .hero-feature-card .card-content,
.alumni-hero .hero-feature-card .card-content,
.contact-hero .hero-feature-card .card-content,
.course-hero .hero-feature-card .card-content,
.home-hero .hero-feature-card .card-content{
  padding:22px 24px !important;
  background:#fff !important;
}

.about-hero .hero-feature-card .card-content h3,
.history-hero .hero-feature-card .card-content h3,
.faculty-hero .hero-feature-card .card-content h3,
.academic-hero .hero-feature-card .card-content h3,
.alumni-hero .hero-feature-card .card-content h3,
.contact-hero .hero-feature-card .card-content h3,
.course-hero .hero-feature-card .card-content h3,
.home-hero .hero-feature-card .card-content h3{
  margin:0 0 12px !important;
  color:var(--hero-blue) !important;
  font-size:1.18rem !important;
  line-height:1.35 !important;
}

.about-hero .hero-feature-card .card-content ul,
.history-hero .hero-feature-card .card-content ul,
.faculty-hero .hero-feature-card .card-content ul,
.academic-hero .hero-feature-card .card-content ul,
.alumni-hero .hero-feature-card .card-content ul,
.contact-hero .hero-feature-card .card-content ul,
.course-hero .hero-feature-card .card-content ul,
.home-hero .hero-feature-card .card-content ul{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

.about-hero .hero-feature-card .card-content li,
.history-hero .hero-feature-card .card-content li,
.faculty-hero .hero-feature-card .card-content li,
.academic-hero .hero-feature-card .card-content li,
.alumni-hero .hero-feature-card .card-content li,
.contact-hero .hero-feature-card .card-content li,
.course-hero .hero-feature-card .card-content li,
.home-hero .hero-feature-card .card-content li{
  margin:0 !important;
  padding:8px 0 !important;
  border-bottom:1px solid #edf0f3;
  color:#475569 !important;
  line-height:1.45 !important;
}

.about-hero .hero-feature-card .card-content li:last-child,
.history-hero .hero-feature-card .card-content li:last-child,
.faculty-hero .hero-feature-card .card-content li:last-child,
.academic-hero .hero-feature-card .card-content li:last-child,
.alumni-hero .hero-feature-card .card-content li:last-child,
.contact-hero .hero-feature-card .card-content li:last-child,
.course-hero .hero-feature-card .card-content li:last-child,
.home-hero .hero-feature-card .card-content li:last-child{
  border-bottom:0;
}

/* Home uses an image wrapper. */
.home-hero .hero-card-image{
  overflow:hidden;
  background:#e8edf3;
}
.home-hero .hero-card-image img{
  min-height:230px;
}

/* ------------------------------
   TABLET
   ------------------------------ */
@media (max-width:991px){
  .about-hero,
  .history-hero,
  .faculty-hero,
  .academic-hero,
  .alumni-hero,
  .contact-hero,
  .course-hero,
  .home-hero{
    min-height:auto;
    padding:68px 0 76px !important;
  }

  .about-hero .about-container,
  .history-hero .history-container,
  .faculty-hero .faculty-container,
  .academic-hero .academic-container,
  .alumni-hero .alumni-container,
  .contact-hero .contact-container,
  .course-hero .course-container,
  .home-hero .hero-container{
    width:min(760px, calc(100% - 40px)) !important;
    grid-template-columns:1fr !important;
    gap:40px !important;
  }

  .about-hero .about-left,
  .history-hero .history-left,
  .faculty-hero .faculty-left,
  .academic-hero .academic-left,
  .alumni-hero .alumni-left,
  .contact-hero .contact-left,
  .course-hero .course-left,
  .home-hero .hero-left{
    text-align:center;
  }

  .about-hero .about-left p,
  .history-hero .history-left p,
  .faculty-hero .faculty-left p,
  .academic-hero .academic-left p,
  .alumni-hero .alumni-left p,
  .contact-hero .contact-left p,
  .course-hero .course-left p,
  .home-hero .hero-left .hero-description{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .about-hero .about-badge,
  .history-hero .history-badge,
  .faculty-hero .faculty-badge,
  .academic-hero .badge,
  .alumni-hero .alumni-badge,
  .contact-hero .contact-badge,
  .course-hero .course-badge,
  .home-hero .badge{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .about-hero .about-buttons,
  .history-hero .history-buttons,
  .faculty-hero .faculty-buttons,
  .academic-hero .hero-buttons,
  .alumni-hero .alumni-buttons,
  .contact-hero .contact-buttons,
  .course-hero .course-buttons,
  .home-hero .hero-buttons{
    justify-content:center;
  }

  .about-hero .about-stats,
  .history-hero .history-stats,
  .faculty-hero .faculty-stats,
  .academic-hero .hero-stats,
  .alumni-hero .alumni-stats,
  .contact-hero .contact-stats,
  .course-hero .course-stats,
  .home-hero .hero-stats{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .about-hero .hero-feature-card,
  .history-hero .hero-feature-card,
  .faculty-hero .hero-feature-card,
  .academic-hero .hero-feature-card,
  .alumni-hero .hero-feature-card,
  .contact-hero .hero-feature-card,
  .course-hero .hero-feature-card,
  .home-hero .hero-feature-card{
    max-width:620px !important;
  }
}

/* ------------------------------
   MOBILE
   ------------------------------ */
@media (max-width:600px){
  .about-hero,
  .history-hero,
  .faculty-hero,
  .academic-hero,
  .alumni-hero,
  .contact-hero,
  .course-hero,
  .home-hero{
    padding:52px 0 60px !important;
    background-position:center center;
  }

  /* Keep text readable even on very bright phone crops. */
  .about-hero > .overlay,
  .history-hero > .overlay,
  .faculty-hero > .overlay,
  .academic-hero > .overlay,
  .alumni-hero > .overlay,
  .contact-hero > .overlay,
  .course-hero > .overlay,
  .home-hero > .overlay{
    background:linear-gradient(180deg,
      rgba(6,20,37,.91) 0%,
      rgba(8,26,45,.88) 55%,
      rgba(10,31,53,.84) 100%);
  }

  .about-hero .about-container,
  .history-hero .history-container,
  .faculty-hero .faculty-container,
  .academic-hero .academic-container,
  .alumni-hero .alumni-container,
  .contact-hero .contact-container,
  .course-hero .course-container,
  .home-hero .hero-container{
    width:calc(100% - 28px) !important;
    gap:30px !important;
  }

  .about-hero .about-left h1,
  .history-hero .history-left h1,
  .faculty-hero .faculty-left h1,
  .academic-hero .academic-left h1,
  .alumni-hero .alumni-left h1,
  .contact-hero .contact-left h1,
  .course-hero .course-left h1,
  .home-hero .hero-left h1{
    max-width:100%;
    font-size:clamp(2rem, 9.2vw, 2.8rem) !important;
    line-height:1.08 !important;
    letter-spacing:-.025em !important;
    margin-bottom:18px !important;
  }

  .about-hero .about-left p,
  .history-hero .history-left p,
  .faculty-hero .faculty-left p,
  .academic-hero .academic-left p,
  .alumni-hero .alumni-left p,
  .contact-hero .contact-left p,
  .course-hero .course-left p,
  .home-hero .hero-left .hero-description{
    max-width:100%;
    font-size:.93rem !important;
    line-height:1.68 !important;
  }

  .about-hero .about-buttons,
  .history-hero .history-buttons,
  .faculty-hero .faculty-buttons,
  .academic-hero .hero-buttons,
  .alumni-hero .alumni-buttons,
  .contact-hero .contact-buttons,
  .course-hero .course-buttons,
  .home-hero .hero-buttons{
    width:100%;
    flex-direction:column;
    gap:10px !important;
  }

  .about-hero .about-buttons a,
  .history-hero .history-buttons a,
  .faculty-hero .faculty-buttons a,
  .academic-hero .hero-buttons a,
  .alumni-hero .alumni-buttons a,
  .contact-hero .contact-buttons a,
  .course-hero .course-buttons a,
  .home-hero .hero-buttons a{
    width:100%;
    min-height:48px !important;
  }

  .about-hero .about-stats,
  .history-hero .history-stats,
  .faculty-hero .faculty-stats,
  .academic-hero .hero-stats,
  .alumni-hero .alumni-stats,
  .contact-hero .contact-stats,
  .course-hero .course-stats,
  .home-hero .hero-stats{
    gap:5px !important;
    margin-top:25px !important;
    padding-top:16px !important;
  }

  .about-hero .about-stats h2,
  .history-hero .history-stats h2,
  .faculty-hero .faculty-stats h2,
  .academic-hero .hero-stats h2,
  .alumni-hero .alumni-stats h2,
  .contact-hero .contact-stats h2,
  .course-hero .course-stats h2,
  .home-hero .hero-stats h2{
    font-size:1.12rem !important;
  }

  .about-hero .about-stats p,
  .history-hero .history-stats p,
  .faculty-hero .faculty-stats p,
  .academic-hero .hero-stats p,
  .alumni-hero .alumni-stats p,
  .contact-hero .contact-stats p,
  .course-hero .course-stats p,
  .home-hero .hero-stats p{
    font-size:.62rem !important;
  }

  .about-hero .hero-feature-card img,
  .history-hero .hero-feature-card img,
  .faculty-hero .hero-feature-card img,
  .academic-hero .hero-feature-card img,
  .alumni-hero .hero-feature-card img,
  .contact-hero .hero-feature-card img,
  .course-hero .hero-feature-card img,
  .home-hero .hero-feature-card .hero-card-image img{
    height:220px !important;
  }

  .about-hero .hero-feature-card .card-content,
  .history-hero .hero-feature-card .card-content,
  .faculty-hero .hero-feature-card .card-content,
  .academic-hero .hero-feature-card .card-content,
  .alumni-hero .hero-feature-card .card-content,
  .contact-hero .hero-feature-card .card-content,
  .course-hero .hero-feature-card .card-content,
  .home-hero .hero-feature-card .card-content{
    padding:19px 20px !important;
  }
}

@media (max-width:380px){
  .about-hero .about-container,
  .history-hero .history-container,
  .faculty-hero .faculty-container,
  .academic-hero .academic-container,
  .alumni-hero .alumni-container,
  .contact-hero .contact-container,
  .course-hero .course-container,
  .home-hero .hero-container{
    width:calc(100% - 22px) !important;
  }

  .about-hero .about-stats p,
  .history-hero .history-stats p,
  .faculty-hero .faculty-stats p,
  .academic-hero .hero-stats p,
  .alumni-hero .alumni-stats p,
  .contact-hero .contact-stats p,
  .course-hero .course-stats p,
  .home-hero .hero-stats p{
    font-size:.57rem !important;
  }
}
