:root {
  /* Brand colors from logo */
  --bs-primary: #1e5aa8;   /* Royal Blue */
  --bs-secondary: #f39c12; /* Heritage Orange */
  --bs-danger: #e53935;    /* Accent Red */
  --bs-warning: #fbc02d;   /* Golden Yellow */
  --bs-info: #42a5f5;

  --brand-blue: #1e5aa8;
  --brand-orange: #f39c12;
  --brand-red: #e53935;
  --brand-yellow: #fbc02d;
}

/* Logo */
.site-logo {
  height: 70px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Dark navbar */
#mainNavbar {
  transition: all 0.3s ease;
}

/* Nav links */
#mainNavbar .nav-link {
  color: #ffffff;
  font-weight: 600;
}
#mainNavbar .nav-link:hover,
#mainNavbar .nav-link.active {
  color: #fbc02d; /* brand yellow */
}

/* Dropdown */
.dropdown-menu {
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Sticky state */
#mainNavbar.is-sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: #0f3d73; /* darker on scroll */
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Buttons */
.btn-primary {
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
}

/* Gradient Cards */
.card-gradient-primary {
  background: linear-gradient(135deg, #1e5aa8, #2f7bdc);
  color: #fff;
}
.card-gradient-secondary {
  background: linear-gradient(135deg, #d98200, #f1a233);
  color: #fff;
}
.card-gradient-danger {
  background: linear-gradient(135deg, #b71c1c, #e53935);
  color: #fff;
}

/* Text inside gradient cards */
.card-gradient-primary h4,
.card-gradient-secondary h4,
.card-gradient-danger h4,
.card-gradient-primary p,
.card-gradient-secondary p,
.card-gradient-danger p {
  color: #fff !important;
}

/* Buttons inside gradient */
.card-gradient-primary .btn,
.card-gradient-secondary .btn,
.card-gradient-danger .btn {
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}
.card-gradient-primary .btn:hover,
.card-gradient-secondary .btn:hover,
.card-gradient-danger .btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
/* Inner page content styling */
.content-area p {
  line-height: 1.8;
  color: #444;
}

.content-area h2,
.content-area h3,
.content-area h4 {
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  font-weight: 800;
  color: #1e5aa8;
}

.content-area ul {
  padding-left: 1.2rem;
}

.content-area ul li {
  margin-bottom: .5rem;
}

.gallery-masonry {
  column-count: 4;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  border-radius: 1rem;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
}


@media (max-width: 1200px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 768px)  { .gallery-masonry { column-count: 2; } }

/* =====================================================
   COMMON SECTION HEADINGS (Parents / Leadership / Gallery)
   ===================================================== */

/* COMMON H2 STYLE */
section .text-center h2,
#leadership h2{
  font-size: 44px !important;
  font-weight: 800 !important;
  color: #1f2559 !important;
  margin-bottom: 12px;
  position: relative;
}

/* UNDERLINE */
section .text-center h2::after,
#leadership h2::after{
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--brand-red);
  margin: 10px auto 0;
  border-radius: 2px;
}

/* SUBTITLE / DESCRIPTION */
section .text-center p{
  font-size: 16px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* BADGE / SMALL TITLE (Leadership, Gallery, etc.) */
section .text-center .badge{
  background: transparent !important;
  color: var(--brand-red) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 0 0 6px !important;
}

/* MOBILE */
@media (max-width:768px){
  section .text-center h2,
  #leadership h2{
    font-size: 30px !important;
  }
}
/* ===== Leadership Team Cards ===== */

.team-card {
  border-radius: 28px;
  overflow: hidden;
  transition: all .3s ease;
}

.team-card:hover {
  transform: translateY(-6px);
}

.team-img {
  height: 300px;
  object-fit: cover;
}

/* Bottom panel - Website blue */
.team-body {
  background: #1e5aa8;
  color: #fff;
  padding: 25px 20px;
}

.team-body p {
  opacity: .9;
}

.team-body .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1e5aa8;
}

/* Arrow icon */
.profile-arrow {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  background: #1e5aa8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 5;
  transition: all .3s ease;
}

.profile-arrow:hover {
  background: #163f78;
  transform: translateX(4px);
}

.profile-arrow i {
  font-size: 18px;
}
