/* ==========================================================================
   Holy Child College Asa - Master Stylesheet
   Catholic Co-educational Secondary School | Actions Not Words
   ========================================================================== */

/* 1. Global Resets & Base Design Tokens */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* User Specified Exact Brand Palette */
    --hcc-bg-main: #F7F6F2;
    /* Main background */
    --hcc-bg-alt: #E8EFF0;
    /* Alternate sections */
    --hcc-bg-nav: #F7F6F2;
    /* Navigation background */
    --hcc-headings: #344B55;
    /* Headings */
    --hcc-body-text: #263840;
    /* Body text */
    --hcc-btn-primary: #344B55;
    /* Primary buttons */
    --hcc-btn-text: #FFFFFF;
    /* Button text */
    --hcc-btn-secondary: #AFC1C7;
    /* Secondary buttons */
    --hcc-links-icons: #718991;
    /* Links and icons */
    --hcc-highlight: #C58F7B;
    /* Special highlights */
    --hcc-footer-bg: #263840;
    /* Footer */

    /* Harmonized Theme Variables */
    --hcc-navy: #344B55;
    /* Headings / Slate Teal */
    --hcc-navy-dark: #263840;
    /* Footer / Dark Charcoal Slate */
    --hcc-navy-light: #445f6c;
    /* Primary button hover */
    --hcc-gold: #C58F7B;
    /* Special highlights (warm terracotta) */
    --hcc-gold-hover: #b07c69;
    /* Highlight hover */
    --hcc-gold-light: #faeee9;
    /* Highlight subtle tint */
    --hcc-gold-subtle: #f5dfd7;
    /* Badge background tint */
    --hcc-blue: #718991;
    /* Links and icons */
    --hcc-blue-light: #E8EFF0;
    /* Alternate tint */
    --hcc-slate: #263840;
    /* Dark slate body */
    --hcc-text: #263840;
    /* Body text */
    --hcc-text-muted: #718991;
    /* Secondary text / icons */
    --hcc-bg-light: #E8EFF0;
    /* Alternate section background */
    --hcc-white: #ffffff;
    --hcc-border: #dbe4e6;
    /* Soft border */
    --hcc-border-focus: #C58F7B;
    /* Focus border */
    --hcc-success: #16a34a;
    --hcc-error: #dc2626;
    --hcc-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --hcc-font-serif: "Georgia", "Times New Roman", serif;
    --hcc-shadow-sm: 0 1px 2px rgba(38, 56, 64, 0.05);
    --hcc-shadow: 0 4px 6px -1px rgba(38, 56, 64, 0.08), 0 2px 4px -2px rgba(38, 56, 64, 0.05);
    --hcc-shadow-md: 0 6px 12px -2px rgba(38, 56, 64, 0.09), 0 3px 6px -3px rgba(38, 56, 64, 0.06);
    --hcc-shadow-lg: 0 10px 15px -3px rgba(38, 56, 64, 0.1), 0 4px 6px -4px rgba(38, 56, 64, 0.05);
    --hcc-shadow-xl: 0 20px 25px -5px rgba(38, 56, 64, 0.12), 0 8px 10px -6px rgba(38, 56, 64, 0.04);
    --hcc-radius: 8px;
    --hcc-radius-md: 10px;
    --hcc-radius-lg: 14px;
    --hcc-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--hcc-font-sans);
    color: var(--hcc-body-text);
    background-color: var(--hcc-bg-main);
    line-height: 1.68;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--hcc-links-icons);
    text-decoration: none;
    transition: var(--hcc-transition);
}

a:hover {
    color: var(--hcc-highlight);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--hcc-highlight);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--hcc-font-serif);
    color: var(--hcc-headings);
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

ul,
ol {
    margin-bottom: 1rem;
    padding-left: 1.25rem;
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -999px;
    left: 1rem;
    background: var(--hcc-navy);
    color: #fff;
    padding: 0.85rem 1.4rem;
    font-weight: 700;
    z-index: 99999;
    border-radius: var(--hcc-radius);
    border: 2px solid var(--hcc-gold);
    box-shadow: var(--hcc-shadow-lg);
    text-decoration: none;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 1rem;
}

/* Layout Containers & Sections */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Reading Measure & Content Constraints */
.text-measure {
    max-width: 72ch;
}

