:root {
    --green: #4bb063;
    --green-dark: #277d42;
    --green-soft: #eaf7ed;
    --orange: #ff7f2c;
    --orange-dark: #dc5e0a;
    --orange-soft: #fff0e6;
    --cream: #fffaf1;
    --yellow: #ffd968;
    --ink: #18352a;
    --muted: #66756e;
    --line: #e3ebe6;
    --white: #fff;
    --shadow: 0 20px 60px rgba(27, 71, 48, .11);
    --radius: 24px;
}

html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { color: var(--ink); font-family: "Nunito", sans-serif; line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.skip-link { background: var(--ink); color: white; left: 1rem; padding: .75rem 1rem; position: fixed; top: -5rem; transition: top .2s; z-index: 9999; }
.skip-link:focus { top: 1rem; }
.section-space { padding: 110px 0; }
.section-kicker { color: var(--green-dark); display: block; font-size: .78rem; font-weight: 900; letter-spacing: .16em; margin-bottom: .8rem; text-transform: uppercase; }
.section-title { font-family: "DM Serif Display", serif; font-size: clamp(2.35rem, 4.2vw, 4rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.08; }
.lead-soft { color: var(--muted); font-size: 1.08rem; }
.section-heading { max-width: 740px; }
.btn { border-radius: 999px; font-weight: 800; padding: .72rem 1.35rem; }
.btn-lg { padding: .92rem 1.6rem; }
.btn-orange { background: var(--orange); border-color: var(--orange); color: white; box-shadow: 0 10px 22px rgba(255, 127, 44, .22); }
.btn-orange:hover, .btn-orange:focus { background: var(--orange-dark); border-color: var(--orange-dark); color: white; transform: translateY(-1px); }
.btn-green { background: var(--green); border-color: var(--green); color: white; }
.btn-green:hover { background: var(--green-dark); color: white; }
.text-link { align-items: center; color: var(--green-dark); font-weight: 900; gap: .55rem; }
.text-link i { transition: transform .2s; }
.text-link:hover i { transform: translateX(4px); }

.utility-bar { background: var(--ink); color: rgba(255,255,255,.82); font-size: .8rem; padding: .5rem 0; }
.utility-bar a:hover { color: var(--yellow); }
.navbar { --bs-navbar-padding-y: 0; }
.navbar-brand img { object-fit: contain; }
.navbar-brand span { display: flex; flex-direction: column; line-height: 1.15; }
.navbar-brand strong { font-size: 1.13rem; font-weight: 900; }
.navbar-brand small { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; margin-top: .3rem; text-transform: uppercase; }
.navbar .nav-link { border-radius: 999px; color: var(--ink); font-size: .9rem; font-weight: 800; padding: .6rem .72rem !important; }
.navbar .nav-link:hover, .navbar .nav-link.active { color: var(--green-dark); }
.navbar-toggler { border: 0; box-shadow: none !important; }
.dropdown-menu { border-radius: 18px; padding: .65rem; }
.dropdown-item { border-radius: 12px; font-weight: 700; padding: .7rem 1rem; }
.dropdown-item:hover { background: var(--green-soft); color: var(--green-dark); }
.offcanvas { border: 0 !important; }
.mobile-nav a { align-items: center; border-radius: 14px; display: flex; font-weight: 800; gap: .9rem; padding: .8rem 1rem; }
.mobile-nav a:hover { background: var(--green-soft); color: var(--green-dark); }
.mobile-nav i { font-size: 1.15rem; width: 22px; }

.hero-section { background: var(--cream); padding-bottom: 65px; position: relative; }
.hero-section .carousel-item { height: min(700px, calc(100vh - 110px)); min-height: 590px; }
.hero-image { height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(12, 45, 32, .9) 0%, rgba(12, 45, 32, .58) 43%, rgba(12, 45, 32, .06) 78%); inset: 0; position: absolute; }
.hero-section .carousel-caption { bottom: auto; left: 50%; padding: 0 12px; right: auto; top: 49%; transform: translate(-50%, -50%); width: 100%; }
.hero-section h1 { color: white; font-family: "DM Serif Display", serif; font-size: clamp(3rem, 6vw, 5.7rem); letter-spacing: -.035em; line-height: .98; max-width: 720px; text-shadow: 0 3px 24px rgba(0,0,0,.15); }
.hero-section .carousel-caption > p { color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.8vw, 1.3rem); line-height: 1.55; max-width: 610px; }
.eyebrow { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: white; display: inline-block; font-size: .76rem; font-weight: 900; letter-spacing: .1em; margin-bottom: 1.2rem; padding: .45rem .8rem; text-transform: uppercase; }
.eyebrow-dark { background: rgba(24,53,42,.08); border-color: rgba(24,53,42,.12); color: var(--ink); }
.hero-controls { bottom: 130px; display: flex; gap: .6rem; position: absolute; right: max(24px, calc((100vw - 1320px) / 2)); z-index: 3; }
.hero-controls button { align-items: center; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: white; display: flex; height: 48px; justify-content: center; width: 48px; }
.hero-controls button:hover { background: white; color: var(--ink); }
.quick-actions-wrap { margin-bottom: -48px; margin-top: -48px; position: relative; z-index: 4; }
.quick-actions { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quick-actions > div:not(:last-child) { border-right: 1px solid var(--line); }
.quick-actions a { align-items: center; display: flex; gap: 1rem; min-height: 98px; padding: 1.2rem 1.4rem; transition: background .2s; }
.quick-actions a:hover { background: var(--cream); }
.quick-actions span:not(.quick-icon) { display: flex; flex-direction: column; }
.quick-actions strong { font-size: .98rem; }
.quick-actions small { color: var(--muted); font-size: .75rem; }
.quick-icon { align-items: center; background: var(--green-soft); border-radius: 15px; color: var(--green-dark); display: flex; flex: 0 0 46px; font-size: 1.25rem; height: 46px; justify-content: center; }
.quick-icon.orange { background: var(--orange-soft); color: var(--orange-dark); }
.quick-icon.yellow { background: #fff7d7; color: #9e7700; }
.quick-icon.blue { background: #e8f3ff; color: #2878b7; }

.about-section { background: white; }
.image-collage { padding: 0 50px 46px 0; position: relative; }
.main-photo { aspect-ratio: 4 / 4.15; border-radius: 44% 44% 24px 24px; box-shadow: var(--shadow); object-fit: cover; width: 100%; }
.experience-badge { align-items: center; background: var(--orange); border: 8px solid white; border-radius: 50%; bottom: 0; color: white; display: flex; height: 150px; justify-content: center; position: absolute; right: 0; text-align: center; transform: rotate(5deg); width: 150px; }
.experience-badge strong { font-family: "DM Serif Display", serif; font-size: 2.8rem; line-height: 1; }
.experience-badge span { font-size: .68rem; font-weight: 900; line-height: 1.25; margin-left: .4rem; text-transform: uppercase; }
.doodle { color: var(--yellow); font-size: 4rem; left: -30px; position: absolute; top: 30px; transform: rotate(-12deg); }
.value-chip { align-items: center; background: var(--cream); border: 1px solid #f2eadc; border-radius: 18px; display: flex; gap: .9rem; padding: 1rem; }
.value-chip i { color: var(--green); font-size: 1.25rem; }
.value-chip span { display: flex; flex-direction: column; }
.value-chip strong { font-size: .9rem; }
.value-chip small { color: var(--muted); font-size: .72rem; }

.learning-section { background: var(--cream); position: relative; }
.learning-card { background: white; border: 1px solid rgba(75,176,99,.1); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(29,77,52,.06); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.learning-card:hover { box-shadow: var(--shadow); transform: translateY(-7px); }
.learning-photo { height: 250px; position: relative; }
.learning-photo img { height: 100%; object-fit: cover; width: 100%; }
.learning-photo span { align-items: center; background: var(--green); border: 6px solid white; border-radius: 50%; bottom: -29px; color: white; display: flex; font-size: 1.3rem; height: 64px; justify-content: center; position: absolute; right: 30px; width: 64px; }
.learning-card:nth-child(2) .learning-photo span { background: var(--orange); }
.learning-card h3 { font-size: 1.4rem; font-weight: 900; }
.learning-card p { color: var(--muted); }

.updates-section { background: white; }
.notice-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.notice-item { align-items: center; display: flex; gap: 1.2rem; padding: 1.25rem; transition: background .2s; }
.notice-item:not(:last-child) { border-bottom: 1px solid var(--line); }
.notice-item:hover { background: var(--green-soft); }
.notice-date { align-items: center; background: var(--orange-soft); border-radius: 15px; color: var(--orange-dark); display: flex; flex: 0 0 64px; flex-direction: column; font-size: .65rem; font-weight: 900; height: 64px; justify-content: center; line-height: 1; }
.notice-date strong { font-size: 1.45rem; }
.notice-copy { display: flex; flex: 1; flex-direction: column; }
.notice-copy > strong { margin: .2rem 0; }
.notice-copy small { color: var(--muted); }
.tag { color: var(--orange-dark); font-size: .64rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.green-tag { color: var(--green-dark); }.blue-tag { color: #2878b7; }
.notice-item > i { color: var(--green-dark); font-size: 1.25rem; }
.event-feature { border-radius: var(--radius); min-height: 530px; overflow: hidden; position: relative; }
.event-feature > img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.event-feature::after { background: linear-gradient(0deg, rgba(17,55,39,.93), rgba(17,55,39,.06)); content: ""; inset: 0; position: absolute; }
.event-content { bottom: 0; color: white; left: 0; padding: 2.5rem; position: absolute; right: 0; z-index: 2; }
.event-content h2 { font-family: "DM Serif Display", serif; font-size: 2.25rem; }

.student-section { background: var(--green); color: white; position: relative; }
.student-section::before { background-image: radial-gradient(rgba(255,255,255,.17) 2px, transparent 2px); background-size: 26px 26px; content: ""; inset: 0; opacity: .45; position: absolute; }
.student-section .container { position: relative; }
.student-section h2 { font-family: "DM Serif Display", serif; font-size: clamp(2.4rem, 4vw, 3.5rem); }
.student-section p { color: rgba(255,255,255,.84); }
.student-tile { background: white; border: 0; border-radius: 20px; color: var(--ink); display: flex; flex-direction: column; min-height: 170px; padding: 1.4rem; text-align: left; transition: transform .2s; }
.student-tile:hover { color: var(--ink); transform: translateY(-5px) rotate(-1deg); }
.student-tile > i { color: var(--orange); font-size: 2rem; margin-bottom: auto; }
.student-tile strong { font-size: 1.05rem; }
.student-tile small { color: var(--muted); }

.principal-section { background: white; }
.principal-card { background: var(--cream); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.principal-photo-wrap { align-self: stretch; min-height: 510px; overflow: hidden; }
.principal-photo { height: 100%; image-rendering: auto; object-fit: cover; width: 100%; }
.principal-card .p-xl-6 { padding: 4.5rem !important; position: relative; }
.quote-icon { color: var(--orange); font-size: 4rem; left: 2.7rem; opacity: .15; position: absolute; top: 1.4rem; }
.signature { display: flex; flex-direction: column; margin-top: 2rem; }
.signature strong { font-family: "DM Serif Display", serif; font-size: 1.35rem; }
.signature span { color: var(--muted); font-size: .82rem; }

.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-template-rows: 250px 250px; }
.gallery-item { background: #ddd; border: 0; border-radius: 18px; overflow: hidden; padding: 0; position: relative; }
.gallery-item:first-child, .gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .5s; width: 100%; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item > span { align-items: flex-end; background: linear-gradient(0deg, rgba(13,42,30,.82), transparent 70%); bottom: 0; color: white; display: flex; justify-content: space-between; left: 0; opacity: 0; padding: 2rem 1rem 1rem; position: absolute; right: 0; transition: opacity .2s; }
.gallery-item:hover > span, .gallery-item:focus > span { opacity: 1; }
#galleryModal .carousel-item img { height: min(75vh, 760px); object-fit: contain; }
.gallery-caption { background: rgba(0,0,0,.6); bottom: 0; color: white; left: 0; padding: .65rem 1rem; position: absolute; right: 0; text-align: center; }

.documents-section { background: var(--cream); }
.document-help { align-items: center; background: white; border: 1px solid var(--line); border-radius: 18px; display: flex; gap: 1rem; padding: 1rem 1.2rem; }
.document-help > i { align-items: center; background: var(--green-soft); border-radius: 14px; color: var(--green-dark); display: flex; font-size: 1.3rem; height: 48px; justify-content: center; width: 48px; }
.document-help span { display: flex; flex-direction: column; }
.document-help small { color: var(--muted); }
.document-help a { color: var(--green-dark); font-weight: 900; }
.document-accordion { display: grid; gap: 1rem; }
.document-accordion .accordion-item { border: 1px solid var(--line); border-radius: 20px !important; overflow: hidden; }
.document-accordion .accordion-button { box-shadow: none; font-size: 1rem; font-weight: 900; gap: 1rem; padding: 1rem 1.2rem; }
.document-accordion .accordion-button:not(.collapsed) { background: white; color: var(--ink); }
.doc-icon { align-items: center; background: var(--green-soft); border-radius: 12px; color: var(--green-dark); display: flex; font-size: 1.1rem; height: 42px; justify-content: center; width: 42px; }
.doc-icon.orange { background: var(--orange-soft); color: var(--orange-dark); }
.doc-icon.yellow { background: #fff6d2; color: #9d7600; }
.document-accordion .accordion-body { display: grid; gap: .5rem; padding-top: 0; }
.document-accordion .accordion-body a { align-items: center; background: #f8fbf9; border-radius: 12px; color: var(--muted); display: flex; font-size: .9rem; justify-content: space-between; padding: .7rem .9rem; }
.document-accordion .accordion-body a:hover { background: var(--green-soft); color: var(--green-dark); }

.contact-section { background: linear-gradient(180deg, white 50%, var(--ink) 50%); }
.contact-shell { border-radius: 28px; box-shadow: 0 30px 80px rgba(15,48,35,.2); overflow: hidden; }
.contact-info { background: var(--green-dark); color: white; }
.contact-info h2 { font-family: "DM Serif Display", serif; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1.08; }
.contact-info > p { color: rgba(255,255,255,.75); }
.contact-list { display: grid; gap: .9rem; margin-top: 2.2rem; }
.contact-list a { align-items: center; display: flex; gap: 1rem; }
.contact-list a > i { align-items: center; background: rgba(255,255,255,.12); border-radius: 50%; display: flex; flex: 0 0 48px; height: 48px; justify-content: center; }
.contact-list a:hover > i { background: var(--orange); }
.contact-list span { display: flex; flex-direction: column; }
.contact-list small { color: rgba(255,255,255,.66); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.contact-list strong { font-size: .86rem; word-break: break-word; }
.open-hours { align-items: center; border-top: 1px solid rgba(255,255,255,.16); display: flex; gap: .8rem; margin-top: 2rem; padding-top: 1.5rem; }
.open-hours span { display: flex; flex-direction: column; }.open-hours small { color: rgba(255,255,255,.65); }
.form-label { font-size: .8rem; font-weight: 900; }
.form-control, .form-select { background-color: #f7faf8; border: 1px solid #dfe9e2; border-radius: 13px; min-height: 52px; padding: .75rem 1rem; }
.form-control:focus, .form-select:focus { background: white; border-color: var(--green); box-shadow: 0 0 0 .25rem rgba(75,176,99,.13); }
textarea.form-control { min-height: 120px; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.footer-brand { align-items: center; color: white; display: flex; gap: 1rem; }
.footer-brand img { background: white; border-radius: 50%; height: 66px; padding: 3px; width: 66px; }
.footer-brand span { display: flex; flex-direction: column; }.footer-brand strong { font-size: 1.15rem; }.footer-brand small { color: var(--yellow); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.site-footer h3 { color: white; font-size: .82rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }.site-footer li { margin: .55rem 0; }.site-footer a:hover { color: var(--yellow); }
.social-link { align-items: center; background: rgba(255,255,255,.1); border-radius: 50%; color: white; display: flex; height: 42px; justify-content: center; width: 42px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .78rem; }

#backToTop { align-items: center; background: var(--orange); border: 0; border-radius: 50%; bottom: 22px; box-shadow: 0 8px 20px rgba(0,0,0,.15); color: white; display: flex; height: 48px; justify-content: center; opacity: 0; pointer-events: none; position: fixed; right: 22px; transform: translateY(15px); transition: .2s; width: 48px; z-index: 1000; }
#backToTop.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.booklet-class { align-items: center; background: var(--cream); border: 1px solid #eee6d7; border-radius: 14px; display: flex; gap: .7rem; padding: .85rem; width: 100%; }
.booklet-class i:first-child { color: var(--green); }.booklet-class i:last-child { margin-left: auto; }.booklet-class:hover { background: var(--green-soft); border-color: var(--green); }
.booklet-result { background: var(--green-soft); border-left: 4px solid var(--green); border-radius: 14px; padding: 1rem 1.2rem; }
.toast-check { align-items: center; background: var(--green); border-radius: 50%; color: white; display: flex; height: 26px; justify-content: center; margin-right: .7rem; width: 26px; }

/* Inner pages */
.page-hero { align-items: center; color: white; display: flex; min-height: 470px; overflow: hidden; padding: 90px 0; position: relative; }
.page-hero-image { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.page-hero-overlay { background: linear-gradient(90deg, rgba(14,53,37,.94), rgba(14,53,37,.56) 55%, rgba(14,53,37,.2)); inset: 0; position: absolute; }
.page-hero .container { z-index: 1; }
.page-hero h1 { font-family: "DM Serif Display", serif; font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -.035em; line-height: 1; max-width: 850px; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.15rem; max-width: 680px; }
.page-hero .breadcrumb { margin-bottom: 2rem; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.72); font-size: .8rem; font-weight: 800; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.rounded-feature { border-radius: 28px; box-shadow: var(--shadow); max-height: 560px; object-fit: cover; width: 100%; }
.motto-box { align-items: center; background: var(--green-soft); border-radius: 20px; display: flex; gap: 1rem; padding: 1.2rem; }
.motto-box > i { align-items: center; background: var(--green); border-radius: 50%; color: white; display: flex; font-size: 1.4rem; height: 54px; justify-content: center; width: 54px; }
.motto-box div { display: flex; flex-direction: column; }.motto-box small { color: var(--green-dark); font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.motto-box strong { font-family: "DM Serif Display", serif; font-size: 1.35rem; }.motto-box span { color: var(--muted); font-size: .8rem; }
.soft-info-card { background: white; border: 1px solid var(--line); border-radius: 22px; padding: 1.6rem; }
.soft-info-card > i { align-items: center; background: var(--green-soft); border-radius: 15px; color: var(--green-dark); display: flex; font-size: 1.35rem; height: 52px; justify-content: center; margin-bottom: 1.2rem; width: 52px; }
.soft-info-card h3 { font-size: 1.1rem; font-weight: 900; }.soft-info-card p { color: var(--muted); margin: 0; }
.curriculum-card { background: var(--ink); border-radius: 26px; color: white; overflow: hidden; padding: 2.2rem; position: relative; }
.curriculum-card > span { color: var(--yellow); font-family: "DM Serif Display", serif; font-size: 4.5rem; line-height: 1; opacity: .9; }.curriculum-card h3 { font-size: 1.4rem; font-weight: 900; margin-top: 1rem; }.curriculum-card p { color: rgba(255,255,255,.72); }.curriculum-card small { color: var(--yellow); font-weight: 900; }
.cta-panel { align-items: center; background: var(--green-soft); border-radius: 28px; display: flex; gap: 2rem; justify-content: space-between; padding: 2.5rem; }
.cta-panel h2 { font-family: "DM Serif Display", serif; font-size: clamp(2rem, 4vw, 3rem); }.cta-panel p { color: var(--muted); margin-bottom: 0; }
.steps-list { display: grid; gap: 1.2rem; }.step-item { align-items: flex-start; display: flex; gap: 1.2rem; }.step-item > span { align-items: center; background: var(--green-soft); border-radius: 50%; color: var(--green-dark); display: flex; flex: 0 0 54px; font-size: .8rem; font-weight: 900; height: 54px; justify-content: center; }.step-item h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: .2rem; }.step-item p { color: var(--muted); }
.admission-aside, .resource-aside { background: var(--cream); border: 1px solid #eee4d5; border-radius: 24px; padding: 2rem; position: sticky; top: 120px; }.admission-aside h3 { font-family: "DM Serif Display", serif; font-size: 2.3rem; }.admission-aside h4 { font-size: 1rem; font-weight: 900; }.admission-aside li { margin: .5rem 0; }.check-list { list-style: none; padding: 0; }.check-list li { margin: .8rem 0; padding-left: 2rem; position: relative; }.check-list li::before { color: var(--green); content: "\F26B"; font-family: "bootstrap-icons"; font-weight: 900; left: 0; position: absolute; }
.event-card { background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s, box-shadow .2s; }.event-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }.event-card img { height: 250px; object-fit: cover; width: 100%; }.event-card h2 { font-size: 1.2rem; font-weight: 900; }.event-card p { color: var(--muted); }
.page-notices .notice-item { padding: 1.5rem; }.resource-aside > i { color: var(--orange); font-size: 2.6rem; }.resource-aside h3 { font-family: "DM Serif Display", serif; font-size: 2rem; margin-top: 1rem; }.resource-aside p { color: var(--muted); }
.student-resource-card { align-items: center; background: white; border: 1px solid var(--line); border-radius: 22px; display: flex; gap: 1.2rem; padding: 1.5rem; transition: .2s; }.student-resource-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }.student-resource-card > i:first-child { align-items: center; background: var(--orange-soft); border-radius: 16px; color: var(--orange-dark); display: flex; flex: 0 0 58px; font-size: 1.4rem; height: 58px; justify-content: center; }.student-resource-card > span { flex: 1; }.student-resource-card h2 { font-size: 1.1rem; font-weight: 900; margin: 0; }.student-resource-card p { color: var(--muted); margin: .2rem 0 0; }.student-resource-card > i:last-child { color: var(--green); }
.student-quote { background: white; border-radius: 22px; color: var(--ink); font-family: "DM Serif Display", serif; font-size: 2rem; padding: 2rem; transform: rotate(2deg); }.student-quote small { color: var(--muted); display: block; font-family: "Nunito", sans-serif; font-size: .75rem; margin-top: 1rem; }
.class-book-card { align-items: center; background: white; border: 1px solid var(--line); border-radius: 20px; display: flex; gap: 1rem; padding: 1.3rem; text-align: left; transition: .2s; width: 100%; }.class-book-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-3px); }.class-book-card > span { color: var(--orange); font-size: .78rem; font-weight: 900; }.class-book-card > div { flex: 1; }.class-book-card small { color: var(--green-dark); font-size: .65rem; font-weight: 900; text-transform: uppercase; }.class-book-card h2 { font-size: 1.15rem; font-weight: 900; margin: 0; }.class-book-card p { color: var(--muted); font-size: .72rem; margin: .2rem 0 0; }.soft-alert { align-items: flex-start; background: var(--green-soft); border: 0; border-left: 4px solid var(--green); display: flex; gap: 1rem; padding: 1.2rem; }.soft-alert > i { color: var(--green-dark); font-size: 1.3rem; }.book-subject-grid { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }.book-subject-grid span { align-items: center; background: var(--green-soft); border-radius: 12px; display: flex; gap: .6rem; padding: .8rem; }.book-subject-grid i { color: var(--green); }
.download-card { align-items: center; border: 1px solid var(--line); border-radius: 18px; display: flex; gap: 1rem; padding: 1.2rem; transition: .2s; }.download-card:hover { background: var(--green-soft); border-color: var(--green); }.download-card > i:first-child { align-items: center; background: var(--orange-soft); border-radius: 14px; color: var(--orange-dark); display: flex; flex: 0 0 50px; font-size: 1.25rem; height: 50px; justify-content: center; }.download-card span { flex: 1; }.download-card h2 { font-size: 1rem; font-weight: 900; margin: 0; }.download-card p { color: var(--muted); font-size: .78rem; margin: .2rem 0 0; }.download-card > i:last-child { color: var(--green-dark); }
.feature-link-card { align-items: center; border-radius: 20px; color: white; display: flex; gap: 1rem; padding: 1.5rem; }.feature-link-card:hover { color: white; transform: translateY(-3px); }.green-card { background: var(--green-dark); }.orange-card { background: var(--orange); }.feature-link-card > i:first-child { font-size: 2rem; }.feature-link-card span { flex: 1; }.feature-link-card small { opacity: .75; text-transform: uppercase; }.feature-link-card h2 { font-family: "DM Serif Display", serif; font-size: 1.5rem; margin: 0; }
.affiliation-summary { align-items: center; background: var(--ink); border-radius: 25px; color: white; display: flex; justify-content: space-between; padding: 2rem; }.affiliation-summary h2 { font-family: "DM Serif Display", serif; font-size: 2.5rem; }.affiliation-summary p { color: rgba(255,255,255,.7); margin: 0; }.affiliation-summary > i { color: var(--yellow); font-size: 5rem; }.certificate-card { align-items: center; border: 1px solid var(--line); border-radius: 16px; display: flex; gap: .8rem; padding: 1rem; }.certificate-card:hover { background: var(--green-soft); }.certificate-card > i:first-child { color: #dc3545; font-size: 1.4rem; }.certificate-card span { flex: 1; font-weight: 800; }.certificate-card > i:last-child { color: var(--green-dark); }
.magazine-feature { align-items: center; display: grid; gap: clamp(2rem, 7vw, 7rem); grid-template-columns: minmax(260px, 420px) 1fr; }.magazine-cover { align-items: center; aspect-ratio: 3/4; background: linear-gradient(145deg, var(--green-dark), var(--green)); border-radius: 10px 24px 24px 10px; box-shadow: -12px 12px 0 var(--orange), var(--shadow); color: white; display: flex; flex-direction: column; justify-content: center; padding: 2rem; text-align: center; transform: rotate(-2deg); }.magazine-cover > i { color: var(--yellow); font-size: 5rem; }.magazine-cover span { font-family: "DM Serif Display", serif; font-size: 3.5rem; }.magazine-cover small { font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.contact-method { align-items: center; border: 1px solid var(--line); border-radius: 20px; display: flex; flex-direction: column; padding: 1.5rem; text-align: center; transition: .2s; }.contact-method:hover { background: var(--green-soft); transform: translateY(-3px); }.contact-method > i { color: var(--green); font-size: 2rem; }.contact-method small { color: var(--muted); font-size: .7rem; font-weight: 900; margin-top: .5rem; text-transform: uppercase; }.contact-method strong { margin: .2rem 0 .6rem; }.contact-method span { color: var(--orange-dark); font-size: .78rem; font-weight: 900; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

@media (max-width: 1199.98px) {
    .navbar-brand strong { font-size: 1rem; }
    .navbar .container { padding-right: 72px; position: relative; }
    .navbar-toggler { display: block; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2; }
    .section-space { padding: 90px 0; }
}
@media (max-width: 991.98px) {
    .hero-section .carousel-item { height: 680px; }
    .quick-actions > div:nth-child(2) { border-right: 0; }
    .quick-actions > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .event-feature { min-height: 580px; }
    .principal-photo-wrap { min-height: 450px; }
    .principal-photo { object-position: center 20%; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 230px); }
    .contact-info { min-height: auto; }
    .cta-panel { align-items: flex-start; flex-direction: column; }
    .magazine-feature { grid-template-columns: 1fr; }.magazine-cover { justify-self: center; max-width: 390px; width: 100%; }
}
@media (max-width: 767.98px) {
    html { scroll-padding-top: 85px; }
    .section-space { padding: 72px 0; }
    .navbar-brand img { height: 52px; width: 52px; }
    .hero-section { padding-bottom: 110px; }
    .hero-section .carousel-item { height: 650px; min-height: 650px; }
    .hero-overlay { background: linear-gradient(90deg, rgba(12,45,32,.9), rgba(12,45,32,.45)); }
    .hero-section .carousel-caption { top: 47%; }
    .hero-section h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
    .hero-controls { bottom: 118px; right: 20px; }
    .quick-actions-wrap { margin-bottom: -90px; }
    .quick-actions a { flex-direction: column; gap: .45rem; min-height: 138px; padding: 1rem .5rem; text-align: center; }
    .quick-actions > div { border-right: 1px solid var(--line) !important; }
    .quick-actions > div:nth-child(even) { border-right: 0 !important; }
    .quick-actions span:not(.quick-icon) { align-items: center; }
    .image-collage { padding-right: 30px; }
    .experience-badge { height: 115px; width: 115px; }.experience-badge strong { font-size: 2rem; }.experience-badge span { font-size: .53rem; }
    .notice-item { align-items: flex-start; gap: .8rem; padding: 1rem; }.notice-date { flex-basis: 54px; height: 54px; }.notice-copy small { display: none; }.notice-item > i { display: none; }
    .event-content { padding: 1.5rem; }
    .principal-card .p-xl-6 { padding: 2rem !important; }
    .principal-photo-wrap { min-height: 390px; }
    .gallery-grid { display: grid; grid-auto-rows: 220px; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
    .gallery-item, .gallery-item:first-child, .gallery-item:nth-child(6) { grid-column: span 1; }
    .gallery-item:first-child { grid-column: span 2; }
    .gallery-item > span { opacity: 1; }
    .page-hero { min-height: 410px; padding: 65px 0; }.page-hero h1 { font-size: 3rem; }.page-hero p { font-size: 1rem; }
    .affiliation-summary { align-items: flex-start; }.affiliation-summary > i { font-size: 3rem; }
    .book-subject-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .navbar-brand { margin-right: .25rem; min-width: 0; }
    .navbar-brand small { display: none; }
    .navbar-brand strong { font-size: .9rem; max-width: 190px; white-space: normal; }
    .navbar-toggler { flex: 0 0 auto; }
    .hero-section .carousel-caption { padding-inline: 20px; }
    .hero-section .carousel-caption > p { font-size: .95rem; }
    .hero-section .btn-lg { font-size: .85rem; padding: .78rem 1rem; }
    .section-title { font-size: 2.35rem; }
    .gallery-grid { grid-template-columns: 1fr; }.gallery-item, .gallery-item:first-child, .gallery-item:nth-child(6) { grid-column: span 1; }
}
