/* ==========================================================
   Sacred Heart Convent School, Marri Panwan
   Theme: royal navy + gold, inspired by the school emblem
   ========================================================== */
:root {
	--navy: #13306f;
	--navy-dark: #0a1d4a;
	--navy-soft: #1f4597;
	--gold: #d6a531;
	--gold-light: #f2cf6f;
	--gold-pale: #fbf0d0;
	--red: #c62032;
	--cream: #faf7ef;
	--ink: #1c2437;
	--muted: #5d6578;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(10, 29, 74, .10);
	--shadow-lg: 0 18px 50px rgba(10, 29, 74, .18);
	--f-brand: 'Cinzel', Georgia, serif;
	--f-head: 'Lora', Georgia, serif;
	--f-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--f-body); color: var(--ink); font-size: 16.5px; line-height: 1.7; background: #fff; }
a { color: var(--navy-soft); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--navy-dark); font-weight: 700; line-height: 1.25; }
img { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn { border-radius: 50px; font-weight: 700; padding: .65rem 1.5rem; letter-spacing: .2px; transition: all .25s; }
.btn-lg { padding: .85rem 1.9rem; font-size: 1.02rem; }
.btn i { margin: 0 .2rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy-dark); border: 0; box-shadow: 0 6px 18px rgba(214, 165, 49, .35); }
.btn-gold:hover { background: linear-gradient(135deg, var(--gold), #b98a1c); color: var(--navy-dark); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; border: 0; }
.btn-navy:hover { background: var(--navy-dark); color: var(--gold-light); transform: translateY(-2px); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light:hover { color: var(--navy-dark); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: #cfd8ee; font-size: .86rem; padding: .45rem 0; }
.topbar a, .topbar span { color: #cfd8ee; margin-right: 1.3rem; }
.topbar a:hover { color: var(--gold-light); }
.topbar i { color: var(--gold); margin-right: .35rem; }
.topbar-social a { margin: 0 0 0 .9rem; }
.topbar-social a i { margin: 0; color: #cfd8ee; }
.topbar-badge { background: var(--red); color: #fff !important; padding: .2rem .85rem; border-radius: 50px; font-weight: 700; animation: pulse 2.4s infinite; }
.topbar-badge i { color: #fff !important; margin-right: .35rem !important; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(198, 32, 50, .55); } 50% { box-shadow: 0 0 0 8px rgba(198, 32, 50, 0); } }

/* ---------- Header ---------- */
.site-header { background: #fff; position: sticky; top: 0; z-index: 1030; box-shadow: 0 2px 14px rgba(10, 29, 74, .07); border-bottom: 3px solid var(--gold); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(10, 29, 74, .14); }
.site-header .navbar { padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; margin-right: 1rem; }
.brand img { width: 68px; height: auto; transition: width .3s; }
.site-header.scrolled .brand img { width: 54px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--f-brand); font-weight: 700; color: var(--navy); font-size: 1.3rem; letter-spacing: .5px; }
.brand-loc { font-family: var(--f-brand); color: var(--gold); font-weight: 600; font-size: .95rem; letter-spacing: 2.5px; text-transform: uppercase; margin-top: 3px; }
.navbar-toggler { border: 2px solid var(--navy); color: var(--navy); font-size: 1.25rem; padding: .3rem .7rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-nav .nav-link { font-weight: 700; color: var(--navy-dark); padding: .55rem .8rem !important; font-size: .97rem; position: relative; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399.98px) { .navbar-nav .nav-link { padding: .55rem .55rem !important; font-size: .93rem; } .brand-name { font-size: 1.12rem; } .brand img { width: 58px; } }
.navbar-nav .nav-link::after { content: none; }
.navbar-nav .nav-link:not(.dropdown-toggle)::before { content: ''; position: absolute; left: .55rem; right: .55rem; bottom: .25rem; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.navbar-nav .nav-link:hover::before, .navbar-nav .nav-link.active::before { transform: scaleX(1); }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--navy-soft); }
.navbar-nav .dropdown-toggle::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; border: 0; font-size: .65rem; vertical-align: middle; margin-left: .35rem; }
.dropdown-menu { border: 0; border-top: 3px solid var(--gold); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); padding: .5rem; min-width: 240px; }
.dropdown-item { border-radius: 8px; padding: .6rem .9rem; font-weight: 600; color: var(--navy-dark); }
.dropdown-item i { color: var(--gold); width: 22px; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--gold-pale); color: var(--navy); }
@media (min-width: 992px) {
	.navbar-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
	.navbar-nav .dropdown-menu { top: 100%; }
}
@media (max-width: 991.98px) {
	.navbar-collapse { border-top: 1px solid #eee; margin-top: .6rem; padding-top: .4rem; }
	.navbar-nav .nav-link::before { display: none; }
	.dropdown-menu { box-shadow: none; border-top: 0; background: var(--cream); }
}
@media (max-width: 575.98px) {
	.brand img { width: 54px; }
	.brand-name { font-size: 1rem; }
	.brand-loc { font-size: .78rem; letter-spacing: 1.5px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero .carousel-item { min-height: 560px; background-color: var(--navy-dark); background-size: cover; background-position: center; position: relative; }
.hero .carousel-item.no-image {
	background:
		radial-gradient(circle at 80% 40%, rgba(242, 207, 111, .22), transparent 45%),
		radial-gradient(circle at 10% 90%, rgba(198, 32, 50, .25), transparent 40%),
		linear-gradient(120deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
}
.hero .carousel-item.no-image::before {
	content: ''; position: absolute; inset: 0; opacity: .08;
	background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 26px 26px;
}
.hero-overlay { position: absolute; inset: 0; }
.hero .has-image .hero-overlay { background: linear-gradient(90deg, rgba(10, 29, 74, .92) 0%, rgba(10, 29, 74, .65) 55%, rgba(10, 29, 74, .2) 100%); }
.hero-content { position: relative; z-index: 2; padding: 5rem 12px 5.5rem; min-height: 560px; display: flex; align-items: center; }
.hero-content > .row { width: 100%; }
.hero-kicker { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(242, 207, 111, .5); color: var(--gold-light); padding: .35rem 1rem; border-radius: 50px; font-weight: 700; font-size: .85rem; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero-kicker i { color: var(--red); }
.hero-title { font-family: var(--f-brand); color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; margin-bottom: 1rem; text-shadow: 0 3px 18px rgba(0, 0, 0, .3); }
.hero-sub { color: #dfe6f7; font-size: 1.2rem; max-width: 600px; margin-bottom: 2rem; }
.hero-emblem { width: 360px; height: 360px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0) 70%); animation: float 6s ease-in-out infinite; }
.hero-emblem img { width: 320px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero .carousel-indicators { margin-bottom: 4.2rem; }
.hero .carousel-indicators [data-bs-target] { width: 28px; height: 5px; border-radius: 4px; background: var(--gold-light); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; }
@media (max-width: 767.98px) {
	.hero .carousel-item, .hero-content { min-height: 470px; }
	.hero-content { padding: 3.5rem 20px 5rem; }
	.hero-sub { font-size: 1.05rem; }
}

/* ---------- Highlights ---------- */
.highlights { margin-top: -3rem; position: relative; z-index: 5; }
.highlight-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.3rem 1rem; text-align: center; border-bottom: 4px solid var(--gold); height: 100%; }
.highlight-card strong { display: block; font-family: var(--f-brand); color: var(--navy); font-size: 1.7rem; line-height: 1.2; }
.highlight-card span { color: var(--muted); font-weight: 700; font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-cream { background: var(--cream); }
.section-navy { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #dfe6f7; position: relative; overflow: hidden; }
.section-navy::before { content: ''; position: absolute; inset: 0; opacity: .06; background-image: radial-gradient(#fff 1.2px, transparent 1.2px); background-size: 24px 24px; }
.section-navy > .container { position: relative; }
.section-head { margin-bottom: 2.8rem; }
.section-kicker { display: inline-block; color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: .82rem; margin-bottom: .5rem; }
.section-kicker::before { content: ''; display: inline-block; width: 28px; height: 2px; background: var(--gold); vertical-align: middle; margin-right: .6rem; }
.section-kicker.light { color: var(--gold-light); }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 1rem; }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.rich-text p { margin-bottom: 1rem; }
.rich-text ul { padding-left: 1.2rem; }
.rich-text h4 { font-size: 1.2rem; margin-top: 1.5rem; }

/* ---------- Welcome visual ---------- */
.welcome-visual { position: relative; }
.welcome-img { border-radius: 22px; aspect-ratio: 16 / 10; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); border: 6px solid #fff; outline: 2px solid var(--gold); }
.welcome-img.tall { aspect-ratio: 4 / 3.4; }
.welcome-badge { position: absolute; left: -18px; top: 22px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: .8rem 1.1rem; display: flex; align-items: center; gap: .7rem; }
.welcome-badge img { width: 64px; }
.welcome-badge span { font-family: var(--f-head); font-style: italic; font-weight: 600; color: var(--navy); }
.welcome-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.welcome-points li { font-weight: 700; color: var(--navy-dark); }
.welcome-points i { color: #fff; background: var(--gold); border-radius: 50%; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; font-size: .7rem; margin-right: .45rem; }
@media (max-width: 575.98px) {
	.welcome-points { grid-template-columns: 1fr; max-width: 100%; }
	.welcome-badge { position: static; margin-top: 1rem; display: inline-flex; }
}

/* ---------- Chairman ---------- */
.portrait-frame { display: inline-block; padding: 10px; border-radius: 26px; background: linear-gradient(145deg, var(--gold-light), var(--gold) 50%, #a77a14); box-shadow: var(--shadow-lg); max-width: 340px; width: 100%; }
.portrait-frame img { border-radius: 18px; width: 100%; display: block; aspect-ratio: 9 / 10.2; object-fit: cover; object-position: top; background: #fff; }
.portrait-frame.small { max-width: 240px; }
.chairman-quote { font-family: var(--f-head); font-style: italic; font-size: 1.12rem; color: #3a435a; border-left: 4px solid var(--gold); padding: .3rem 0 .3rem 1.3rem; margin: 1rem 0 1.2rem; position: relative; }
.chairman-sign { font-weight: 800; color: var(--navy); margin-bottom: 1.4rem; }
.chairman-profile { position: sticky; top: 120px; text-align: center; }
.chairman-name-plate { margin-top: -1.4rem; position: relative; }
.chairman-name-plate h2 { display: inline-block; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; font-size: 1.35rem; padding: .55rem 1.6rem; border-radius: 50px; border: 2px solid var(--gold); margin: 0 0 .7rem; }
.chairman-name-plate p { font-weight: 800; color: var(--navy); font-size: 1.15rem; margin: 0; }
.chairman-name-plate span { color: var(--muted); font-size: .95rem; }
.letter-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: 2.6rem 2.8rem; position: relative; overflow: hidden; border-top: 5px solid var(--gold); }
.letter-card::after { content: '\f004'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; right: -20px; bottom: -40px; font-size: 13rem; color: var(--gold-pale); opacity: .6; z-index: 0; }
.letter-card > * { position: relative; z-index: 1; }
.letter-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.letter-head h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.letter-icon { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.letter-body { font-size: 1.06rem; }
.letter-body p:first-child { font-family: var(--f-head); font-weight: 700; color: var(--navy); font-size: 1.2rem; }
.letter-sign { border-top: 1px solid #ece4cf; margin-top: 1.4rem; padding-top: 1rem; display: flex; flex-direction: column; }
.signature { font-family: 'Dancing Script', cursive; font-size: 2.2rem; color: var(--navy); line-height: 1.1; }
.letter-sign strong { color: var(--navy-dark); font-size: 1.1rem; }
.letter-sign small { color: var(--muted); }
@media (max-width: 575.98px) { .letter-card { padding: 1.8rem 1.4rem; } }
@media (max-width: 991.98px) { .chairman-profile { position: static; } }

/* ---------- Feature cards ---------- */
.feature-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem 1.7rem; height: 100%; border: 1px solid #eef0f6; transition: all .3s; position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-light); }
.feature-img { margin: -2rem -1.7rem 1.3rem; aspect-ratio: 16 / 9; background-size: cover; background-position: center; }
.feature-icon { width: 64px; height: 64px; border-radius: 18px; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 1.1rem; box-shadow: 0 8px 18px rgba(19, 48, 111, .25); }
.feature-img + .feature-icon { margin-top: -3.2rem; position: relative; border: 4px solid #fff; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feature-card p { color: var(--muted); margin: 0; }

/* ---------- Activities tiles ---------- */
.activity-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; text-align: center; padding: 1.8rem .8rem; height: 100%; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(242, 207, 111, .25); color: #fff; font-weight: 700; transition: all .3s; }
.activity-tile i { font-size: 2rem; color: var(--gold-light); }
.activity-tile:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-5px); }
.activity-tile:hover i { color: var(--navy-dark); }

/* ---------- Admission ---------- */
.admission-section { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.admission-card { height: 100%; border-radius: 22px; padding: 2.5rem; color: #fff; position: relative; overflow: hidden; background: radial-gradient(circle at 90% 10%, rgba(242, 207, 111, .25), transparent 40%), linear-gradient(135deg, var(--navy-dark), var(--navy-soft)); box-shadow: var(--shadow-lg); }
.admission-ribbon { display: inline-block; background: var(--red); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .82rem; padding: .35rem 1rem; border-radius: 50px; margin-bottom: 1rem; }
.admission-card h2 { color: #fff; font-family: var(--f-brand); font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: .3rem; }
.admission-sub { color: var(--gold-light); font-weight: 700; font-size: 1.1rem; }
.admission-list ul { list-style: none; padding: 0; margin: 1.4rem 0; }
.admission-list li { padding: .7rem 1rem .7rem 3rem; background: rgba(255, 255, 255, .08); border-radius: 12px; margin-bottom: .6rem; position: relative; font-weight: 600; }
.admission-list li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold-light); position: absolute; left: 1rem; top: .7rem; }
.admission-list strong { color: var(--gold-light); }
.admission-staff { text-align: center; background: linear-gradient(90deg, #a8142a, var(--red), #a8142a); padding: .6rem; border-radius: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.4rem; }
.admission-staff i { color: var(--gold-light); font-size: .8rem; margin: 0 .5rem; }
.admission-contact { display: flex; flex-direction: column; gap: .4rem; }
.admission-contact a { color: var(--gold-light); font-size: 1.6rem; font-weight: 800; }
.admission-contact span { color: #cfd8ee; font-size: .95rem; }
.admission-contact i { margin-right: .4rem; }
.form-card { background: #fff; border-radius: 22px; padding: 2.3rem; box-shadow: var(--shadow-lg); height: 100%; border-top: 5px solid var(--gold); }
.form-card h2, .form-card h3 { font-size: 1.7rem; margin-bottom: .3rem; }
.form-label { font-weight: 700; color: var(--navy-dark); font-size: .92rem; margin-bottom: .3rem; }
.form-control, .form-select { border-radius: 10px; padding: .65rem .9rem; border-color: #dde2ee; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(214, 165, 49, .2); }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item { position: relative; display: block; overflow: hidden; border-radius: 14px; aspect-ratio: 1 / 1; background: var(--cream); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-zoom { position: absolute; inset: 0; background: rgba(10, 29, 74, .55); color: var(--gold-light); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .gallery-zoom { opacity: 1; }
.gallery-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .9rem .7rem; color: #fff; font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(10, 29, 74, .85)); }
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem; }
.filter-pills a { padding: .5rem 1.4rem; border-radius: 50px; border: 2px solid #e2e6f0; color: var(--navy-dark); font-weight: 700; }
.filter-pills a:hover, .filter-pills a.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- News ---------- */
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; transition: all .3s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb { position: relative; display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center top; }
.news-thumb.no-img { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); display: flex; align-items: center; justify-content: center; }
.news-thumb.no-img img { width: 90px; opacity: .9; }
.news-date { position: absolute; left: 14px; bottom: -22px; background: var(--gold); color: var(--navy-dark); border-radius: 12px; padding: .35rem .75rem; text-align: center; font-weight: 700; font-size: .75rem; line-height: 1.1; box-shadow: 0 6px 14px rgba(0, 0, 0, .15); }
.news-date strong { display: block; font-size: 1.4rem; font-family: var(--f-head); }
.news-type { position: absolute; top: 14px; right: 14px; padding: .2rem .75rem; border-radius: 50px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; background: var(--navy); color: #fff; }
.news-type.event { background: var(--red); }
.post-meta .news-type { position: static; display: inline-block; }
.news-body { padding: 2rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.news-body h3 a { color: var(--navy-dark); }
.news-body h3 a:hover { color: var(--navy-soft); }
.news-body p { color: var(--muted); font-size: .95rem; }
.news-meta { font-weight: 700; color: var(--navy) !important; }
.read-more { margin-top: auto; font-weight: 800; color: var(--navy); }
.read-more i { transition: transform .2s; }
.read-more:hover i { transform: translateX(4px); }

.upcoming-box { background: var(--cream); border: 1px solid #efe5c9; border-radius: 18px; padding: 1.6rem; margin-bottom: 2.5rem; }
.upcoming-box h2 { font-size: 1.35rem; margin-bottom: 1rem; }
.upcoming-box h2 i { color: var(--gold); }
.upcoming-item { display: flex; gap: 1rem; align-items: center; background: #fff; padding: .8rem; border-radius: 12px; color: var(--ink); height: 100%; }
.upcoming-item:hover { box-shadow: var(--shadow); color: var(--ink); }
.up-date { background: var(--navy); color: #fff; border-radius: 10px; padding: .4rem .7rem; text-align: center; font-size: .78rem; font-weight: 700; text-transform: uppercase; flex-shrink: 0; }
.up-date strong { display: block; font-size: 1.35rem; color: var(--gold-light); line-height: 1.1; }
.upcoming-item small { display: block; color: var(--muted); }

.pagination .page-link { border-radius: 10px !important; margin: 0 3px; color: var(--navy); font-weight: 700; border-color: #e2e6f0; }
.pagination .active .page-link, .pagination .page-item.active .page-link { background: var(--navy); border-color: var(--navy); color: #fff; }

.post-meta { display: flex; gap: 1rem; align-items: center; color: var(--muted); font-weight: 600; margin-bottom: .8rem; }
.post-title { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 1.2rem; }
.event-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; background: var(--gold-pale); padding: 1rem 1.3rem; border-radius: 12px; margin-bottom: 1.5rem; font-weight: 700; color: var(--navy-dark); }
.event-facts i { color: var(--red); margin-right: .35rem; }
.post-image { display: block; margin-bottom: 1.8rem; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.post-image img { width: 100%; display: block; }
.post-body { font-size: 1.05rem; }
.post-share { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid #eee; display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.post-share a { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.post-share a:hover { background: var(--gold); color: var(--navy-dark); }
.side-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 1.5rem; margin-bottom: 1.5rem; }
.side-card h3 { font-size: 1.2rem; border-bottom: 2px solid var(--gold); padding-bottom: .6rem; margin-bottom: 1rem; }
.side-post { display: flex; gap: .8rem; align-items: center; padding: .55rem 0; color: var(--ink); border-bottom: 1px dashed #e5e7ee; }
.side-post:last-child { border-bottom: 0; }
.side-post img { width: 70px; height: 60px; object-fit: cover; border-radius: 10px; background: var(--cream); flex-shrink: 0; }
.side-post strong { display: block; font-size: .95rem; line-height: 1.3; color: var(--navy-dark); }
.side-post small { color: var(--muted); }
.side-cta { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); color: #dfe6f7; }
.side-cta h3 { color: #fff; }

/* ---------- Vision / Mission ---------- */
.vm-card { border-radius: 22px; padding: 2.4rem; height: 100%; position: relative; overflow: hidden; }
.vm-vision { background: linear-gradient(135deg, var(--navy-dark), var(--navy-soft)); color: #e6ecfa; }
.vm-vision h2 { color: #fff; }
.vm-vision .rich-text { font-size: 1.15rem; font-family: var(--f-head); font-style: italic; }
.vm-mission { background: #fff; box-shadow: var(--shadow-lg); border: 1px solid #efe5c9; }
.vm-icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: var(--gold); color: var(--navy-dark); margin-bottom: 1rem; }
.vm-card h2 { font-size: 1.8rem; }
.check-list ul { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .45rem 0 .45rem 2rem; position: relative; border-bottom: 1px dashed #ece4cf; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .5rem; color: var(--gold); }

.why-item { display: flex; gap: 1rem; padding: 1.3rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); height: 100%; }
.why-item > i { font-size: 1.5rem; color: var(--gold-light); width: 44px; flex-shrink: 0; padding-top: .2rem; }
.why-item h3 { color: #fff; font-size: 1.1rem; margin-bottom: .3rem; }
.why-item p { margin: 0; font-size: .94rem; color: #c9d3ec; }

/* ---------- Facilities / Activities page ---------- */
.item-rows { display: flex; flex-direction: column; gap: 2.5rem; }
.item-row { display: grid; grid-template-columns: 5fr 7fr; gap: 2.5rem; align-items: center; }
.item-row.reverse { grid-template-columns: 7fr 5fr; }
.item-row.reverse .item-media { order: 2; }
.item-media { border-radius: 22px; aspect-ratio: 4 / 3; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.item-media.no-img { background: radial-gradient(circle at 30% 20%, rgba(242, 207, 111, .3), transparent 50%), linear-gradient(135deg, var(--navy-dark), var(--navy-soft)); display: flex; align-items: center; justify-content: center; }
.item-media.no-img i { font-size: 5.5rem; color: var(--gold-light); filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3)); }
.item-num { font-family: var(--f-brand); font-size: 3rem; color: var(--gold-pale); font-weight: 700; line-height: 1; -webkit-text-stroke: 1px var(--gold); }
.item-text h3 { font-size: 1.7rem; margin: .3rem 0 .6rem; }
.item-text h3 i { color: var(--gold); font-size: 1.3rem; margin-right: .3rem; }
.item-short { font-weight: 700; color: var(--navy); font-size: 1.08rem; }
@media (max-width: 767.98px) {
	.item-row, .item-row.reverse { grid-template-columns: 1fr; gap: 1.2rem; }
	.item-row.reverse .item-media { order: 0; }
	.item-media { aspect-ratio: 16 / 9; }
}

/* ---------- Contact ---------- */
.contact-box { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 2rem 1.5rem; text-align: center; height: 100%; border-bottom: 4px solid var(--gold); }
.contact-box > i { width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1rem; }
.contact-box h3 { font-size: 1.25rem; }
.contact-box p { margin: 0; color: var(--muted); font-weight: 600; }
.contact-box a { font-size: 1.15rem; font-weight: 800; color: var(--navy); }
.map-box { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); height: 100%; min-height: 420px; border: 5px solid #fff; outline: 2px solid var(--gold); }
.map-box iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Page banner ---------- */
.page-banner { background: radial-gradient(circle at 85% 30%, rgba(242, 207, 111, .22), transparent 40%), linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--navy-soft)); padding: 3.6rem 0 3.2rem; position: relative; overflow: hidden; }
.page-banner-emblem { position: absolute; right: -50px; top: 50%; transform: translateY(-50%); width: 300px; opacity: .09; pointer-events: none; }
.page-banner h1 { color: #fff; font-family: var(--f-brand); font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .6rem; position: relative; z-index: 1; }
.page-banner .breadcrumb { margin: 0; position: relative; z-index: 1; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: #cfd8ee; font-weight: 600; }
.page-banner .breadcrumb-item a:hover { color: var(--gold-light); }
.page-banner .breadcrumb-item.active { color: var(--gold-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: var(--gold); }

/* ---------- CTA + Footer ---------- */
.cta-strip { background: linear-gradient(90deg, var(--gold), var(--gold-light) 50%, var(--gold)); padding: 2.2rem 0; }
.cta-strip h2 { margin: 0; font-family: var(--f-brand); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--navy-dark); }
.cta-strip p { margin: 0; font-weight: 700; color: var(--navy); }
.cta-strip .btn-gold { background: var(--navy-dark); color: #fff; box-shadow: none; }
.cta-strip .btn-gold:hover { background: var(--navy); color: var(--gold-light); }
.cta-strip .btn-outline-light { border-color: var(--navy-dark); color: var(--navy-dark); }
.cta-strip .btn-outline-light:hover { background: var(--navy-dark); color: #fff; }
.site-footer { background: var(--navy-dark); color: #b9c4df; padding-top: 4rem; font-size: .96rem; }
.footer-brand { display: flex; gap: .9rem; align-items: center; }
.footer-brand img { width: 70px; }
.footer-brand h3 { color: #fff; font-family: var(--f-brand); font-size: 1.15rem; margin: 0; }
.footer-brand span { color: var(--gold-light); font-family: var(--f-brand); letter-spacing: 2px; text-transform: uppercase; font-size: .85rem; }
.footer-tagline { font-family: var(--f-head); font-style: italic; color: var(--gold-light); font-size: 1.1rem; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 1.2rem; padding-bottom: .6rem; position: relative; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #b9c4df; }
.footer-links a::before { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); margin-right: .5rem; font-size: .8rem; }
.footer-links a:hover { color: var(--gold-light); padding-left: 3px; }
.footer-contact li { display: flex; gap: .8rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--gold); margin-top: .35rem; width: 16px; }
.footer-contact a { color: #fff; font-weight: 700; }
.footer-social { display: flex; gap: .5rem; margin-top: 1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold); color: var(--navy-dark); border-color: var(--gold); }
.footer-bottom { margin-top: 3rem; padding: 1.2rem 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }

/* ---------- Floating buttons ---------- */
.float-whatsapp { position: fixed; left: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); z-index: 1040; }
.float-whatsapp:hover { color: #fff; transform: scale(1.08); }
.back-to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); z-index: 1040; opacity: 0; visibility: hidden; transition: all .3s; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--navy-dark); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(5, 14, 38, .94); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 2rem 4rem; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; text-align: center; max-width: 100%; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: #fff; margin-top: .8rem; font-weight: 600; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.2rem; }
.lightbox button:hover { background: var(--gold); color: var(--navy-dark); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) { .lightbox { padding: 1rem; } .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1; transform: none; }
	.hero-emblem, .topbar-badge { animation: none; }
}

/* ---------- Mobile overflow guards ---------- */
html, body { overflow-x: hidden; }
@media (max-width: 767.98px) {
	.row.g-5 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 2rem; }
	.section { padding: 3.8rem 0; }
	.topbar { display: none; }
	.admission-card, .form-card { padding: 1.6rem 1.3rem; }
	.admission-contact a { font-size: 1.35rem; }
	.welcome-img, .map-box { outline: 0; }
}
@media (max-width: 991.98px) {
	.site-header .navbar > .container { flex-wrap: wrap; }
	.navbar-brand.brand { white-space: normal; flex: 1 1 0; min-width: 0; margin-right: .5rem; }
	.hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
}
@media (max-width: 575.98px) {
	.brand { gap: .55rem; }
	.brand-name { font-size: .95rem; line-height: 1.15; }
	.hero-content { padding-bottom: 7rem; }
	.hero .carousel-indicators { margin-bottom: 4.6rem; }
	.hero-kicker { font-size: .72rem; }
}