.reading-container {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Standardized Responsive Semantic Grids (replaces fragile inline overrides) */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.grid-4-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-alt {
    background-color: var(--hcc-bg-alt);
}

.section-navy {
    background-color: var(--hcc-navy);
    color: #fff;
}

.section-navy h2,
.section-navy h3,
.section-navy p {
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.3px;
}

.title-ornament {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--hcc-gold);
    margin: 0.75rem auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    max-width: 740px;
    margin: 0 auto 3rem;
    color: var(--hcc-text-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.section-navy .section-subtitle {
    color: #cbd5e1;
}

/* 2. Top Announcement & Contact Bar */
.top-bar {
    background-color: var(--hcc-navy-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.top-bar-contact a,
.top-bar-contact span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #cbd5e1;
    transition: var(--hcc-transition);
}

.top-bar-contact a:hover {
    color: var(--hcc-gold);
}

.top-bar-badge {
    background: rgba(197, 143, 123, 0.22);
    color: #fce7df;
    border: 1px solid rgba(197, 143, 123, 0.5);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

/* 3. Header & Navigation */
.site-header {
    background-color: var(--hcc-bg-nav);
    box-shadow: var(--hcc-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--hcc-border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.brand-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    flex-shrink: 0;
}

.mobile-drawer-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text h1,
.brand-text .brand-title {
    font-family: var(--hcc-font-serif);
    font-size: 1.45rem;
    margin: 0;
    color: var(--hcc-headings);
    line-height: 1.15;
    letter-spacing: -0.2px;
    font-weight: 700;
    display: block;
}

.brand-tagline {
    display: block;
    font-size: 0.75rem;
    color: var(--hcc-text-muted);
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-top: 2px;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
}

.nav-item a {
    display: block;
    padding: 0.6rem 0.85rem;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--hcc-text);
    border-radius: var(--hcc-radius);
    transition: var(--hcc-transition);
}

.nav-item a:hover {
    color: var(--hcc-navy);
    background-color: var(--hcc-bg-alt);
}

.nav-item.active a {
    color: var(--hcc-navy);
    background-color: var(--hcc-gold-light);
    font-weight: 700;
    border-bottom: 2px solid var(--hcc-gold);
}

/* Header Primary CTA Button */
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--hcc-gold);
    color: #fff !important;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: var(--hcc-radius);
    box-shadow: var(--hcc-shadow-sm);
    transition: var(--hcc-transition);
    white-space: nowrap;
}

.header-cta:hover {
    background-color: var(--hcc-gold-hover);
    transform: translateY(-1px);
    box-shadow: var(--hcc-shadow);
}

/* Hamburger Toggle Button */
.menu-toggle,
.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--hcc-border);
    border-radius: var(--hcc-radius);
    padding: 0.6rem;
    cursor: pointer;
    color: var(--hcc-navy);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    transition: var(--hcc-transition);
}

.menu-toggle:hover,
.mobile-toggle:hover {
    background: var(--hcc-bg-alt);
    border-color: var(--hcc-navy);
}

.menu-toggle svg,
.mobile-toggle svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Mobile Drawer & Backdrop */
.drawer-backdrop,
.mobile-drawer-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 34, 64, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.drawer-backdrop.active,
.mobile-drawer-backdrop.active {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -340px;
    width: min(320px, 86vw);
    max-width: 100vw;
    height: 100vh;
    background: var(--hcc-white);
    z-index: 1002;
    box-shadow: var(--hcc-shadow-xl);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-drawer.open,
.mobile-drawer.active {
    right: 0;
}

.mobile-drawer-header,
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--hcc-border);
    margin-bottom: 1.25rem;
}

.drawer-close {
    background: var(--hcc-bg-alt);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    color: var(--hcc-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hcc-transition);
}

.drawer-close:hover {
    background: #e2e8f0;
    color: var(--hcc-navy);
}

.mobile-menu,
.drawer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.mobile-menu li a,
.drawer-menu li a {
    display: block;
    padding: 0.85rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--hcc-text);
    border-bottom: 1px solid var(--hcc-border);
    transition: var(--hcc-transition);
}

.mobile-menu li a:hover,
.drawer-menu li a:hover {
    color: var(--hcc-navy);
    padding-left: 0.85rem;
    background: var(--hcc-bg-light);
}

.mobile-menu li.active a,
.drawer-menu li.active a {
    color: var(--hcc-gold);
    font-weight: 700;
    border-left: 3px solid var(--hcc-gold);
    padding-left: 0.65rem;
}

