: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;
  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: #fff !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;
}

/* ===== 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;
}
.facilities-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.facilities-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr); /* 8 per row */
  gap: 20px;
  justify-items: center;
}

.facility-item {
  width: 100%;
  text-align: center;
}

/* ICON BASE */
.icon-box {
  width: 90px;
  height: 90px;
  border-radius: 15px;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  font-size: 28px;
  background: linear-gradient(145deg, #ffffff, #f1f1f1);
  transition: all 0.35s ease;
}

/* HOVER EFFECT */
.facility-item:hover .icon-box {
  background: currentColor;
  color: #fff;
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}


.facility-item:hover .icon-box {
  background: currentColor;
  color: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.facility-item h6 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}
.orange {
  color: #ff6f00;
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
}

.yellow {
  color: #f9a825;
  background: linear-gradient(135deg, #fffde7, #fff9c4);
}

.green {
  color: #00796b;
  background: linear-gradient(135deg, #e0f2f1, #b2dfdb);
}

.pink {
  color: #d81b60;
  background: linear-gradient(135deg, #fce4ec, #f8bbd0);
}

.blue {
  color: #3949ab;
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
}

.red {
  color: #d32f2f;
  background: linear-gradient(135deg, #ffebee, #ffcdd2);
}

.lightgreen {
  color: #558b2f;
  background: linear-gradient(135deg, #f1f8e9, #dcedc8);
}

@media (max-width: 768px) {
  .facilities-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .icon-box {
    width: 75px;
    height: 75px;
    font-size: 50px;
  }

  .facility-item h6 {
    font-size: 15px;
  }
}

/* 📱 VERY SMALL PHONES */
@media (max-width: 480px) {
  .facility-item {
    width: 100%; /* 1 per row (optional) */
  }
}


/* top round icon */
.icon-top {
  width: 100px;
  height: 100px;
  background: #fff;
  border-radius: 50%;
  margin: -90px auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* arrow button */
.circle-arrow {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 25px auto 0;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.circle-arrow i {
  font-size: 18px;
}

/* hover effect */
.circle-arrow:hover {
  background: #fff;
  color: #000;
  transform: translateX(4px);
}

/* MOBILE */
@media (max-width:768px){
  section .text-center h2,
  #leadership h2{
    font-size: 30px !important;
  }
}
