:root {
  --navy: #0a1a5c;
  --red: #d62828;
  --white: #ffffff;
}

body {
  font-family: 'Georgia', serif;
  color: #222;
  overflow-x: hidden;
}

/* GALLERY */
.gallery-page { background: #f8f7f2; }
.gallery-hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  color: white;
  background: linear-gradient(110deg, rgba(7,23,70,.97), rgba(10,26,92,.82)), url('../images/bg.jpeg') center/cover;
}
.gallery-hero::after { position: absolute; right: 8%; bottom: -130px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ''; }
.gallery-hero-inner { position: relative; z-index: 1; display: flex; min-height: 580px; align-items: center; justify-content: space-between; gap: 50px; padding-top: 75px; padding-bottom: 70px; }
.gallery-hero-copy { max-width: 690px; }
.gallery-kicker, .gallery-section-label { margin-bottom: 20px; color: #ffb000; font-size: .76rem; font-weight: 700; letter-spacing: .19em; }
.gallery-kicker { display: flex; align-items: center; gap: 12px; }
.gallery-kicker span { display: inline-block; width: 38px; height: 2px; background: #ffb000; }
.gallery-hero h1 { margin-bottom: 26px; font-size: clamp(3.7rem, 8vw, 7.3rem); font-weight: 700; letter-spacing: -.04em; line-height: .9; }
.gallery-hero h1 em { color: #ffb000; font-style: normal; }
.gallery-hero-lead { max-width: 480px; color: rgba(255,255,255,.76); font-size: 1.1rem; line-height: 1.8; }
.gallery-scroll-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; color: white; font-size: .9rem; font-weight: 700; text-decoration: none; }
.gallery-scroll-link i { color: #ffb000; transition: transform .25s ease; }
.gallery-scroll-link:hover { color: #ffb000; }
.gallery-scroll-link:hover i { transform: translateY(4px); }
.gallery-hero-note { align-self: flex-end; max-width: 255px; padding: 22px 0 0 22px; border-left: 1px solid rgba(255,255,255,.35); }
.gallery-note-number { display: block; margin-bottom: 25px; color: #ffb000; font-size: .8rem; font-weight: 700; }
.gallery-hero-note p { margin: 0; color: rgba(255,255,255,.68); font-size: .92rem; line-height: 1.7; }
.gallery-content { padding-top: 105px !important; padding-bottom: 115px !important; }
.gallery-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 46px; }
.gallery-toolbar .section-title { margin-bottom: 0; }
.gallery-section-label { margin-bottom: 13px; color: var(--red); }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.gallery-filter { padding: 10px 15px; border: 1px solid #d8dce6; border-radius: 2px; background: transparent; color: #657084; font-family: inherit; font-size: .83rem; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.gallery-filter:hover, .gallery-filter.is-active { border-color: var(--navy); background: var(--navy); color: white; }
.gallery-grid { display: grid; grid-auto-rows: 210px; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-card { position: relative; min-height: 210px; padding: 0; overflow: hidden; border: 0; background: #dfe4ec; cursor: pointer; transition: opacity .35s ease, transform .35s ease; }
.gallery-card-tall { grid-row: span 2; }
.gallery-card-wide { grid-column: span 2; }
.gallery-card img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.gallery-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(4,13,43,.83)); content: ''; opacity: .75; transition: opacity .35s ease; }
.gallery-card-overlay { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 1; color: white; text-align: left; transform: translateY(5px); transition: transform .35s ease; }
.gallery-card-overlay strong, .gallery-card-overlay small { display: block; }
.gallery-card-overlay strong { padding-right: 28px; font-size: 1.08rem; }
.gallery-card-overlay small { margin-top: 5px; color: #ffb000; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery-card-overlay i { position: absolute; right: 0; bottom: 2px; color: #ffb000; font-size: .85rem; }
.gallery-card:hover img { transform: scale(1.08); filter: saturate(1.15); }
.gallery-card:hover::after { opacity: .95; }
.gallery-card:hover .gallery-card-overlay { transform: translateY(0); }
.gallery-card.is-filtered { display: none; }
.gallery-cta { position: relative; overflow: hidden; padding: 105px 0 120px; background: var(--navy); color: white; }
.gallery-cta::before { position: absolute; top: -160px; right: -30px; width: 390px; height: 390px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ''; }
.gallery-cta-inner { position: relative; z-index: 1; }
.gallery-cta .gallery-section-label { color: #ffb000; }
.gallery-cta h2 { max-width: 620px; margin-bottom: 30px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: .98; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 50px 8%; background: rgba(3,10,31,.96); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.gallery-lightbox.is-open { opacity: 1; pointer-events: auto; }
.gallery-lightbox-figure { max-width: min(1000px, 82vw); margin: 0; transform: scale(.94); transition: transform .35s ease; }
.gallery-lightbox.is-open .gallery-lightbox-figure { transform: scale(1); }
.gallery-lightbox-figure img { width: 100%; max-height: 72vh; display: block; object-fit: contain; }
.gallery-lightbox-figure figcaption { padding-top: 14px; color: white; }
.gallery-lightbox-figure strong, .gallery-lightbox-figure span { display: block; }
.gallery-lightbox-figure strong { font-size: 1.2rem; }
.gallery-lightbox-figure span { margin-top: 5px; color: rgba(255,255,255,.65); font-size: .9rem; }
.gallery-lightbox-close, .gallery-lightbox-nav { position: absolute; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: white; cursor: pointer; transition: background .25s ease, color .25s ease; }
.gallery-lightbox-close { top: 28px; right: 32px; width: 44px; height: 44px; border-radius: 50%; font-size: 1rem; }
.gallery-lightbox-nav { top: 50%; width: 46px; height: 46px; border-radius: 50%; transform: translateY(-50%); }
.gallery-lightbox-prev { left: 3%; }
.gallery-lightbox-next { right: 3%; }
.gallery-lightbox-close:hover, .gallery-lightbox-nav:hover { background: #ffb000; color: var(--navy); }
.gallery-lightbox-open { overflow: hidden; }
@media (max-width: 767px) {
  .gallery-hero, .gallery-hero-inner { min-height: 650px; }
  .gallery-hero-inner { display: block; padding-top: 110px; }
  .gallery-hero-note { margin-top: 65px; }
  .gallery-toolbar { display: block; }
  .gallery-filters { justify-content: flex-start; margin-top: 24px; }
  .gallery-grid { grid-auto-rows: 190px; grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery-card-wide { grid-column: span 2; }
  .gallery-card-tall { grid-row: span 2; }
  .gallery-card-overlay { right: 12px; bottom: 12px; left: 12px; }
  .gallery-card-overlay strong { font-size: .9rem; }
  .gallery-card-overlay i { display: none; }
  .gallery-lightbox { padding: 35px 16px; }
  .gallery-lightbox-nav { top: auto; bottom: 25px; transform: none; }
  .gallery-lightbox-prev { left: calc(50% - 60px); }
  .gallery-lightbox-next { right: calc(50% - 60px); }
}

/* BLOG */
.blog-page { background: #f8f7f2; }
.blog-intro { padding-top: 92px !important; padding-bottom: 58px !important; }
.blog-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 70px; align-items: end; }
.blog-eyebrow { margin-bottom: 14px; color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.blog-display-title { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; }
.blog-display-title span { color: var(--red); }
.blog-intro-copy { max-width: 410px; margin: 0 0 5px; color: #606b7e; font-size: 1.04rem; line-height: 1.8; }
.blog-list-section { padding-bottom: 105px !important; }
.blog-controls { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 35px; padding-top: 12px; border-top: 1px solid #dce0e8; }
.blog-categories { display: flex; flex-wrap: wrap; gap: 7px; }
.blog-category { padding: 10px 15px; border: 1px solid #d8dce6; border-radius: 2px; background: transparent; color: #657084; font-family: inherit; font-size: .83rem; cursor: pointer; transition: all .25s ease; }
.blog-category:hover, .blog-category.is-active { border-color: var(--navy); background: var(--navy); color: white; }
.blog-search { display: flex; align-items: center; gap: 9px; min-width: 210px; padding: 9px 0; border-bottom: 1px solid #7f8999; color: var(--navy); }
.blog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #30384a; font-family: inherit; }
.blog-search input::placeholder { color: #8891a0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 22px; }
.blog-card { overflow: hidden; background: white; box-shadow: 0 12px 30px rgba(10,26,92,.08); transition: transform .3s ease, box-shadow .3s ease; }
.blog-card:hover { transform: translateY(-7px); box-shadow: 0 20px 35px rgba(10,26,92,.14); }
.blog-card-featured { grid-column: span 2; display: grid; grid-template-columns: 1.15fr .85fr; }
.blog-card-image { position: relative; min-height: 245px; overflow: hidden; background: #dce2ee; }
.blog-card-featured .blog-card-image { min-height: 355px; }
.blog-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-category { position: absolute; top: 16px; left: 16px; padding: 6px 9px; background: var(--red); color: white; font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-card-body { padding: 24px 24px 27px; }
.blog-card-date { margin-bottom: 11px; color: var(--red); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.blog-card-body h2 { margin-bottom: 12px; color: var(--navy); font-size: 1.35rem; line-height: 1.15; }
.blog-card-featured .blog-card-body h2 { font-size: 1.75rem; }
.blog-card-body > p:not(.blog-card-date) { margin-bottom: 22px; color: #687286; font-size: .94rem; line-height: 1.7; }
.blog-read-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: .82rem; font-weight: 700; text-decoration: none; }
.blog-read-link i { color: var(--red); transition: transform .25s ease; }
.blog-read-link:hover { color: var(--red); }
.blog-read-link:hover i { transform: translateX(4px); }
.blog-card[hidden] { display: none; }
.blog-empty { padding: 45px 0; color: #687286; text-align: center; }
.blog-subscribe { padding: 80px 0; background: var(--navy); color: white; }
.blog-subscribe-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.blog-subscribe .blog-eyebrow { color: #ffb000; }
.blog-subscribe h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
@media (max-width: 767px) {
  .blog-intro-grid { display: block; }
  .blog-intro-copy { margin-top: 25px; }
  .blog-controls { display: block; }
  .blog-search { margin-top: 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-featured { grid-column: auto; display: block; }
  .blog-card-featured .blog-card-image { min-height: 245px; }
  .blog-subscribe-inner { display: block; }
  .blog-subscribe .btn { margin-top: 25px; }
}

/* STAFF */
.staff-page { background: #f8f7f2; }
.staff-intro { padding-top: 92px !important; padding-bottom: 65px !important; }
.staff-intro-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 70px; align-items: end; }
.staff-eyebrow { margin-bottom: 14px; color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.staff-display-title { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; }
.staff-display-title span { color: var(--red); }
.staff-intro-copy { max-width: 410px; margin: 0 0 5px; color: #606b7e; font-size: 1.04rem; line-height: 1.8; }
.staff-leadership { padding-top: 90px !important; padding-bottom: 90px !important; }
.staff-section-heading { margin-bottom: 38px; }
.staff-section-heading .section-title { margin-bottom: 0; }
.staff-leadership-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 75px; align-items: center; }
.staff-leader-image { position: relative; min-height: 420px; padding: 0 35px 35px 0; }
.staff-leader-image img { width: 100%; height: 420px; display: block; border: 8px solid white; border-radius: 18px; object-fit: cover; box-shadow: 0 18px 35px rgba(10,26,92,.16); }
.staff-image-label { position: absolute; right: 17px; bottom: 20px; padding: 13px 18px; background: var(--navy); color: white; font-weight: 700; }
.staff-image-label small { display: block; margin-top: 3px; color: #ffb000; font-size: .7rem; font-weight: 400; }
.staff-leader-copy h2 { margin-bottom: 20px; color: var(--navy); font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; }
.staff-leader-copy > p:not(.staff-eyebrow) { max-width: 570px; color: #5d687a; line-height: 1.8; }
.staff-signature { display: inline-flex; flex-direction: column; margin-top: 16px; padding-left: 15px; border-left: 3px solid #ffb000; }
.staff-signature strong { color: var(--navy); }
.staff-signature span { margin-top: 3px; color: var(--red); font-size: .9rem; }
.staff-teams { padding-top: 95px !important; padding-bottom: 105px !important; }
.staff-team-section { padding-top: 82px !important; padding-bottom: 88px !important; }
.staff-profile-card { overflow: hidden; background: transparent; }
.staff-profile-visual { position: relative; height: 430px; overflow: hidden; background: #e9ebef; }
.staff-profile-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .6s ease, filter .4s ease; }
.staff-profile-overlay { position: absolute; inset: auto 0 0; padding: 24px 58px 24px 22px; background: linear-gradient(transparent, rgba(7,23,70,.94)); color: white; transform: translateY(100%); transition: transform .4s ease; }
.staff-profile-overlay strong, .staff-profile-overlay span { display: block; }
.staff-profile-overlay strong { font-size: 1.25rem; }
.staff-profile-overlay span { margin-top: 5px; color: #ffb000; font-size: .82rem; font-style: italic; }
.staff-profile-more { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: var(--red); color: white; font-family: Georgia, serif; font-size: 1.8rem; line-height: 1; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease, background .3s ease; }
.staff-profile-more:hover { background: var(--navy); }
.staff-profile-visual:hover .staff-profile-image { transform: scale(1.06); filter: brightness(.72); }
.staff-profile-visual:hover .staff-profile-overlay { transform: translateY(0); }
.staff-profile-visual:hover .staff-profile-more, .staff-profile-more:focus { opacity: 1; transform: translateY(0); }
.staff-profile-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(3,10,31,.78); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.staff-profile-modal.is-open { opacity: 1; pointer-events: auto; }
.staff-profile-modal-content { position: relative; width: min(100%, 510px); padding: 42px; border-top: 5px solid var(--red); background: white; box-shadow: 0 20px 55px rgba(0,0,0,.25); transform: translateY(15px); transition: transform .3s ease; }
.staff-profile-modal.is-open .staff-profile-modal-content { transform: translateY(0); }
.staff-profile-modal-content h2 { margin-bottom: 8px; color: var(--navy); }
.staff-profile-modal-content > p:last-child { color: #606b7e; line-height: 1.75; }
.staff-profile-modal-position { margin-bottom: 20px; color: var(--red); font-weight: 700; }
.staff-profile-modal-close { position: absolute; top: 14px; right: 16px; border: 0; background: transparent; color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer; }
.staff-cta { background: var(--navy); color: white; }
.staff-cta .staff-eyebrow { color: #ffb000; }
.staff-cta h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.staff-cta p:not(.staff-eyebrow) { color: rgba(255,255,255,.72); }
@media (max-width: 767px) {
  .staff-intro-grid, .staff-leadership-grid { display: block; }
  .staff-intro-copy { margin-top: 25px; }
  .staff-leader-image { margin-bottom: 35px; min-height: 350px; padding-right: 20px; }
  .staff-leader-image img { height: 350px; }
  .staff-profile-visual { height: 360px; }
  .staff-profile-overlay { transform: translateY(0); }
  .staff-profile-more { opacity: 1; transform: translateY(0); }
  .staff-profile-modal-content { padding: 34px 24px 28px; }
}

/* EVENTS */
.events-page { background: #f8f7f2; }
.events-intro { padding-top: 92px !important; padding-bottom: 65px !important; }
.events-intro-grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: 70px; align-items: end; }
.events-eyebrow { margin-bottom: 14px; color: var(--red); font-size: .76rem; font-weight: 700; letter-spacing: .18em; }
.events-display-title { margin: 0; color: var(--navy); font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: .98; }
.events-display-title span { color: var(--red); }
.events-intro-copy { max-width: 410px; margin: 0 0 5px; color: #606b7e; font-size: 1.04rem; line-height: 1.8; }
.events-list { padding-top: 88px !important; padding-bottom: 95px !important; }
.events-section-heading { margin-bottom: 35px; }
.events-section-heading .section-title { margin-bottom: 0; }
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.event-card { display: grid; grid-template-columns: 145px 1fr; gap: 24px; padding: 26px; border-top: 4px solid var(--red); background: white; box-shadow: 0 12px 28px rgba(10,26,92,.07); }
.event-card-date { padding-right: 20px; border-right: 1px solid #dce0e8; color: var(--navy); }
.event-card-date strong, .event-card-date span { display: block; }
.event-card-date strong { font-size: 1.05rem; line-height: 1.25; }
.event-card-date span { margin-top: 9px; color: var(--red); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.event-card h3, .event-past-item h3 { margin-bottom: 10px; color: var(--navy); font-size: 1.3rem; }
.event-card p, .event-past-item p { margin-bottom: 15px; color: #687286; line-height: 1.65; }
.event-card small { color: #687286; }
.event-card small i { margin-right: 5px; color: var(--red); }
.events-past { padding-top: 82px !important; padding-bottom: 95px !important; }
.events-past-list { max-width: 850px; }
.event-past-item { display: grid; grid-template-columns: 145px 1fr; gap: 28px; padding: 22px 0; border-bottom: 1px solid #d7dce5; }
.event-past-item > span { color: var(--red); font-size: .82rem; font-weight: 700; }
.event-past-item p { margin-bottom: 0; }
.events-cta { background: var(--navy); color: white; }
.events-cta .events-eyebrow { color: #ffb000; }
.events-cta h2 { margin-bottom: 25px; font-size: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 767px) {
  .events-intro-grid { display: block; }
  .events-intro-copy { margin-top: 25px; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 1fr; gap: 16px; }
  .event-card-date { padding-right: 0; padding-bottom: 14px; border-right: 0; border-bottom: 1px solid #dce0e8; }
  .event-past-item { grid-template-columns: 1fr; gap: 8px; }
}

.container {
  max-width: 1180px;
}

section.py-5 {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}

section.py-5.bg-light {
  background-color: #f5f7fc !important;
}

section.py-5 > .container > .row > [class*="col-"] > img.img-fluid,
section.py-5 > .container > .row > [class*="col-"] > .ratio {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 18px 35px rgba(10,26,92,.14);
}

section.py-5 > .container > .row > [class*="col-"] > img.img-fluid {
  max-height: 460px;
  object-fit: cover;
}

/* NAVBAR */
.navbar {
  background-color: var(--navy) !important;
  transition: all 0.3s ease;
}
.navbar-brand, .nav-link {
  color: var(--white) !important;
  font-weight: 600;
  transition: color 0.3s ease;
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--red) !important; }

.navbar-toggler {
  border: 0;
  box-shadow: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* BUTTONS */
.btn-red {
  background-color: var(--red);
  color: white;
  border: none;
  transition: all 0.3s ease;
}
.btn-red:hover {
  background-color: #a81f1f;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(214,40,40,0.4);
}
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  transition: all 0.3s ease;
}
.btn-outline-navy:hover {
  background-color: var(--navy);
  color: white;
  transform: translateY(-3px);
}

/* HERO */
.hero { position: relative; height: 90vh; min-height: 550px; }
.hero .carousel, .hero .carousel-item, .hero .carousel-inner { height: 100%; }
.hero .carousel-item img {
  height: 90vh; min-height: 550px;
  object-fit: cover;
  filter: brightness(0.45);
  transform: scale(1.08);
  animation: kenburns 8s ease-in-out forwards;
}
@keyframes kenburns {
  to { transform: scale(1); }
}
.hero-caption {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center; color: white;
  width: 90%; max-width: 800px;
}
.hero-caption h1 {
  font-weight: 700; font-size: 2.9rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}
.hero-caption p {
  font-size: 1.3rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.6s;
}
.hero-caption .btn {
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.9s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}
.carousel-indicators button {
  background-color: var(--red) !important;
}
/* PAGE HERO - for interior pages (About, Admissions, etc.) */
.page-hero {
  position: relative;
  height: 40vh;
  min-height: 280px;
}
.page-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}
.page-hero .hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  width: 90%;
  max-width: 700px;
}
.page-hero .hero-caption h1 {
  font-weight: 700;
  font-size: 2.3rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.page-hero .hero-caption p {
  font-size: 1.1rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
  margin: 0;
}

.page-hero + section.py-5,
.page-hero + section.about-showcase,
.page-hero + section.principal-message {
  border-top: 1px solid rgba(10,26,92,.06);
}
/* SECTIONS */
.section-title {
  color: var(--navy);
  font-weight: 700;
  border-bottom: 3px solid var(--red);
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 30px;
}

.stat-box {
  background: var(--navy);
  color: white;
  border-radius: 12px;
  padding: 35px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(10,26,92,0.3);
}
.stat-box h2 {
  color: var(--red);
  font-weight: 700;
  font-size: 2.5rem;
}

/* COMMUNITY VOICES */
.community-voices {
  padding: 100px 0;
  color: white;
  background: linear-gradient(115deg, #071746 0%, var(--navy) 55%, #087eae 150%);
  overflow: hidden;
}
.community-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr 0.95fr;
  grid-template-rows: minmax(240px, auto) minmax(240px, auto);
  gap: 24px;
  align-items: stretch;
}
.community-intro {
  grid-row: 1 / span 2;
  align-self: center;
  max-width: 390px;
  padding-right: 20px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: #ffb000;
  font-size: 1.05rem;
  font-weight: 700;
}
.eyebrow span {
  width: 42px;
  height: 3px;
  background: #19b8ec;
}
.community-intro h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: white;
}
.community-lead {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.7;
}
.community-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #ffb000;
  font-weight: 700;
  text-decoration: none;
}
.community-link:hover { color: white; }
.community-tile {
  min-height: 240px;
  border-radius: 10px;
  overflow: hidden;
}
.community-photo {
  grid-column: 2;
  grid-row: 1;
  position: relative;
}
.community-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.community-photo-label {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 16px;
  border-left: 3px solid #ffb000;
  background: rgba(7, 23, 70, .88);
}
.community-photo-label strong,
.community-photo-label small { display: block; }
.community-photo-label strong { color: white; font-size: 1.1rem; }
.community-photo-label small { margin-top: 2px; color: #ffb000; }
.community-quote {
  grid-column: 3;
  grid-row: 1;
  padding: 30px;
  background: rgba(2, 46, 82, .92);
}
.community-quote-light {
  grid-column: 2 / span 2;
  grid-row: 2;
  background: rgba(255,255,255,.96);
  color: var(--navy);
}
.community-quote-mark {
  margin-bottom: 18px;
  color: #19b8ec;
  font-size: 1.35rem;
}
.community-quote p {
  margin-bottom: 28px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.65;
}
.community-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.community-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: var(--red);
  color: white;
  font-size: .72rem;
  font-weight: 700;
}
.community-author strong,
.community-author small { display: block; }
.community-author strong { color: #ffb000; font-size: .9rem; }
.community-quote-light .community-author strong { color: var(--red); }
.community-author small { margin-top: 3px; color: rgba(255,255,255,.65); }
.community-quote-light .community-author small { color: #526078; }

/* ABOUT SHOWCASE */
.about-showcase {
  padding: 90px 0 110px;
  background: #fff;
}
.about-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 90px;
  align-items: center;
}
.about-showcase-images {
  position: relative;
  min-height: 470px;
}
.about-image {
  position: absolute;
  width: 68%;
  height: 310px;
  overflow: hidden;
  border: 7px solid white;
  border-radius: 20px;
  box-shadow: 0 18px 35px rgba(10,26,92,.18);
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image-back {
  top: 0;
  left: 0;
}
.about-image-front {
  right: 0;
  bottom: 0;
}
.about-image-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 105px;
  height: 105px;
  border: 8px solid white;
  border-radius: 50%;
  background: var(--red);
  color: white;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 25px rgba(10,26,92,.2);
}
.about-image-badge strong { font-size: 1.7rem; line-height: 1; }
.about-image-badge small { margin-top: 5px; font-size: .7rem; text-align: center; }
.about-eyebrow {
  margin-bottom: 14px;
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
}
.about-showcase-copy h1 {
  max-width: 600px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.5rem, 4.3vw, 4.2rem);
  line-height: 1.05;
}
.about-showcase-copy h1 span { color: var(--red); }
.about-lead {
  max-width: 570px;
  color: #5a6476;
  font-size: 1.05rem;
  line-height: 1.75;
}
.about-principles { margin: 28px 0; }
.about-principle {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.about-principle > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--red);
}
.about-principle h5 { margin-bottom: 4px; color: var(--navy); }
.about-principle p { margin: 0; color: #687286; line-height: 1.6; }
.about-showcase-button { padding: 12px 22px; }

/* PRINCIPAL MESSAGE */
.principal-message {
  padding: 95px 0;
  background: #f5f7fc;
}
.principal-message-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 75px;
  align-items: center;
}
.principal-message-visual {
  position: relative;
  min-height: 420px;
  padding: 0 35px 35px 0;
}
.principal-message-image {
  height: 420px;
  overflow: hidden;
  border-radius: 20px;
  border: 8px solid white;
  box-shadow: 0 18px 35px rgba(10,26,92,.18);
}
.principal-message-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.principal-message-visual::after {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--red);
  content: '';
}
.principal-message-label {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--navy);
  color: white;
  box-shadow: 0 8px 20px rgba(10,26,92,.25);
}
.principal-message-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
}
.principal-message-label strong,
.principal-message-label small { display: block; }
.principal-message-label strong { font-size: .95rem; }
.principal-message-label small { margin-top: 2px; color: #ffb000; font-size: .72rem; }
.principal-message-eyebrow {
  margin-bottom: 12px;
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
}
.principal-message-copy h2 {
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  line-height: 1.06;
}
.principal-message-copy h2 span { color: var(--red); }
.principal-message-copy > p {
  max-width: 620px;
  color: #5d687a;
  line-height: 1.75;
}
.principal-signature {
  display: inline-flex;
  flex-direction: column;
  margin-top: 12px;
  padding-left: 15px;
  border-left: 3px solid #ffb000;
}
.principal-signature strong { color: var(--navy); }
.principal-signature span { margin-top: 3px; color: var(--red); font-size: .9rem; }

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--red);
  border-radius: 8px;
  height: 100%;
}
.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.icon-circle {
  width: 70px; height: 70px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 15px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.card-hover:hover .icon-circle {
  background: var(--red);
  transform: rotate(360deg);
}

/* CONTACT */
.contact-section { background: #f8f7f2; }
.contact-section .card-hover { height: auto; }
.contact-section .icon-circle { margin: 0; flex: 0 0 50px; }
.contact-section .contact-form-column .card-hover { border-top-width: 5px; box-shadow: 0 14px 35px rgba(10,26,92,.08); }
.contact-section .form-control { border-color: #d9dee8; border-radius: 3px; padding: .75rem .9rem; }
.contact-section .form-control:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(10,26,92,.12); }
.contact-section textarea.form-control { min-height: 145px; resize: vertical; }
.contact-section .form-label { color: var(--navy); font-weight: 700; }

/* CTA BAND */
.cta-band {
  background: linear-gradient(135deg, var(--navy), #142b7a);
  color: white;
}

/* FOOTER */
footer { background-color: var(--navy); color: white; }
footer a { color: #ffffffcc; text-decoration: none; transition: color 0.3s ease; }
footer a:hover { color: var(--red); }

/* ADMIN LAYOUT */
.admin-layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: calc(100vh - 56px);
}
.admin-sidebar {
  display: flex;
  flex-direction: column;
  padding: 30px 16px;
  background: #071746;
  color: white;
}
.admin-sidebar-title {
  padding: 0 14px 16px;
  color: #ffb000;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.admin-sidebar nav { display: grid; gap: 5px; }
.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-left: 3px solid transparent;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.admin-sidebar-link:hover,
.admin-sidebar-link:focus {
  border-left-color: #ffb000;
  background: rgba(255,255,255,.1);
  color: white;
}
.admin-sidebar-link i { width: 18px; color: #ffb000; text-align: center; }
.admin-sidebar-logout { margin-top: auto; }
.admin-layout > main { min-width: 0; }

@media (max-width: 767px) {
  .admin-layout { display: block; }
  .admin-sidebar {
    padding: 12px 16px;
  }
  .admin-sidebar-title { display: none; }
  .admin-sidebar nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .admin-sidebar-link { padding: 9px 10px; border-left: 0; border-bottom: 3px solid transparent; }
  .admin-sidebar-link:hover,
  .admin-sidebar-link:focus { border-bottom-color: #ffb000; border-left-color: transparent; }
  .admin-sidebar-logout { margin-top: 4px; }
}

/* FLOATING BUTTONS */
.floating-btn {
  position: fixed;
  right: 25px;
  width: 55px; height: 55px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
  z-index: 999;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}
.floating-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
  color: white;
}

/* WhatsApp button - always visible */
.btn-whatsapp {
  background-color: #25D366;
  bottom: 25px;
}

/* Back to top - hidden until scroll, shown above WhatsApp */
.btn-top {
  background-color: var(--navy);
  bottom: 90px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
}
.btn-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .navbar {
    position: relative;
  }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    z-index: 1050;
    padding: 10px 20px 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,.25);
  }
  .navbar-nav {
    align-items: center;
    text-align: center;
  }
  .community-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-intro {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 620px;
    padding-right: 0;
  }
  .community-photo {
    grid-column: 1;
    grid-row: auto;
  }
  .community-quote {
    grid-column: 2;
    grid-row: auto;
  }
  .community-quote-light {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  section.py-5 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .page-hero {
    height: 34vh;
    min-height: 240px;
  }
  .page-hero .hero-caption h1 {
    font-size: 1.9rem;
  }
  .page-hero .hero-caption p {
    font-size: 1rem;
  }
  .section-title {
    margin-bottom: 24px;
  }
  section.py-5 > .container > .row > [class*="col-"] > img.img-fluid {
    max-height: 340px;
  }
  .community-voices {
    padding: 70px 0;
  }
  .community-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .community-intro,
  .community-photo,
  .community-quote,
  .community-quote-light {
    grid-column: 1;
    grid-row: auto;
  }
  .community-tile {
    min-height: 0;
  }
  .community-quote {
    padding: 24px;
  }
  .community-quote p {
    font-size: 1rem;
  }
  .principal-message {
    padding: 65px 0 75px;
  }
  .principal-message-grid {
    display: block;
  }
  .principal-message-visual {
    min-height: 330px;
    margin-bottom: 42px;
    padding: 0 20px 25px 0;
  }
  .principal-message-image {
    height: 330px;
  }
  .principal-message-visual::after {
    width: 105px;
    height: 105px;
  }
  .principal-message-label {
    right: 5px;
    bottom: 12px;
  }
  .about-showcase {
    padding: 55px 0 75px;
  }
  .about-showcase-grid {
    display: block;
  }
  .about-showcase-images {
    min-height: 390px;
    margin-bottom: 48px;
  }
  .about-image {
    width: 76%;
    height: 245px;
  }
  .about-image-badge {
    width: 88px;
    height: 88px;
    border-width: 6px;
  }
  .about-image-badge strong { font-size: 1.4rem; }
  .about-showcase-copy h1 { font-size: 2.55rem; }
}

  .news-card {
  overflow: hidden;
  background: white;
}
.news-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.news-date {
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline {
  position: relative;
  padding-left: 30px;
  border-left: 3px solid var(--red);
}
.timeline-item {
  position: relative;
  margin-bottom: 35px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid var(--red);
}
.timeline-year {
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.timeline-content h6 {
  color: var(--navy);
  margin-bottom: 4px;
}
/* SCROLL ANIMATIONS FALLBACK HANDLED BY AOS LIBRARY */