/* 4. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem 1.65rem;
    min-height: 44px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--hcc-radius);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--hcc-transition);
    text-decoration: none;
    line-height: 1.2;
}

.btn-primary {
    background-color: var(--hcc-btn-primary);
    color: var(--hcc-btn-text) !important;
    border-color: var(--hcc-btn-primary);
}

.btn-primary:hover {
    background-color: var(--hcc-navy-dark);
    color: var(--hcc-btn-text) !important;
    border-color: var(--hcc-navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--hcc-shadow-md);
}

.btn-secondary {
    background-color: var(--hcc-btn-secondary);
    color: var(--hcc-body-text) !important;
    border-color: var(--hcc-btn-secondary);
}

.btn-secondary:hover {
    background-color: #9cb2b9;
    color: #1c2b32 !important;
    border-color: #9cb2b9;
    transform: translateY(-2px);
    box-shadow: var(--hcc-shadow-md);
}

.btn-highlight {
    background-color: var(--hcc-highlight);
    color: #fff !important;
    border-color: var(--hcc-highlight);
}

.btn-highlight:hover {
    background-color: var(--hcc-gold-hover);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-navy {
    background-color: var(--hcc-navy);
    color: #fff !important;
}

.btn-navy:hover {
    background-color: var(--hcc-navy-light);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: var(--hcc-shadow-md);
}

.btn-outline-navy {
    background-color: transparent;
    color: var(--hcc-navy) !important;
    border-color: var(--hcc-navy);
}

.btn-outline-navy:hover {
    background-color: var(--hcc-navy);
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-block {
    width: 100%;
}

/* 5. Homepage Hero Section & Slider Revolution */
.hero-slider-revolution {
    position: relative;
    width: 100%;
    min-height: 680px;
    background-color: var(--hcc-navy-dark);
    color: #fff;
    overflow: hidden;
    user-select: none;
}

.rev-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 25;
}

.rev-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--hcc-gold), #fef08a);
    box-shadow: 0 0 8px rgba(197, 143, 123, 0.8);
    transition: width 0.08s linear;
}

.rev-slides-container {
    position: relative;
    width: 100%;
    min-height: 680px;
    display: grid;
}

.rev-slide {
    grid-area: 1 / 1;
    width: 100%;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s ease;
    z-index: 1;
    padding: 7rem 0 6.5rem;
    text-align: center;
}

.rev-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.rev-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: -2;
    transform: scale(1.08);
    transition: transform 7.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.rev-slide.active .rev-slide-bg {
    transform: scale(1);
}

.rev-content-container {
    position: relative;
    z-index: 3;
    max-width: 960px;
    margin: 0 auto;
}

