:root {
  --navy: #1f4785;
  --navy-dark: #132d57;
  --navy-deep: #0d1f3d;
  --gold: #c9b533;
  --gold-dark: #a8961f;
  --cream: #f8f6ef;
  --ink: #1d2433;
  --muted: #5d6677;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(19, 45, 87, .10);
}

html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; color: var(--ink); line-height: 1.7; font-size: 1rem; }
h1, h2, h3, .display-font { font-family: "Playfair Display", Georgia, serif; color: var(--navy-dark); }
a { color: var(--navy); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; }
.skip-link { position: absolute; left: 1rem; top: 1rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* Buttons */
.btn-gold { background: var(--gold); color: var(--navy-deep); font-weight: 600; border: none; }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; font-weight: 600; border: none; }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-dark); color: #fff; }
.btn { border-radius: 999px; padding-left: 1.4rem; padding-right: 1.4rem; }

/* Top bar + header */
.topbar { background: var(--navy-deep); font-size: .85rem; padding: .45rem 0; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.site-header { background: var(--navy); box-shadow: 0 2px 16px rgba(0,0,0,.15); }
.site-header .navbar { padding: .55rem 0; }
.site-header .nav-link { color: rgba(255,255,255,.88) !important; font-weight: 500; padding: .5rem .8rem !important; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--gold) !important; }
.site-header .dropdown-menu { border: none; border-radius: 10px; box-shadow: var(--shadow); padding: .5rem; }
.site-header .dropdown-item { border-radius: 6px; padding: .5rem .9rem; }
.site-header .dropdown-item:hover { background: var(--cream); color: var(--navy); }
@media (min-width: 992px) {
  .site-header .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

/* Sections */
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.eyebrow { display: inline-block; color: var(--gold-dark); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: .6rem; }
.bg-navy .eyebrow { color: var(--gold); }
.section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.lead-muted { color: var(--muted); font-size: 1.08rem; }

/* Home hero */
.hero { position: relative; min-height: clamp(560px, 88vh, 860px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero video, .hero .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(13,31,61,.92) 0%, rgba(13,31,61,.65) 50%, rgba(13,31,61,.25) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.1; font-weight: 800; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.2rem; max-width: 560px; color: rgba(255,255,255,.9); }
.hero-badge { display: inline-flex; gap: .5rem; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .35rem .9rem; border-radius: 999px; font-size: .85rem; margin-bottom: 1.2rem; backdrop-filter: blur(4px); }

/* Stats */
.stats { margin-top: -3.5rem; position: relative; z-index: 5; }
.stat-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.6rem 1rem; text-align: center; height: 100%; border-bottom: 4px solid var(--gold); }
.stat-card .num { font-family: "Playfair Display", serif; font-size: 2.6rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-card .label { color: var(--muted); font-weight: 500; margin-top: .4rem; }

/* Media blocks */
.img-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-stack { position: relative; padding: 0 0 2.5rem 2.5rem; }
.img-stack::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--gold); border-radius: var(--radius); opacity: .9; }
.img-stack .img-frame { position: relative; }

/* Feature cards */
.feature-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); height: 100%; transition: transform .25s, box-shadow .25s; border-top: 4px solid transparent; }
.feature-card:hover { transform: translateY(-6px); border-top-color: var(--gold); }
.feature-card .icon { width: 58px; height: 58px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; font-size: 1.6rem; color: var(--navy); margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.25rem; }