.rev-slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Layer Animations for Active Slide */
.rev-anim-layer {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.rev-slide.active .rev-anim-layer[data-delay="100"] {
    transition-delay: 0.15s;
    opacity: 1;
    transform: translateY(0);
}

.rev-slide.active .rev-anim-layer[data-delay="200"] {
    transition-delay: 0.3s;
    opacity: 1;
    transform: translateY(0);
}

.rev-slide.active .rev-anim-layer[data-delay="300"] {
    transition-delay: 0.45s;
    opacity: 1;
    transform: translateY(0);
}

.rev-slide.active .rev-anim-layer[data-delay="400"] {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.rev-slide.active .rev-anim-layer[data-delay="500"] {
    transition-delay: 0.75s;
    opacity: 1;
    transform: translateY(0);
}

/* Navigation Side Arrows */
.rev-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(15, 34, 64, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(197, 143, 123, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.rev-nav-btn:hover {
    background: var(--hcc-gold);
    color: var(--hcc-navy-dark);
    border-color: var(--hcc-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(197, 143, 123, 0.45);
}

.rev-nav-btn.prev {
    left: 28px;
}

.rev-nav-btn.next {
    right: 28px;
}

.rev-nav-btn:focus-visible {
    outline: 2px solid var(--hcc-gold);
    outline-offset: 3px;
}

/* Bottom Controls Bar */
.rev-controls-bar {
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 100%;
    z-index: 20;
    pointer-events: none;
}

.rev-controls-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
}

.rev-pagination {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    background: rgba(15, 34, 64, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.rev-bullet {
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.rev-bullet:hover {
    transform: scale(1.15);
}

.rev-bullet:focus-visible {
    outline: 2px solid var(--hcc-gold);
    outline-offset: 2px;
    border-radius: 4px;
}

.rev-bullet-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.rev-bullet.active .rev-bullet-dot {
    width: 32px;
    border-radius: 6px;
    background: var(--hcc-gold);
    box-shadow: 0 0 10px rgba(197, 143, 123, 0.7);
}

.rev-meta-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 34, 64, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.rev-slide-counter {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--hcc-gold);
}

.rev-toggle-autoplay {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.rev-toggle-autoplay:hover {
    color: var(--hcc-gold);
}

.hero-section {
    position: relative;
    background-color: var(--hcc-navy-dark);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 7.5rem 0 6.5rem;
    text-align: center;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    max-width: 960px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge-wrapper {
    margin-bottom: 1.5rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 34, 64, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(197, 143, 123, 0.55);
    color: #fef08a;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.hero-badge svg {
    color: var(--hcc-gold);
    flex-shrink: 0;
}

.hero-title {
    font-size: clamp(2.3rem, 4.8vw, 3.75rem);
    color: #ffffff;
    margin-bottom: 1.5rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.18;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.5px;
}

.hero-highlight {
    color: var(--hcc-gold);
    position: relative;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.18rem;
    color: #e2e8f0;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-actions .btn {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #ffffff !important;
}

.hero-actions .btn-secondary:hover {
    background: #ffffff;
    color: var(--hcc-navy) !important;
    border-color: #ffffff;
}

.hero-trust-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    width: 100%;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-trust-item svg {
    color: var(--hcc-gold);
    flex-shrink: 0;
}

/* 6. Unified Inner Page Header Component */
.page-header {
    background: linear-gradient(135deg, var(--hcc-bg-light) 0%, #edf2f7 100%);
    border-bottom: 1px solid var(--hcc-border);
    padding: 3.5rem 0 2.5rem;
}

.page-header-inner {
    max-width: 900px;
}

.page-header-title {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-header-subtitle {
    font-size: 1.18rem;
    color: var(--hcc-text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Accessible Breadcrumbs */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: var(--hcc-text-muted);
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--hcc-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.breadcrumb a:hover {
    color: var(--hcc-navy);
}

.breadcrumb-separator {
    color: #94a3b8;
    user-select: none;
}

.breadcrumb-current {
    color: var(--hcc-navy);
    font-weight: 600;
}

/* 7. Responsive Split Layout Component (replaces hardcoded inline grids) */
.split-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-layout.equal {
    grid-template-columns: 1fr 1fr;
}

.split-layout.reversed {
    grid-template-columns: 1fr 1.2fr;
}

.split-content {
    display: flex;
    flex-direction: column;
}

.split-media {
    position: relative;
}

.split-media img {
    border-radius: var(--hcc-radius-lg);
    box-shadow: var(--hcc-shadow-md);
    width: 100%;
    object-fit: cover;
}

.image-badge-overlay {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(15, 34, 64, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    border: 1px solid rgba(197, 143, 123, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    z-index: 2;
}

.image-badge-overlay svg {
    color: var(--hcc-gold);
    flex-shrink: 0;
}

/* Academic Feature Cards */
.academic-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.academic-card {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    overflow: hidden;
    box-shadow: var(--hcc-shadow);
    border: 1px solid var(--hcc-border);
    display: flex;
    flex-direction: column;
    transition: var(--hcc-transition);
}

.academic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hcc-shadow-xl);
    border-color: var(--hcc-gold);
}

.academic-thumb {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.academic-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.academic-card:hover .academic-thumb img {
    transform: scale(1.06);
}

.academic-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.academic-body h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.academic-body p {
    font-size: 0.92rem;
    color: var(--hcc-text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Homepage Gallery Grid Preview */
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 8. Quick Stats Strip */
.stats-strip {
    background: #fff;
    box-shadow: var(--hcc-shadow-lg);
    border-radius: var(--hcc-radius-lg);
    padding: 2.25rem 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    border: 1px solid var(--hcc-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item {
    border-right: 1px solid var(--hcc-border);
    padding: 0 1rem;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--hcc-font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--hcc-navy);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--hcc-text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 9. Welcome Section */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    border-radius: var(--hcc-radius-lg);
    box-shadow: var(--hcc-shadow-xl);
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 20%;
}

.welcome-badge {
    display: inline-block;
    color: var(--hcc-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.welcome-content h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.welcome-text {
    font-size: 1.05rem;
    color: #334155;
    border-left: 4px solid var(--hcc-gold);
    padding-left: 1.25rem;
    margin-bottom: 1.75rem;
}

.welcome-signature {
    margin-top: 1.5rem;
}

.welcome-signature strong {
    display: block;
    font-size: 1.15rem;
    color: var(--hcc-navy);
}

.welcome-signature span {
    color: var(--hcc-text-muted);
    font-size: 0.9rem;
}

/* 10. Educational Foundation Pillars */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.pillar-card {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--hcc-shadow);
    border: 1px solid var(--hcc-border);
    transition: var(--hcc-transition);
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hcc-shadow-xl);
    border-color: var(--hcc-gold);
}

.pillar-icon {
    width: 52px;
    height: 52px;
    background: rgba(113, 137, 145, 0.12);
    color: var(--hcc-links-icons);
    border-radius: var(--hcc-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.pillar-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.92rem;
    color: var(--hcc-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* 11. Seven Cardinal Virtues */
.virtues-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.virtue-card {
    background: #fff;
    border-radius: var(--hcc-radius-md);
    padding: 1.75rem;
    border: 1px solid var(--hcc-border);
    box-shadow: var(--hcc-shadow-sm);
    display: flex;
    gap: 1.25rem;
    transition: var(--hcc-transition);
}

.virtue-card:hover {
    box-shadow: var(--hcc-shadow-md);
    border-color: var(--hcc-gold);
    transform: translateY(-2px);
}

.virtue-num {
    font-family: var(--hcc-font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--hcc-gold);
    line-height: 1;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--hcc-gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.virtue-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.virtue-card p {
    font-size: 0.9rem;
    color: var(--hcc-text-muted);
    margin: 0;
}

/* 12. Houses System */
.houses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.house-card {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    overflow: hidden;
    box-shadow: var(--hcc-shadow);
    border: 1px solid var(--hcc-border);
    transition: var(--hcc-transition);
    display: flex;
    flex-direction: column;
}

.house-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hcc-shadow-xl);
}

.house-img,
.house-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.house-img img,
.house-image img,
.house-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.house-card:hover img {
    transform: scale(1.05);
}

.house-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.house-tag {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.house-blue {
    background: #e0f2fe;
    color: #0369a1;
    border-top: 4px solid #0284c7;
}

.house-yellow {
    background: #fef9c3;
    color: #854d0e;
    border-top: 4px solid #d97706;
}

.house-white {
    background: #f1f5f9;
    color: #334155;
    border-top: 4px solid #64748b;
}

.house-green {
    background: #dcfce7;
    color: #166534;
    border-top: 4px solid #16a34a;
}

.house-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.house-body p {
    font-size: 0.88rem;
    color: var(--hcc-text-muted);
    margin: 0 0 1rem;
    line-height: 1.55;
    flex-grow: 1;
}

/* 13. Academic Departments & Curriculum (Standardized Component) */
.dept-grid,
.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.dept-card,
.department-card {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    border: 1px solid var(--hcc-border);
    box-shadow: var(--hcc-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--hcc-transition);
}

.dept-card:hover,
.department-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hcc-shadow-lg);
    border-color: var(--hcc-gold);
}

.dept-card-header {
    background: var(--hcc-navy);
    color: #fff;
    padding: 1.25rem 1.5rem;
}

.dept-card-header h3 {
    color: #fff;
    font-size: 1.25rem;
    margin: 0;
}

.dept-card-body,
.department-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dept-subjects,
.subject-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.dept-tag,
.subject-badge {
    background: var(--hcc-bg-alt);
    color: var(--hcc-navy);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--hcc-border);
    display: inline-flex;
    align-items: center;
}

.curriculum-box {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    padding: 2.25rem;
    border: 1px solid var(--hcc-border);
    box-shadow: var(--hcc-shadow);
    margin-bottom: 2rem;
}

.subject-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.subject-pill {
    background: #fff;
    border: 1px solid var(--hcc-border);
    padding: 0.5rem 1rem;
    border-radius: var(--hcc-radius);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--hcc-navy);
    box-shadow: var(--hcc-shadow-sm);
}

/* Responsive Table Container */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0 2rem;
    border-radius: var(--hcc-radius);
    border: 1px solid var(--hcc-border);
}

.curriculum-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 600px;
}

.curriculum-table th,
.curriculum-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--hcc-border);
}

.curriculum-table th {
    background: var(--hcc-navy);
    color: #fff;
    font-family: var(--hcc-font-serif);
    font-weight: 600;
    font-size: 0.95rem;
}

.curriculum-table tr:hover {
    background: var(--hcc-bg-light);
}

/* 14. Admissions, Steps & Forms (Standardized Component) */
.admissions-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-item,
.admissions-step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.step-num,
.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--hcc-navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-content h3,
.step-body h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.step-content p,
.step-body p {
    font-size: 0.92rem;
    color: var(--hcc-text-muted);
    margin: 0;
}

/* Standard Form Components */
.form-card {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--hcc-shadow-lg);
    border: 1px solid var(--hcc-border);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
    color: var(--hcc-text);
}

.form-control,
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    font-family: var(--hcc-font-sans);
    border: 1px solid var(--hcc-border);
    border-radius: var(--hcc-radius);
    background-color: #fff;
    color: var(--hcc-text);
    transition: var(--hcc-transition);
}

.form-control:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--hcc-gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(197, 143, 123, 0.25);
}

.form-textarea,
textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-status,
.form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--hcc-radius);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    display: none;
}

.form-status.success,
.form-alert.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-status.error,
.form-alert.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* 15. Gallery & Lightbox Modal (Standardized Component) */
.gallery-filter,
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 2.5rem;
}

.gallery-btn,
.filter-btn {
    background: var(--hcc-bg-alt);
    border: 1px solid var(--hcc-border);
    padding: 0.55rem 1.35rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hcc-text);
    cursor: pointer;
    transition: var(--hcc-transition);
}

.gallery-btn:hover,
.gallery-btn.active,
.filter-btn:hover,
.filter-btn.active {
    background: var(--hcc-navy);
    color: #fff;
    border-color: var(--hcc-navy);
    transform: translateY(-1px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--hcc-radius-md);
    overflow: hidden;
    box-shadow: var(--hcc-shadow);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-overlay,
.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(15, 34, 64, 0.92) 0%, rgba(15, 34, 64, 0.4) 60%, transparent 100%);
    color: #fff;
    padding: 2rem 1.25rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    font-size: 0.92rem;
    font-weight: 600;
}

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

/* Accessible Lightbox Modal */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-lightbox.open,
.gallery-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 920px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-height: 80vh;
    max-width: 100%;
    margin: 0 auto;
    border-radius: var(--hcc-radius);
    box-shadow: var(--hcc-shadow-xl);
}

.lightbox-caption {
    color: #cbd5e1;
    margin-top: 1rem;
    font-size: 1.05rem;
    font-weight: 500;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--hcc-transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

/* 16. Contact & Direct Reach Components */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
}

.contact-card {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    padding: 2rem;
    box-shadow: var(--hcc-shadow-sm);
    border: 1px solid var(--hcc-border);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon-box {
    background: var(--hcc-gold-subtle);
    color: var(--hcc-gold);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-card {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--hcc-radius-md);
    padding: 1.5rem;
    text-align: center;
}

/* 17. News & Article Typography */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: #fff;
    border-radius: var(--hcc-radius-lg);
    overflow: hidden;
    box-shadow: var(--hcc-shadow);
    border: 1px solid var(--hcc-border);
    display: flex;
    flex-direction: column;
    transition: var(--hcc-transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--hcc-shadow-xl);
}

.news-thumb {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.news-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.82rem;
    color: var(--hcc-text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.news-body h3 a {
    color: var(--hcc-navy);
}

.news-body h3 a:hover {
    color: var(--hcc-gold);
}

.news-excerpt {
    font-size: 0.92rem;
    color: var(--hcc-text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.article-prose {
    font-size: 1.1rem;
    line-height: 1.82;
    color: var(--hcc-text);
}

.article-prose p {
    margin-bottom: 1.4rem;
}

.article-prose h2 {
    font-size: 1.75rem;
    margin: 2.25rem 0 1rem;
    color: var(--hcc-navy);
}

.article-prose h3 {
    font-size: 1.35rem;
    margin: 1.75rem 0 0.75rem;
    color: var(--hcc-navy);
}

.article-callout {
    background: var(--hcc-gold-subtle);
    border-left: 4px solid var(--hcc-gold);
    padding: 1.5rem 1.75rem;
    border-radius: var(--hcc-radius);
    margin: 2rem 0;
}

/* 18. Site Footer */
.site-footer {
    background-color: var(--hcc-navy-dark);
    color: #e2e8f0;
    padding-top: 5rem;
    padding-bottom: 2rem;
    border-top: 4px solid var(--hcc-gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-brand p {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--hcc-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.65rem;
}

.footer-links a {
    color: #cbd5e1;
    font-size: 0.92rem;
    transition: var(--hcc-transition);
}

.footer-links a:hover {
    color: var(--hcc-gold);
    padding-left: 4px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.92rem;
    color: #cbd5e1;
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--hcc-gold);
}

.footer-contact-item a {
    color: #cbd5e1;
}

.footer-contact-item a:hover {
    color: var(--hcc-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.75rem;
    padding-bottom: 0.5rem;
    text-align: center;
    font-size: 0.88rem;
    color: #94a3b8;
}

.footer-bottom p {
    margin-bottom: 0.45rem;
    line-height: 1.6;
}

.footer-credit {
    display: inline-block;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.25px;
    text-decoration: none;
    opacity: 0.85;
    transition: color 0.35s ease, opacity 0.35s ease, text-decoration-color 0.35s ease, transform 0.35s ease;
}

.footer-credit:hover {
    color: var(--hcc-highlight, #C58F7B);
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-credit:focus {
    color: var(--hcc-highlight, #C58F7B);
    opacity: 1;
    outline: none;
}

.footer-credit:focus-visible {
    outline: 2px solid var(--hcc-highlight, #C58F7B);
    outline-offset: 4px;
    border-radius: 3px;
    color: var(--hcc-highlight, #C58F7B);
    opacity: 1;
}

/* 19. Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    background: var(--hcc-navy);
    color: #fff;
    border: 2px solid var(--hcc-gold);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--hcc-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--hcc-transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--hcc-gold);
    color: #fff;
    transform: translateY(-2px);
}

/* ==========================================================================
   20. Comprehensive Multi-Tier Responsive Breakpoints (Mobile-First Architecture)
   - Tier 6: Large Desktop Screens (1367px and above)
   - Tier 5: Small Laptops (1025px–1366px)
   - Tier 4: Tablets (601px–1024px)
   - Tier 3: Large Mobile Phones & Portrait Tablets (481px–768px)
   - Tier 2: Standard Mobile Phones (376px–480px)
   - Tier 1: Small Mobile Phones (320px–375px)
   ========================================================================== */

/* Tier 6: Large Desktop Screens (1367px and above) */
@media (min-width: 1367px) {
    .container {
        max-width: 1240px;
    }

    .hero-title {
        font-size: 3.25rem;
    }

    .rev-content-container {
        max-width: 1020px;
    }
}

/* Tier 5: Small Laptops (1025px–1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .container {
        max-width: 1160px;
    }

    .nav-menu {
        gap: 0.2rem;
    }

    .nav-item a {
        padding: 0.5rem 0.65rem;
        font-size: 0.88rem;
    }

    .header-cta {
        padding: 0.5rem 0.95rem;
        font-size: 0.84rem;
    }

    .brand-logo {
        width: 66px;
        height: 66px;
    }

    .brand-text h1,
    .brand-text .brand-title {
        font-size: 1.25rem;
    }
}

/* Tier 4: Tablets (601px–1024px) */
@media (max-width: 1024px) {

    .primary-nav,
    .header-cta {
        display: none !important;
    }

    .menu-toggle,
    .mobile-toggle {
        display: flex !important;
    }

    .hero-slider-revolution,
    .rev-slides-container,
    .rev-slide {
        min-height: 580px;
    }

    .rev-nav-btn.prev {
        left: 16px;
    }

    .rev-nav-btn.next {
        right: 16px;
    }

    .pillars-grid,
    .houses-grid,
    .academic-feature-grid,
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .virtues-grid,
    .dept-grid,
    .departments-grid,
    .news-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .grid-2-col,
    .grid-3-col,
    .grid-4-col {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.25rem;
    }

    .hero-section {
        padding: 6rem 0 5rem;
        min-height: 520px;
    }

    .hero-title {
        font-size: 2.65rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .split-layout,
    .split-layout.reversed,
    .welcome-grid,
    .admissions-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .welcome-image img {
        height: 360px;
        object-fit: cover;
    }

    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Tier 3: Large Mobile Phones & Portrait Tablets (481px–768px) */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .hero-slider-revolution,
    .rev-slides-container,
    .rev-slide {
        min-height: 540px;
        padding: 4.75rem 0 4rem;
    }

    .rev-nav-btn {
        display: none;
    }

    .rev-controls-inner {
        justify-content: center;
    }

    .rev-meta-controls {
        display: none;
    }

    .page-header {
        padding: 2.5rem 0 2rem;
    }

    .page-header-title {
        font-size: 2.15rem;
        line-height: 1.25;
    }

    .page-header-subtitle {
        font-size: 1.02rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .welcome-image img {
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .stat-item {
        border-right: none;
    }

    .stats-strip {
        margin-top: -2rem;
        padding: 1.5rem 1rem;
    }

    .hero-section {
        padding: 4.75rem 0 4rem;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.78rem;
        padding: 0.38rem 0.85rem;
        gap: 0.35rem;
    }

    .hero-title {
        font-size: 2.15rem;
        margin-bottom: 1.15rem;
        line-height: 1.22;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .hero-highlight {
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1.02rem;
        margin-bottom: 1.75rem;
        line-height: 1.58;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.85rem;
        margin-bottom: 1.75rem;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 46px;
    }

    .hero-trust-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem 0.5rem;
        text-align: left;
    }

    .hero-trust-item {
        font-size: 0.82rem;
    }

    .gallery-filter {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        padding-bottom: 0.75rem;
        margin-bottom: 1.75rem;
        scrollbar-width: thin;
    }

    .gallery-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.85rem;
        padding: 0.45rem 1rem;
    }

    .pillars-grid,
    .houses-grid,
    .virtues-grid,
    .dept-grid,
    .departments-grid,
    .gallery-grid,
    .news-grid,
    .academic-feature-grid,
    .home-gallery-grid,
    .grid-2-col,
    .grid-3-col,
    .grid-4-col {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-control,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
        /* Prevents iOS Safari auto-zoom on input focus */
    }

    .form-card {
        padding: 1.5rem 1.25rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-credit {
        font-size: 0.78rem;
        line-height: 1.5;
        padding: 0 0.5rem;
        word-break: break-word;
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

/* Tier 2: Standard Mobile Phones (376px–480px) */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header {
        padding: 0.65rem 0;
    }

    .brand-logo {
        width: 56px;
        height: 56px;
    }

    .brand-text h1,
    .brand-text .brand-title {
        font-size: 1.15rem;
        line-height: 1.2;
    }

    .brand-tagline {
        display: none;
    }

    .hero-slider-revolution,
    .rev-slides-container,
    .rev-slide {
        min-height: 500px;
        padding: 4.25rem 0 3.5rem;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.22;
        margin-bottom: 0.9rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.52;
        margin-bottom: 1.5rem;
    }

    .hero-trust-bar {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .rev-pagination {
        padding: 6px 14px;
        gap: 8px;
    }

    .rev-bullet-dot {
        width: 8px;
        height: 8px;
    }

    .rev-bullet.active .rev-bullet-dot {
        width: 24px;
    }

    .stats-strip {
        margin-top: -1.5rem;
        padding: 1.25rem 0.85rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stat-number {
        font-size: 2.25rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .page-header {
        padding: 2.15rem 0 1.65rem;
    }

    .page-header-title {
        font-size: 1.82rem;
    }

    .page-header-subtitle {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.75rem;
    }

    .welcome-image img {
        height: 250px;
    }

    .gallery-lightbox {
        padding: 1rem 0.5rem;
    }

    .lightbox-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }

    .card,
    .pillar-card,
    .house-card,
    .virtue-card,
    .news-card,
    .dept-card,
    .contact-card {
        padding: 1.25rem 1rem;
    }

    .footer-col h3 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}

/* Tier 1: Small Mobile Phones (320px–375px) */
@media (max-width: 375px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .site-header {
        padding: 0.5rem 0;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .brand-text h1,
    .brand-text .brand-title {
        font-size: 1.02rem;
    }

    .menu-toggle,
    .mobile-toggle {
        width: 42px;
        height: 42px;
        padding: 7px;
    }

    .hero-slider-revolution,
    .rev-slides-container,
    .rev-slide {
        min-height: 470px;
        padding: 3.75rem 0 3rem;
    }

    .hero-title {
        font-size: 1.62rem;
        line-height: 1.24;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-actions .btn,
    .btn {
        padding: 0.65rem 1.15rem;
        font-size: 0.88rem;
    }

    .mobile-drawer {
        width: min(290px, 88vw);
        padding: 1.15rem 1rem;
    }

    .mobile-menu li a,
    .drawer-menu li a {
        padding: 0.75rem 0.35rem;
        font-size: 0.95rem;
    }

    .page-header {
        padding: 1.85rem 0 1.35rem;
    }

    .page-header-title {
        font-size: 1.62rem;
    }

    .page-header-subtitle {
        font-size: 0.88rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.88rem;
        margin-bottom: 1.5rem;
    }

    .breadcrumbs {
        font-size: 0.78rem;
    }

    .card,
    .pillar-card,
    .house-card,
    .virtue-card,
    .news-card,
    .dept-card,
    .contact-card {
        padding: 1.15rem 0.85rem;
    }

    .admissions-step {
        padding: 1rem 0.85rem;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .form-card {
        padding: 1.15rem 0.85rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .footer-credit {
        font-size: 0.74rem;
    }
}