/* Stage cards */
.stage-card { border-radius: var(--radius); padding: 1.8rem; color: #fff; height: 100%; background: var(--navy); position: relative; overflow: hidden; }
.stage-card:nth-child(even) { background: var(--navy-dark); }
.stage-card h3 { color: #fff; font-size: 1.3rem; }
.stage-card .range { color: var(--gold); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.stage-card ul { padding-left: 1.1rem; margin: .8rem 0 0; }

/* Tabs (mission/vision/motto) */
.mvm .nav-pills .nav-link { color: var(--navy); font-weight: 600; border-radius: 999px; }
.mvm .nav-pills .nav-link.active { background: var(--navy); color: #fff; }

/* Testimonials */
.testimonial { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); height: 100%; position: relative; }
.testimonial::before { content: "\201C"; font-family: "Playfair Display", serif; font-size: 5rem; color: var(--gold); position: absolute; top: -.6rem; right: 1.2rem; line-height: 1; opacity: .6; }
.testimonial .stars { color: var(--gold); margin-bottom: .6rem; }
.testimonial .who { font-weight: 700; color: var(--navy); margin-top: 1rem; }

/* Page hero */
.page-hero { background-size: cover; background-position: center; color: #fff; padding: 6rem 0 4rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 800; }
.page-hero .lead { color: rgba(255,255,255,.88); max-width: 720px; }
.page-hero .breadcrumb { margin: 1rem 0 0; }
.page-hero .breadcrumb a { color: var(--gold); text-decoration: none; }
.page-hero .breadcrumb-item.active, .page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.75); }

/* Content */
.prose { font-size: 1.05rem; }
.prose h2, .prose h3 { margin-top: 2rem; }
.prose img { border-radius: var(--radius); height: auto; margin: 1rem 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: var(--radius); }
.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-size: 1.15rem; }
.info-card { background: #fff; border: 1px solid #e8eaf0; border-radius: var(--radius); padding: 1.8rem; height: 100%; }
.info-card h3 { font-size: 1.25rem; display: flex; gap: .6rem; align-items: center; }
.info-card h3 i { color: var(--gold-dark); }
.quote-block { border-left: 4px solid var(--gold); background: var(--cream); padding: 1.4rem 1.6rem; font-family: "Playfair Display", serif; font-size: 1.2rem; font-style: italic; border-radius: 0 var(--radius) var(--radius) 0; color: var(--navy-dark); }

/* Leader cards */
.leader { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.leader-photo { aspect-ratio: 4/5; overflow: hidden; background: var(--cream); }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader .role { color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

/* Tables */
.table-ewa thead th { background: var(--navy); color: #fff; font-weight: 600; border: none; }
.table-ewa td { vertical-align: middle; }
.grade-pill { display: inline-block; background: var(--navy); color: #fff; font-weight: 700; border-radius: 8px; padding: .1rem .6rem; min-width: 2.6rem; text-align: center; }

/* Posts */
.post-card { border: none; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s; }
.post-card:hover { transform: translateY(-5px); }
.post-card-img { display: block; position: relative; aspect-ratio: 16/10; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.badge-type { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--navy-deep); font-weight: 700; font-size: .75rem; padding: .25rem .7rem; border-radius: 999px; text-transform: uppercase; }
.post-card .card-title a { color: var(--navy-dark); text-decoration: none; }
.post-card .card-title a:hover { color: var(--gold-dark); }
.post-meta { color: var(--muted); font-size: .85rem; margin-bottom: .4rem; }
.read-more { font-weight: 600; text-decoration: none; }
.post-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; max-height: 520px; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.sidebar-post { display: flex; gap: .8rem; text-decoration: none; margin-bottom: 1rem; color: var(--ink); }
.sidebar-post img { width: 76px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.sidebar-post:hover { color: var(--navy); }

/* Gallery */
.album-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); color: #fff; text-decoration: none; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.album-card:hover img { transform: scale(1.06); }
.album-card .overlay { position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(13,31,61,.92)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.album-card h3 { color: #fff; font-size: 1.5rem; margin: 0; }
.album-card .count { color: var(--gold); font-weight: 600; font-size: .9rem; }
.masonry { columns: 4 260px; column-gap: 1rem; }
.masonry .tile { break-inside: avoid; margin-bottom: 1rem; border-radius: 10px; overflow: hidden; display: block; position: relative; cursor: zoom-in; background: #eef0f5; }
.masonry .tile img { width: 100%; display: block; transition: transform .4s, opacity .3s; }
.masonry .tile:hover img { transform: scale(1.04); opacity: .92; }
.masonry .tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .8rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .85rem; }
.video-tile { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-tile video, .video-tile iframe { width: 100%; aspect-ratio: 16/9; display: block; border: 0; }
.home-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: .8rem; }
.home-gallery a { border-radius: 10px; overflow: hidden; }
.home-gallery a:first-child { grid-column: span 2; grid-row: span 2; }
.home-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.home-gallery a:hover img { transform: scale(1.06); }
@media (max-width: 767px) { .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(5,12,25,.94); z-index: 3000; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.6); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; }
.lightbox button:hover { background: var(--gold); color: var(--navy-deep); }
.lightbox .lb-close { top: 1.2rem; right: 1.2rem; }
.lightbox .lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-cap { position: absolute; bottom: 1.2rem; color: #fff; text-align: center; width: 100%; }

/* Forms */
.enquiry-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.2rem; }
.form-control, .form-select { border-radius: 10px; padding: .7rem .9rem; border-color: #d9dde6; }
.form-control:focus, .form-select:focus { border-color: var(--navy); box-shadow: 0 0 0 .2rem rgba(31,71,133,.15); }
.form-label { font-weight: 600; font-size: .92rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.4rem; }
.contact-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.hours-table td { padding: .45rem 0; border-bottom: 1px dashed #dcdfe7; }
.map-embed iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); }

/* CTA + footer */
.cta-band { background: linear-gradient(110deg, var(--gold) 0%, #d8c650 100%); color: var(--navy-deep); padding: 2.6rem 0; }
.cta-band h2 { color: var(--navy-deep); }
.cta-band .btn-gold { background: var(--navy); color: #fff; }
.cta-band .btn-gold:hover { background: var(--navy-deep); }
.cta-band .btn-outline-light { color: var(--navy-deep); border-color: var(--navy-deep); }
.cta-band .btn-outline-light:hover { background: var(--navy-deep); color: #fff; }
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 4.5rem 0 0; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer li { margin-bottom: .5rem; }
.footer-title { color: #fff; font-family: "Inter", sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.2rem; }
.site-footer .social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 1.1rem; }
.site-footer .social a:hover { background: var(--gold); color: var(--navy-deep); }
.contact-list li { display: flex; gap: .7rem; }
.contact-list i { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding: 1.4rem 0; font-size: .85rem; }
.call-fab { position: fixed; right: 1.1rem; bottom: 1.1rem; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 1000; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

.pagination .page-link { color: var(--navy); border-radius: 8px !important; margin: 0 .15rem; }
.pagination .active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }
.text-navy{color:var(--navy)!important}
