/* ============================================
   St. Ann Catholic School - Styles
   Elegant, institutional design with warmth
   ============================================ */

:root {
    --primary-color: #1a2744;
    --primary-dark: #0f1a2e;
    --primary-light: #2a3d5e;
    --secondary-color: #7b2d3a;
    --secondary-light: #9a3a4a;
    --secondary-dark: #5e1f2b;
    --accent-color: #c9a84c;
    --accent-light: #ddc06e;
    --accent-dark: #a88a38;
    --text-primary: #2c2420;
    --text-secondary: #5a524d;
    --text-light: #8a827c;
    --background: #faf8f0;
    --background-light: #f5f2e8;
    --background-white: #ffffff;
    --background-dark: #1a2744;
    --border-color: #e2ddd2;
    --border-light: #ece8df;
    --cream: #faf8f0;
    --shadow-sm: 0 1px 3px 0 rgba(26, 39, 68, 0.06), 0 1px 2px -1px rgba(26, 39, 68, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(26, 39, 68, 0.08), 0 2px 6px -2px rgba(26, 39, 68, 0.05);
    --shadow-lg: 0 12px 28px -6px rgba(26, 39, 68, 0.12), 0 4px 12px -4px rgba(26, 39, 68, 0.06);
    --shadow-xl: 0 24px 48px -12px rgba(26, 39, 68, 0.15), 0 8px 16px -6px rgba(26, 39, 68, 0.08);
    --gradient-primary: linear-gradient(145deg, #1a2744 0%, #2a3d5e 100%);
    --gradient-hero: linear-gradient(145deg, rgba(26, 39, 68, 0.92) 0%, rgba(42, 61, 94, 0.88) 100%);
    --gradient-warm: linear-gradient(145deg, #7b2d3a 0%, #9a3a4a 100%);
    --gradient-gold: linear-gradient(145deg, #c9a84c 0%, #ddc06e 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', 'Georgia', serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
.hero-title,
.page-hero-title,
.section-header p,
.hero-subtitle,
.lead-text,
.pathway-card strong,
.school-life-panel strong,
.testimonial-card p {
    text-wrap: balance;
}

p,
li,
.announcement-card p,
.program-card p,
.highlight-card p,
.faith-feature p,
.footer-brand p {
    text-wrap: pretty;
}

a,
button,
.btn-primary,
.btn-secondary,
.btn-outline,
.btn-outline-white,
.btn-soft,
.parish-action,
.nav-link {
    overflow-wrap: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
    opacity: 0.6;
}

.navbar {
    padding: 0.75rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.nav-brand .logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -0.5rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.5rem);
    transition: all 0.3s ease;
    min-width: 220px;
    z-index: 1000;
    list-style: none;
    padding: 0.5rem 0;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    border-radius: 0.5rem 0.5rem 0 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.7rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
    background-color: var(--background-light);
    color: var(--secondary-color);
    border-left-color: var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.translate-widget {
    align-items: center;
    background: rgba(37, 52, 79, 0.06);
    border: 1px solid var(--border-color);
    border-radius: 0.28rem;
    display: flex;
    gap: 0.45rem;
    min-height: 2.9rem;
    padding: 0.35rem 0.6rem;
}

.translate-widget > i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.gtranslate_wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 3.4rem;
    overflow: hidden;
}

.gtranslate_wrapper select,
.gtranslate_wrapper .gt_selector {
    background: transparent;
    border: 0;
    color: var(--primary-color);
    cursor: pointer;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    max-width: 3.4rem;
    min-height: 2rem;
    outline: none;
    text-transform: uppercase;
    width: 3.4rem;
}

.gtranslate_wrapper #google_translate_element2,
.gtranslate_wrapper .skiptranslate,
.gtranslate_wrapper .goog-te-gadget {
    display: none !important;
    height: 0 !important;
    overflow: hidden !important;
    width: 0 !important;
}

.goog-te-banner-frame,
.skiptranslate iframe {
    display: none !important;
}

/* Counter Google Translate's body positioning that locks the page */
body {
    top: 0 !important;
    position: static !important;
}

html {
    overflow: auto !important;
}

/* Prevent GTranslate injected overlays from blocking pointer events */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-ftprv-e,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.skiptranslate > iframe {
    display: none !important;
    pointer-events: none !important;
}

.btn-secondary {
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.15rem;
    border-radius: 0.375rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.02em;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    gap: 0.3rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(123, 45, 58, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.1) 0%, transparent 50%),
        linear-gradient(160deg, #1a2744 0%, #2a3d5e 35%, #1a2744 70%, #0f1a2e 100%);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(201,168,76,0.06)' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 1;
}

.hero-text {
    max-width: 720px;
    text-align: center;
    margin: 0 auto;
    color: white;
}

.hero-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    margin-bottom: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero-title .highlight {
    background: linear-gradient(135deg, #ddc06e, #c9a84c, #ddc06e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.75rem;
    opacity: 0.88;
    line-height: 1.75;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--gradient-warm);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(123, 45, 58, 0.3);
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 58, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1.5px solid rgba(201, 168, 76, 0.5);
    padding: 0.9rem 2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.02em;
}

.btn-outline:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(201, 168, 76, 0.6);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.hero-scroll i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Highlights Section
   ============================================ */
.highlights {
    padding: 5rem 0;
    background: var(--background);
    position: relative;
}

.highlights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.highlight-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.highlight-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.highlight-card:hover::after {
    transform: scaleX(1);
}

.highlight-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
    font-size: 1.35rem;
}

.highlight-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ============================================
   Announcements Section
   ============================================ */
.announcements {
    padding: 5rem 0;
    background: var(--background-white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.announcement-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.announcement-card.featured {
    border: 1.5px solid var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.announcement-card.featured .announcement-content {
    padding-top: 4.35rem;
}

.announcement-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.85rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.15;
    max-width: calc(100% - 2rem);
    text-align: center;
    white-space: normal;
    z-index: 1;
}

.announcement-content {
    padding: 2rem;
}

.announcement-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}

.announcement-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-size: 0.95rem;
}

.announcement-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.announcement-meta span,
.announcement-meta a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    text-decoration: none;
}

.announcement-meta i {
    color: var(--accent-color);
}

/* ============================================
   Programs Overview Section
   ============================================ */
.programs-overview {
    padding: 5rem 0;
    background: var(--background);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.program-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.35s ease;
    border: 1px solid var(--border-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.program-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
    font-size: 1.35rem;
}

.program-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
}

.program-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.65;
    font-size: 0.95rem;
}

.program-card ul {
    list-style: none;
    text-align: left;
    padding: 0;
}

.program-card li {
    color: var(--text-secondary);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.program-card li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
    font-size: 0.75rem;
}

.curriculum-standards-card {
    background: #fffdf7;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.75fr);
    gap: 2rem;
    margin-top: 2rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.curriculum-standards-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

.curriculum-standards-copy .section-kicker {
    text-align: left;
}

.curriculum-standards-copy h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    color: var(--primary-color);
    font-size: 1.6rem;
    margin: 0 0 0.65rem;
}

.curriculum-standards-copy p,
.curriculum-standards-panel li {
    color: var(--text-secondary);
    line-height: 1.65;
}

.curriculum-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.25rem 0 1.5rem;
}

.curriculum-pill-grid span {
    align-items: center;
    background: rgba(26,39,68,0.07);
    border: 1px solid rgba(26,39,68,0.14);
    border-radius: 999px;
    color: var(--primary-color);
    display: inline-flex;
    gap: 0.4rem;
    font-size: 0.86rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
}

.curriculum-pill-grid i {
    color: var(--accent-color);
}

.curriculum-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.curriculum-standards-panel {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 0.65rem;
    padding: 1.25rem;
}

.curriculum-standards-panel h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
}

.curriculum-standards-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.curriculum-standards-panel li {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.curriculum-standards-panel li::before {
    color: var(--accent-color);
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-size: 0.75rem;
    font-weight: 900;
    margin-top: 0.35rem;
}

/* ============================================
   Heritage Section
   ============================================ */
.heritage-section {
    padding: 5rem 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

.heritage-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(201,168,76,0.04)' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.heritage-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.heritage-content h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.heritage-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.heritage-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 2.25rem 1.75rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid rgba(201, 168, 76, 0.15);
    transition: all 0.35s ease;
}

.heritage-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(201, 168, 76, 0.3);
}

.heritage-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: white;
    font-size: 1.35rem;
}

.heritage-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
}

.heritage-card p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ============================================
   Faith Life Section
   ============================================ */
.faith-life {
    padding: 5rem 0;
    background: var(--background-white);
}

.faith-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.faith-content h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.faith-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.faith-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.25rem;
    text-align: left;
}

.faith-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.faith-feature i {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.faith-feature h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faith-feature p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    background: var(--gradient-warm);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='1' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.92;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    padding: 0.9rem 2rem;
    border-radius: 0.4rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(8px);
    font-family: 'Source Sans 3', sans-serif;
    letter-spacing: 0.02em;
}

.btn-outline-white:hover {
    background: white;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3.5rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-brand .logo i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--accent-color);
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

.social-links {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer .contact-info p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.footer .contact-info i {
    color: var(--accent-color);
    width: 1rem;
}

.sidebar-card .contact-info p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.sidebar-card .contact-info i {
    color: var(--secondary-color);
    width: 1rem;
}

.footer-connect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-qr {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin-left: auto;
    border-radius: 10px;
    background: #fff;
    padding: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.tootie-design-credit {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    color: inherit;
}

.tootie-design-credit a {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
}

.tootie-design-credit a:hover,
.tootie-design-credit a:focus-visible {
    text-decoration: underline;
}

.standalone-design-credit {
    padding: 1rem 1.25rem;
    text-align: center;
    color: rgba(255,255,255,0.75);
    background: var(--primary-color);
}

/* ============================================
   Mobile Styles - Main Layout
   ============================================ */
@media (max-width: 768px) {
    .curriculum-standards-card {
        grid-template-columns: 1fr;
        padding: 1.35rem;
    }

    .curriculum-standards-copy .section-kicker {
        text-align: center;
    }

    .curriculum-actions {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        padding: 1rem 0;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--background-light);
        margin-top: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

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

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .announcements-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .heritage-grid {
        grid-template-columns: 1fr;
    }

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

    .faith-feature {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-outline-white {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer .contact-info p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-connect {
        flex-direction: column;
        align-items: center;
    }

    .footer-qr {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

/* ============================================
   Scroll Animations
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .highlight-card,
    .announcement-card {
        animation: fadeInUp 0.6s ease-out forwards;
        opacity: 0;
        transform: translateY(20px);
    }

    .highlight-card:nth-child(1) { animation-delay: 0.1s; }
    .highlight-card:nth-child(2) { animation-delay: 0.2s; }
    .highlight-card:nth-child(3) { animation-delay: 0.3s; }
    .highlight-card:nth-child(4) { animation-delay: 0.4s; }

    .announcement-card:nth-child(1) { animation-delay: 0.1s; }
    .announcement-card:nth-child(2) { animation-delay: 0.2s; }
    .announcement-card:nth-child(3) { animation-delay: 0.3s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Focus Styles - Accessibility
   ============================================ */
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus,
.btn-outline-white:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* ============================================
   Page Hero for Sub Pages
   ============================================ */
.page-hero {
    padding: 8rem 0 4rem;
    position: relative;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(201,168,76,0.05)' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    background-size: 60px 60px;
}

.page-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.08;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-title {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.page-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    font-weight: 300;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.75;
}

.breadcrumb a {
    color: var(--accent-light);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb span {
    opacity: 0.5;
}

/* ============================================
   Content Layout (Sub Pages)
   ============================================ */
.mission-content {
    padding: 5rem 0;
    background: var(--background);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
}

.main-content {
    background: white;
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.mission-section,
.vision-section,
.values-section,
.commitment-section {
    margin-bottom: 3rem;
}

.mission-section:last-child,
.vision-section:last-child,
.values-section:last-child,
.commitment-section:last-child {
    margin-bottom: 0;
}

.section-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
}

.main-content h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.main-content p {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-card {
    background: var(--background);
    padding: 2rem 1.5rem;
    border-radius: 0.6rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.value-icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    margin: 0 auto 1rem;
}

.value-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.commitment-box {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 0.6rem;
    border-left: 4px solid var(--accent-color);
    margin-top: 2rem;
}

.commitment-box h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment-box p {
    margin-bottom: 1rem;
}

.commitment-box p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Sidebar
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-card {
    background: white;
    padding: 2rem;
    border-radius: 0.6rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.sidebar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.sidebar-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
}

.fact-list {
    list-style: none;
    padding: 0;
}

.fact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.fact-list li:last-child {
    border-bottom: none;
}

.fact-list i {
    color: var(--accent-color);
    width: 1.25rem;
    flex-shrink: 0;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--background);
    border-radius: 0.4rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.sidebar-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(3px);
    border-color: var(--primary-color);
}

.sidebar-link i {
    color: var(--accent-color);
    width: 1.25rem;
    transition: color 0.3s ease;
}

.sidebar-link:hover i {
    color: var(--accent-light);
}

/* ============================================
   Timeline Styles
   ============================================ */
.timeline-section h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-color), var(--secondary-color));
}

.timeline-item {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 2.5rem;
}

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

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-md);
    z-index: 1;
    border: 2px solid var(--accent-color);
}

.timeline-content {
    background: white;
    padding: 1.75rem;
    border-radius: 0.6rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.timeline-content h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
    font-size: 0.95rem;
}

/* ============================================
   Legacy Section
   ============================================ */
.legacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.legacy-card {
    background: var(--background);
    padding: 2rem 1.5rem;
    border-radius: 0.6rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.legacy-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.legacy-icon {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
}

.legacy-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.legacy-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Stats Grid
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--background);
    border-radius: 0.4rem;
    border: 1px solid var(--border-light);
}

.stat-number {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.15rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================
   Tradition Section
   ============================================ */
.tradition-box {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 0.6rem;
    border-left: 4px solid var(--accent-color);
    margin-top: 2rem;
}

.tradition-box h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tradition-box p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.tradition-box p:last-child {
    margin-bottom: 0;
}

/* History specific sections */
.history-intro {
    margin-bottom: 3rem;
}

.history-intro .lead-text {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.history-photo-feature {
    align-items: center;
    background: #fffdf7;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    margin-bottom: 3rem;
    padding: 1.5rem;
}

.history-feature-card,
.history-archive figure {
    margin: 0;
}

.history-feature-card img,
.history-archive img {
    display: block;
    width: 100%;
}

.history-feature-card img {
    aspect-ratio: 16 / 10;
    border-radius: 0.6rem;
    object-fit: cover;
}

.history-feature-card figcaption,
.history-archive figcaption {
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 0.65rem;
    text-align: center;
}

.history-feature-copy h3,
.history-archive h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    color: var(--primary-color);
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
}

.history-feature-copy p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.history-feature-copy p:last-child {
    margin-bottom: 0;
}

.history-archive {
    margin-bottom: 3rem;
}

.history-archive h3 {
    text-align: center;
}

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

.history-archive figure {
    background: #fffdf7;
    border: 1px solid var(--border-light);
    border-radius: 0.65rem;
    box-shadow: var(--shadow-sm);
    padding: 0.75rem;
}

.history-archive img {
    aspect-ratio: 4 / 3;
    border-radius: 0.45rem;
    object-fit: cover;
    object-position: center;
}

/* ============================================
   Principal Page Styles
   ============================================ */
.principal-profile {
    margin-bottom: 3rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--background);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.profile-image {
    flex-shrink: 0;
}

.profile-placeholder {
    width: 8rem;
    height: 8rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 3rem;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--accent-color);
}

.profile-photo {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--accent-color);
    display: block;
}

.profile-info h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.profile-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.profile-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.contact-details i {
    color: var(--accent-color);
    width: 1rem;
}

/* ============================================
   Achievements Grid
   ============================================ */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-card {
    background: var(--background);
    padding: 2rem 1.5rem;
    border-radius: 0.6rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.achievement-icon {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
}

.achievement-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.achievement-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Philosophy Section
   ============================================ */
.philosophy-box {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 0.6rem;
    border-left: 4px solid var(--secondary-color);
    margin-top: 2rem;
    position: relative;
}

.philosophy-box::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    color: var(--accent-color);
    opacity: 0.2;
    line-height: 1;
}

.philosophy-box h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.philosophy-box blockquote {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 1rem;
    font-style: italic;
}

.philosophy-box cite {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-style: normal;
}

/* Sidebar enhancements */
.sidebar-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

.leadership-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1rem;
}

.team-info p {
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.team-info strong {
    color: var(--primary-color);
}

/* ============================================
   Faculty Page Styles
   ============================================ */
.faculty-intro {
    margin-bottom: 3rem;
}

.excellence-grid,
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.excellence-card,
.department-card {
    background: var(--background);
    padding: 2rem 1.5rem;
    border-radius: 0.6rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.excellence-card:hover,
.department-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.excellence-icon,
.department-icon {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
}

.department-icon {
    background: var(--primary-color);
    color: var(--accent-color);
}

.excellence-card h4,
.department-card h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.excellence-card p,
.department-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.staff-spotlight {
    margin: 3rem 0;
}

.staff-spotlight h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.staff-member {
    background: var(--background);
    padding: 2rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-color);
}

.staff-info {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.staff-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.35rem;
    flex-shrink: 0;
}

.staff-photo {
    width: 5rem;
    height: 5rem;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top center;
}

.staff-details h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.staff-role {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.staff-experience {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.staff-credentials {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.philosophy-list li {
    margin-bottom: 0.85rem;
    padding-left: 1.75rem;
    position: relative;
    line-height: 1.6;
}

.philosophy-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0.15rem;
    color: var(--accent-color);
    font-size: 0.75rem;
}

.philosophy-list strong {
    color: var(--primary-color);
}

.faculty-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-top: 1rem;
}

/* ============================================
   Parish Page Styles
   ============================================ */
.parish-intro,
.parish-support {
    margin-bottom: 3rem;
}

.parish-heading-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1rem;
}

.parish-heading-row h2 {
    margin-bottom: 0;
}

.parish-title-link {
    color: inherit;
    text-decoration-color: var(--accent-color);
    text-decoration-thickness: 0.12em;
    text-underline-offset: 0.18em;
}

.parish-title-link:hover {
    color: var(--secondary-color);
}

.parish-visit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--secondary-color);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.parish-visit-link:hover,
.parish-visit-link:focus-visible {
    color: var(--primary-color);
    transform: translateX(3px);
}

.faith-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.activity-card {
    background: var(--background);
    padding: 2rem 1.5rem;
    border-radius: 0.6rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.activity-icon {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.35rem;
    margin: 0 auto 1rem;
}

.activity-card h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
}

.activity-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.partnership-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background);
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    border-color: var(--accent-color);
}

.benefit-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.15rem;
    flex-shrink: 0;
}

.benefit-content h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.beacon-box {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 0.6rem;
    border-left: 4px solid var(--accent-color);
    margin-top: 2rem;
}

.beacon-box h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.beacon-box p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.beacon-box p:last-child {
    margin-bottom: 0;
}

.roles-info p {
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.roles-info strong {
    color: var(--primary-color);
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-section {
    padding: 5rem 0;
    background: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3.5rem;
}

.contact-main {
    background: white;
    border-radius: 0.75rem;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--background);
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.method-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.method-content h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.4rem;
}

.method-primary {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
    overflow-wrap: anywhere;
    word-break: normal;
}

.method-link {
    display: inline-block;
    line-height: 1.3;
    text-decoration: none;
}

.method-link:hover {
    text-decoration: underline;
}

.tel-link {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.tel-link:hover {
    text-decoration: underline;
}

.method-secondary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.method-note {
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   Staff Directory
   ============================================ */
.staff-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
}

.staff-contact {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.75rem;
    background: var(--background);
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.staff-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-color);
}

.staff-avatar {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.staff-avatar-photo {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.staff-details h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.staff-title {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.staff-email,
.staff-phone {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 0.2rem;
}

.staff-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form-section {
    margin-top: 3.5rem;
}

.contact-form {
    max-width: 800px;
    margin-top: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.4rem;
    font-size: 0.95rem;
    font-family: 'Source Sans 3', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 39, 68, 0.08);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
}

.checkbox-custom {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 0.25rem;
    position: relative;
    flex-shrink: 0;
}

input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
}

input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

input[type="checkbox"]:checked + .checkbox-custom:after {
    content: '\2713';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.85rem;
    font-weight: bold;
}

.form-submit {
    margin-top: 1rem;
}

/* ============================================
   Contact Sidebar
   ============================================ */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.quick-info-list {
    list-style: none;
    padding: 0;
}

.quick-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-light);
}

.quick-info-list li:last-child {
    border-bottom: none;
}

.quick-info-list i {
    color: var(--accent-color);
    font-size: 1rem;
    width: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.quick-info-list strong {
    color: var(--primary-color);
}

/* ============================================
   Admissions Steps
   ============================================ */
.admissions-steps {
    margin-top: 1rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-light);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.step-number {
    width: 2rem;
    height: 2rem;
    background: var(--primary-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Office Hours
   ============================================ */
.office-hours {
    margin-top: 1rem;
}

.hours-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.hours-item i {
    color: var(--accent-color);
    font-size: 1rem;
    width: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.hours-note {
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
}

/* ============================================
   Directions
   ============================================ */
.directions-info {
    margin-top: 1rem;
}

.directions-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 1rem 0;
    padding: 0.85rem;
    background: var(--background);
    border-radius: 0.4rem;
}

.directions-note i {
    color: var(--accent-color);
    margin-top: 0.1rem;
}

.directions-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* ============================================
   Location & Maps Section
   ============================================ */
.location-section {
    margin-top: 3.5rem;
}

.maps-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.75rem;
    margin: 2rem 0 3rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-embed {
    position: relative;
    height: 400px;
    border-radius: 0.6rem;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0.6rem;
}

.map-details {
    display: flex;
    align-items: stretch;
}

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 0.6rem;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.location-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.location-icon {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.location-info h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.location-address {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.location-features {
    margin-bottom: 1.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: var(--background);
    border-radius: 0.4rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(26, 39, 68, 0.04);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
    width: 1.15rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
}

.location-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.location-btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem;
    font-size: 0.92rem;
}

/* ============================================
   Area Info
   ============================================ */
.area-info {
    background: var(--background);
    padding: 2.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
}

.area-info h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.area-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.area-feature {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.6rem;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.area-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.area-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.area-content h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.area-content p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Mobile Styles for Sub Pages
   ============================================ */
@media (max-width: 768px) {
    .page-hero {
        padding: 6rem 0 3rem;
    }

    .page-hero-title {
        font-size: 2.5rem;
    }

    .page-hero-subtitle {
        font-size: 1.05rem;
    }

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

    .main-content {
        padding: 2rem 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

    .timeline::before {
        left: 1.5rem;
    }

    .timeline-item {
        padding-left: 4rem;
    }

    .timeline-year {
        width: 3rem;
        height: 3rem;
        font-size: 0.75rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .legacy-grid {
        grid-template-columns: 1fr;
    }

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

    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }

    .profile-placeholder {
        width: 6rem;
        height: 6rem;
        font-size: 2.5rem;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .leadership-stats {
        grid-template-columns: 1fr;
    }

    .history-photo-feature {
        grid-template-columns: 1fr;
    }

    .history-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .excellence-grid,
    .departments-grid {
        grid-template-columns: 1fr;
    }

    .staff-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .faculty-stats {
        grid-template-columns: 1fr;
    }

    .faith-activities-grid {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

    .contact-main {
        padding: 2rem 1.5rem;
    }

    .contact-method-grid,
    .staff-contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-method,
    .staff-contact {
        padding: 1.5rem;
    }

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

    .maps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-embed {
        height: 300px;
    }

    .location-card {
        padding: 1.5rem;
    }

    .location-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .area-features {
        grid-template-columns: 1fr;
    }

    .area-feature {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .page-hero-title {
        font-size: 2rem;
    }

    .main-content {
        padding: 1.5rem 1rem;
    }

    .main-content h2 {
        font-size: 1.75rem;
    }

    .commitment-box {
        padding: 1.5rem;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .header,
    .hero-scroll,
    .cta-section,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-background,
    .hero-overlay {
        display: none;
    }

    .hero-text {
        color: var(--text-primary);
    }
}

/* ============================================
   Parish-inspired redesign
   ============================================ */
:root {
    --primary-color: #25344f;
    --primary-dark: #162238;
    --primary-light: #3a4d72;
    --secondary-color: #8c2332;
    --secondary-light: #ad3142;
    --secondary-dark: #681827;
    --accent-color: #d2a84f;
    --accent-light: #f0d58a;
    --accent-dark: #a97e2f;
    --text-primary: #2b2824;
    --text-secondary: #625d55;
    --background: #f7f3e8;
    --background-light: #efe8d7;
    --background-white: #fffdf7;
    --border-color: #ddd2bd;
    --border-light: #ebe2d2;
    --shadow-sm: 0 1px 2px rgba(22, 34, 56, 0.08);
    --shadow-md: 0 10px 24px rgba(22, 34, 56, 0.1);
    --shadow-lg: 0 18px 42px rgba(22, 34, 56, 0.14);
    --gradient-primary: linear-gradient(135deg, #25344f 0%, #3a4d72 100%);
    --gradient-hero: linear-gradient(90deg, rgba(22, 34, 56, 0.92) 0%, rgba(37, 52, 79, 0.78) 52%, rgba(140, 35, 50, 0.55) 100%);
    --gradient-warm: linear-gradient(135deg, #8c2332 0%, #ad3142 100%);
    --gradient-gold: linear-gradient(135deg, #d2a84f 0%, #f0d58a 100%);
}

body {
    background:
        linear-gradient(90deg, rgba(210, 168, 79, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(210, 168, 79, 0.08) 1px, transparent 1px),
        var(--background);
    background-size: 44px 44px;
}

.container,
.nav-container {
    max-width: 1180px;
}

.header {
    background: rgba(255, 253, 247, 0.96);
}

.utility-bar {
    background: var(--primary-dark);
    color: rgba(255, 253, 247, 0.82);
    font-size: 0.78rem;
}

.utility-bar .nav-container {
    min-height: 2.15rem;
}

.utility-location,
.utility-links,
.utility-links a {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.utility-location i,
.utility-links i {
    color: var(--accent-light);
}

.utility-links {
    gap: 1rem;
}

.utility-links a {
    color: rgba(255, 253, 247, 0.86);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.utility-links a:hover {
    color: var(--accent-light);
}

.navbar {
    padding: 0.55rem 0;
}

.nav-brand .logo {
    font-size: 1.34rem;
    letter-spacing: 0;
}

.nav-brand .logo i,
.footer-brand .logo i {
    background: var(--gradient-gold);
    border: 1px solid rgba(169, 126, 47, 0.28);
    border-radius: 50%;
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1rem;
}

.brand-logo {
    background: #fffdf7;
    border: 1px solid rgba(169, 126, 47, 0.28);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(22, 34, 56, 0.12);
    display: block;
    flex-shrink: 0;
    height: 2.55rem;
    object-fit: contain;
    padding: 0.12rem;
    width: 2.55rem;
}

.footer-brand .brand-logo {
    background: rgba(255, 253, 247, 0.95);
}

.nav-list {
    gap: 1.35rem;
}

.nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
}

.dropdown-menu,
.highlight-card,
.announcement-card,
.program-card,
.heritage-card,
.main-content,
.contact-main,
.sidebar-card,
.contact-method,
.staff-contact,
.timeline-content,
.profile-card,
.value-card,
.excellence-card,
.activity-card {
    border-radius: 0.45rem;
}

.hero {
    min-height: 92vh;
    padding-top: 5rem;
}

.hero-background {
    background:
        linear-gradient(rgba(22, 34, 56, 0.35), rgba(22, 34, 56, 0.35)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover;
}

.hero-background::before {
    background:
        linear-gradient(90deg, rgba(22, 34, 56, 0.9) 0%, rgba(22, 34, 56, 0.62) 50%, rgba(22, 34, 56, 0.22) 100%);
}

.hero-overlay {
    background: var(--gradient-hero);
}

.hero-text {
    max-width: 780px;
    margin: 0;
    text-align: left;
}

.hero-title {
    font-size: clamp(3rem, 6.4vw, 6.25rem);
    line-height: 0.96;
    margin-bottom: 1.35rem;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.hero-title .highlight {
    color: #fffdf7;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.hero-subtitle {
    max-width: 680px;
    color: rgba(255, 253, 247, 0.9);
    font-size: 1.12rem;
    font-weight: 400;
    margin-bottom: 2.1rem;
}

.hero-actions {
    justify-content: flex-start;
}

.btn-primary,
.btn-outline,
.btn-outline-white,
.btn-secondary {
    border-radius: 0.28rem;
    text-transform: uppercase;
    letter-spacing: 0.045em;
    min-height: 2.9rem;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    box-shadow: 0 10px 24px rgba(210, 168, 79, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 14px 30px rgba(210, 168, 79, 0.36);
}

.btn-outline {
    background: rgba(255, 253, 247, 0.1);
    border-color: rgba(255, 253, 247, 0.7);
}

.parish-actions {
    background: var(--secondary-color);
    position: relative;
    z-index: 2;
}

.parish-actions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.parish-action {
    align-items: center;
    color: #fffdf7;
    display: flex;
    gap: 0.85rem;
    justify-content: center;
    min-height: 5.75rem;
    padding: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.055em;
    border-left: 1px solid rgba(255, 253, 247, 0.18);
    transition: background 0.25s ease, transform 0.25s ease;
}

.parish-action:last-child {
    border-right: 1px solid rgba(255, 253, 247, 0.18);
}

.parish-action i {
    color: var(--accent-light);
    font-size: 1.25rem;
}

.parish-action:hover {
    background: var(--secondary-dark);
}

.school-life-strip {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    min-height: 260px;
}

.school-life-panel {
    align-items: flex-end;
    background:
        linear-gradient(180deg, rgba(22, 34, 56, 0.12), rgba(22, 34, 56, 0.82)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover;
    color: #fffdf7;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 2rem;
    position: relative;
    text-decoration: none;
    overflow: hidden;
}

.school-life-panel:nth-child(2) {
    background:
        linear-gradient(180deg, rgba(22, 34, 56, 0.05), rgba(22, 34, 56, 0.72)),
        url("photos/St_Ann_Inside.jpg") center / cover;
}

.school-life-panel:nth-child(3) {
    background:
        linear-gradient(180deg, rgba(37, 52, 79, 0.08), rgba(37, 52, 79, 0.9)),
        url("photos/St-Ann-Fayetteville.jpg") center / cover;
}

.school-life-panel-parish {
    background:
        linear-gradient(180deg, rgba(37, 52, 79, 0.04), rgba(18, 28, 47, 0.84)),
        url("photos/Church.jpg") center / cover;
}

.school-life-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(210, 168, 79, 0.12);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.school-life-panel:hover::before {
    opacity: 1;
}

.school-life-panel span,
.school-life-panel strong {
    position: relative;
    z-index: 1;
}

.school-life-panel span {
    color: var(--accent-light);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.school-life-panel strong {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.65rem;
    line-height: 1.1;
    max-width: 430px;
}

.school-life-panel-large strong {
    font-size: clamp(2rem, 4vw, 3rem);
}

.family-pathways {
    background: #fffdf7;
    padding: 4rem 0;
}

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

.pathway-card {
    background: var(--background);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    min-height: 220px;
    padding: 1.5rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.pathway-card:hover {
    border-color: var(--accent-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.pathway-card i {
    align-items: center;
    background: var(--gradient-primary);
    color: var(--accent-light);
    display: flex;
    height: 2.9rem;
    justify-content: center;
    margin-bottom: auto;
    width: 2.9rem;
}

.pathway-card span {
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 1.4rem 0 0.45rem;
    text-transform: uppercase;
}

.pathway-card strong {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.4rem;
    line-height: 1.15;
}

.pathway-card,
.program-card,
.highlight-card,
.announcement-card,
.testimonial-card,
.date-item,
.glance-item,
.sidebar-card,
.contact-method,
.staff-contact {
    min-width: 0;
}

.section-kicker {
    color: var(--secondary-color);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 0.5rem;
    text-align: center;
    text-transform: uppercase;
}

.section-kicker-light {
    color: var(--accent-light);
}

.section-header {
    margin-bottom: 2.4rem;
}

.section-header h2,
.faith-content h2,
.heritage-content h2,
.cta-content h2,
.main-content h2,
.contact-intro h2 {
    letter-spacing: 0;
}

.highlights,
.programs-overview {
    background: rgba(255, 253, 247, 0.58);
}

.highlights::before {
    display: none;
}

.highlight-card,
.program-card,
.announcement-card,
.main-content,
.contact-main,
.sidebar-card {
    background: #fffdf7;
    border: 1px solid var(--border-color);
}

.highlight-card,
.program-card,
.announcement-card {
    text-align: left;
}

.highlight-icon,
.program-icon {
    border-radius: 0.35rem;
    margin-left: 0;
    margin-right: 0;
}

.announcement-card.featured {
    background: linear-gradient(135deg, #fffdf7 0%, #f6edda 100%);
}

.announcement-badge {
    border-radius: 0.25rem;
}

.upcoming-dates {
    background: var(--primary-dark);
    color: #fffdf7;
    padding: 4.5rem 0;
}

.dates-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) 1.4fr;
    gap: 3rem;
    align-items: start;
}

.dates-layout .section-kicker {
    color: var(--accent-light);
    text-align: left;
}

.dates-layout h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2.6rem;
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.dates-layout p {
    color: rgba(255, 253, 247, 0.72);
}

.date-list {
    display: grid;
    gap: 0.9rem;
}

.date-item {
    align-items: center;
    background: rgba(255, 253, 247, 0.07);
    border: 1px solid rgba(255, 253, 247, 0.14);
    border-left: 4px solid var(--accent-color);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1rem 1.15rem;
}

.date-box {
    align-items: center;
    background: #fffdf7;
    color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 4rem;
    width: 4rem;
}

.date-box span {
    color: var(--secondary-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.date-box strong {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.8rem;
    line-height: 1;
}

.date-item h3 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    margin-bottom: 0.1rem;
}

.date-item p {
    margin: 0;
}

.mission-showcase {
    background: #fffdf7;
    padding: 5rem 0;
}

.mission-showcase-grid {
    align-items: stretch;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 2rem;
}

.mission-copy {
    background: var(--background);
    border: 1px solid var(--border-color);
    padding: 3rem;
}

.mission-copy .section-kicker {
    text-align: left;
}

.mission-copy h2 {
    color: var(--primary-color);
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1;
    margin-bottom: 1.25rem;
}

.mission-copy p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.mission-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn-soft {
    align-items: center;
    background: #fffdf7;
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    display: flex;
    gap: 0.5rem;
    min-height: 2.9rem;
    padding: 0.9rem 1.35rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.welcome-video-card {
    background:
        linear-gradient(180deg, rgba(22, 34, 56, 0.12), rgba(22, 34, 56, 0.9)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover;
    color: #fffdf7;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 440px;
    padding: 2rem;
    position: relative;
}

.video-frame {
    align-items: center;
    background: rgba(255, 253, 247, 0.94);
    color: var(--secondary-color);
    display: flex;
    height: 4.25rem;
    justify-content: center;
    margin-bottom: auto;
    width: 4.25rem;
}

.video-frame i {
    margin-left: 0.2rem;
}

.welcome-video-card span {
    color: var(--accent-light);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.welcome-video-card strong {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 2rem;
    line-height: 1.1;
    margin: 0.4rem 0 0.65rem;
}

.welcome-video-card p {
    color: rgba(255, 253, 247, 0.76);
    margin: 0;
}

.testimonials-section {
    background: var(--background);
    padding: 5rem 0;
}

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

.testimonial-card {
    background: #fffdf7;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 1.6rem;
}

.testimonial-card p {
    color: var(--text-primary);
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    line-height: 1.32;
    margin-bottom: auto;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    color: var(--primary-color);
    font-weight: 800;
    margin-top: 1.5rem;
}

.testimonial-card span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.testimonial-sources {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 1.25rem auto 0;
    max-width: 720px;
    text-align: center;
}

.testimonial-sources a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
}

.testimonial-sources a:hover {
    text-decoration: underline;
}

.at-a-glance {
    background: var(--primary-color);
    color: #fffdf7;
    padding: 5rem 0;
    text-align: center;
}

.at-a-glance h2 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2.3rem, 4vw, 3.8rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.accreditation-badge {
    align-items: center;
    background: rgba(255, 253, 247, 0.96);
    border: 1px solid rgba(255, 253, 247, 0.32);
    border-radius: 0.5rem;
    box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.55);
    color: var(--primary-color);
    display: inline-flex;
    gap: 1rem;
    margin: 0 auto 2.5rem;
    max-width: 560px;
    padding: 0.8rem 1.1rem;
    text-align: left;
}

.accreditation-badge img {
    display: block;
    flex: 0 0 auto;
    max-height: 4.4rem;
    object-fit: contain;
    width: clamp(5.5rem, 18vw, 8rem);
}

/* Badges that link somewhere should not look like underlined text. */
a.accreditation-badge {
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.accreditation-badge:hover,
a.accreditation-badge:focus-visible {
    box-shadow: 0 22px 40px -22px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

.accreditation-badge span {
    color: var(--secondary-color);
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1.2;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.accreditation-badge strong {
    color: var(--primary-color);
    display: block;
    font-size: 0.98rem;
    line-height: 1.35;
}

.glance-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 1px solid rgba(255, 253, 247, 0.16);
}

.glance-item {
    border-right: 1px solid rgba(255, 253, 247, 0.16);
    padding: 1.6rem 1rem;
}

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

.glance-item strong {
    color: var(--accent-light);
    display: block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    line-height: 1;
    margin-bottom: 0.55rem;
}

.glance-item span {
    color: rgba(255, 253, 247, 0.78);
    display: block;
    font-size: 0.86rem;
    line-height: 1.35;
}

.heritage-section {
    background:
        linear-gradient(rgba(22, 34, 56, 0.9), rgba(22, 34, 56, 0.88)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover fixed;
}

.heritage-section::before,
.cta-section::before {
    opacity: 0.65;
}

.faith-life {
    background: #fffdf7;
}

/* ============================================
   FAQ Chatbot
   ============================================ */
.school-chatbot {
    bottom: 1.25rem;
    position: fixed;
    right: 1.25rem;
    z-index: 9500;
}

.chatbot-toggle {
    align-items: center;
    background: var(--gradient-warm);
    border: 1px solid rgba(255, 253, 247, 0.28);
    border-radius: 999px;
    box-shadow: 0 18px 38px -18px rgba(15, 26, 46, 0.55);
    color: #fffdf7;
    cursor: pointer;
    display: inline-flex;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    gap: 0.55rem;
    letter-spacing: 0.02em;
    min-height: 3.25rem;
    padding: 0.75rem 1.05rem;
}

.chatbot-toggle i {
    color: var(--accent-light);
    font-size: 1.05rem;
}

.chatbot-panel {
    background: #fffdf7;
    border: 1px solid var(--border-color);
    border-radius: 0.7rem;
    bottom: 4.35rem;
    box-shadow: 0 28px 60px -24px rgba(15, 26, 46, 0.45);
    display: flex;
    flex-direction: column;
    max-height: min(640px, calc(100svh - 6rem));
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
    transform: translateY(0.6rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
    width: min(380px, calc(100vw - 2rem));
}

.school-chatbot.active .chatbot-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.chatbot-header {
    align-items: center;
    background: var(--gradient-primary);
    color: #fffdf7;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.1rem;
}

.chatbot-header span {
    color: var(--accent-light);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.chatbot-header strong {
    display: block;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: 1.35rem;
    line-height: 1.1;
}

.chatbot-close {
    align-items: center;
    background: rgba(255, 253, 247, 0.1);
    border: 1px solid rgba(255, 253, 247, 0.16);
    border-radius: 50%;
    color: #fffdf7;
    cursor: pointer;
    display: inline-flex;
    height: 2.35rem;
    justify-content: center;
    width: 2.35rem;
}

.chatbot-messages {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 14rem;
    overflow-y: auto;
    padding: 1rem;
}

.chatbot-message {
    display: flex;
}

.chatbot-message.user {
    justify-content: flex-end;
}

.chatbot-bubble {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 0.75rem;
    color: var(--text-primary);
    max-width: 92%;
    padding: 0.75rem 0.85rem;
}

.chatbot-message.user .chatbot-bubble {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fffdf7;
}

.chatbot-bubble p {
    font-size: 0.93rem;
    line-height: 1.45;
    margin: 0;
}

.chatbot-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.chatbot-links a,
.chatbot-prompts button {
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.15;
    text-decoration: none;
}

.chatbot-links a {
    background: #fffdf7;
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    padding: 0.45rem 0.65rem;
}

.chatbot-prompts {
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    padding: 0.85rem 1rem 0;
}

.chatbot-prompts button {
    background: rgba(26, 39, 68, 0.06);
    border: 1px solid rgba(26, 39, 68, 0.12);
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.45rem 0.65rem;
}

.chatbot-form {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: minmax(0, 1fr) 2.75rem;
    padding: 0.85rem 1rem 1rem;
}

.chatbot-form input {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-primary);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    min-width: 0;
    padding: 0.72rem 0.95rem;
}

.chatbot-form input:focus {
    border-color: var(--accent-color);
    outline: 2px solid rgba(201, 168, 76, 0.25);
}

.chatbot-form button {
    align-items: center;
    background: var(--secondary-color);
    border: 0;
    border-radius: 50%;
    color: #fffdf7;
    cursor: pointer;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.faith-content {
    max-width: 1000px;
}

.faith-feature {
    background: var(--background);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-color);
    padding: 1.4rem;
}

.cta-section {
    background:
        linear-gradient(135deg, rgba(140, 35, 50, 0.94), rgba(104, 24, 39, 0.94)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover;
}

.page-hero {
    background:
        linear-gradient(90deg, rgba(22, 34, 56, 0.9), rgba(37, 52, 79, 0.72)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover;
    padding: 8rem 0 4.5rem;
}

.page-hero-background,
.page-hero-overlay {
    display: none;
}

.page-hero-content {
    text-align: left;
    max-width: 760px;
}

.page-hero-content-split {
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.page-hero-qr {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .page-hero-qr {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .page-hero-qr {
        display: none;
    }
}

.page-hero-title {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 0.98;
}

.breadcrumb {
    justify-content: flex-start;
}

.mission-content,
.contact-section {
    background: transparent;
}

.content-grid,
.contact-grid {
    align-items: start;
}

.main-content,
.contact-main {
    box-shadow: var(--shadow-sm);
}

.section-icon,
.method-icon,
.staff-icon,
.activity-icon,
.excellence-icon,
.value-icon,
.profile-placeholder {
    border-radius: 0.35rem;
}

.sidebar-card {
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--accent-color);
}

.sidebar-link,
.quick-info-list li,
.contact-info p {
    border-color: var(--border-light);
}

.footer {
    background:
        linear-gradient(rgba(22, 34, 56, 0.96), rgba(22, 34, 56, 0.98)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover;
}

@media (max-width: 1024px) {
    .nav-list {
        gap: 0.9rem;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    .btn-secondary {
        padding: 0.45rem 0.85rem;
    }

    .translate-widget {
        padding: 0.3rem 0.45rem;
    }

    .gtranslate_wrapper {
        min-width: 6.6rem;
    }

    .pathways-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .glance-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .glance-item:nth-child(3) {
        border-right: none;
    }

    .glance-item:nth-child(-n+3) {
        border-bottom: 1px solid rgba(255, 253, 247, 0.16);
    }
}

@media (max-width: 768px) {
    .utility-bar .nav-container {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;
        padding-bottom: 0.45rem;
        padding-top: 0.45rem;
    }

    .utility-links {
        flex-wrap: wrap;
    }

    .hero {
        min-height: 88vh;
        padding-top: 6rem;
    }

    .nav-actions {
        gap: 0.55rem;
    }

    .translate-widget {
        min-height: 2.5rem;
    }

    .gtranslate_wrapper {
        min-width: 5.5rem;
    }

    .gtranslate_wrapper select,
    .gtranslate_wrapper .gt_selector {
        font-size: 0.78rem;
        max-width: 6.4rem;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .parish-actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parish-action {
        min-height: 4.8rem;
        font-size: 0.82rem;
    }

    .school-life-strip {
        grid-template-columns: 1fr;
    }

    .school-life-panel,
    .school-life-panel-large {
        min-height: 220px;
    }

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

    .dates-layout .section-kicker {
        text-align: center;
    }

    .dates-layout > div:first-child {
        text-align: center;
    }

    .pathways-grid,
    .mission-showcase-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .mission-copy {
        padding: 2rem;
    }

    .mission-copy .section-kicker {
        text-align: center;
    }

    .mission-copy,
    .welcome-video-card {
        text-align: center;
    }

    .mission-actions {
        justify-content: center;
    }

    .video-frame {
        margin-left: auto;
        margin-right: auto;
    }

    .glance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .glance-item,
    .glance-item:nth-child(3) {
        border-right: 1px solid rgba(255, 253, 247, 0.16);
    }

    .glance-item:nth-child(2n) {
        border-right: none;
    }

    .glance-item:nth-child(-n+4) {
        border-bottom: 1px solid rgba(255, 253, 247, 0.16);
    }

    .page-hero-content,
    .breadcrumb {
        text-align: center;
        justify-content: center;
    }

    .highlight-card,
    .program-card,
    .announcement-card {
        text-align: center;
    }

    .highlight-icon,
    .program-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .announcement-card.featured .announcement-content {
        padding-top: 4.75rem;
    }

    .history-photo-feature {
        padding: 1rem;
    }

    .history-archive-grid {
        grid-template-columns: 1fr;
    }

    .announcement-badge {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }

    .nav-brand .logo {
        font-size: 1.08rem;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .parish-actions-grid {
        grid-template-columns: 1fr;
    }

    .glance-grid {
        grid-template-columns: 1fr;
    }

    .glance-item,
    .glance-item:nth-child(2n),
    .glance-item:nth-child(3) {
        border-right: none;
    }

    .glance-item:not(:last-child) {
        border-bottom: 1px solid rgba(255, 253, 247, 0.16);
    }
}

/* ============================================
   Hero and navigation refinement
   ============================================ */
.header {
    background: rgba(255, 253, 247, 0.98);
    box-shadow: 0 10px 30px rgba(22, 34, 56, 0.08);
}

.header::after {
    height: 2px;
    bottom: -2px;
    opacity: 0.85;
}

.navbar {
    padding: 0;
}

.nav-container {
    max-width: 1440px;
    padding-left: clamp(1rem, 3vw, 2.5rem);
    padding-right: clamp(1rem, 3vw, 2.5rem);
}

.navbar > .nav-container {
    display: grid;
    grid-template-columns: minmax(190px, 0.68fr) minmax(680px, 1.9fr) max-content;
    gap: clamp(0.35rem, 0.8vw, 0.9rem);
    min-height: 5.2rem;
}

.nav-brand {
    min-width: 0;
}

.nav-brand .logo {
    gap: 0.7rem;
    min-width: 0;
    white-space: nowrap;
}

.nav-brand .logo span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-logo {
    height: 3.1rem;
    width: 3.1rem;
}

.nav-menu {
    justify-content: center;
    min-width: 0;
}

.nav-list {
    align-items: center;
    gap: 0.08rem;
    justify-content: center;
    width: 100%;
}

.nav-link {
    border-radius: 999px;
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 800;
    gap: 0.36rem;
    letter-spacing: 0.025em;
    line-height: 1;
    min-height: 2.35rem;
    padding: 0.68rem 0.46rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(140, 35, 50, 0.08);
    color: var(--secondary-color);
}

.dropdown-menu {
    left: 50%;
    min-width: 235px;
    transform: translate(-50%, 0.65rem);
}

.dropdown:hover .dropdown-menu {
    transform: translate(-50%, 0);
}

.nav-actions {
    justify-content: flex-end;
    min-width: max-content;
    gap: 0.5rem;
}

.translate-widget {
    background: #fffdf7;
    min-height: 2.45rem;
    padding: 0.22rem 0.5rem;
}

.gtranslate_wrapper {
    min-width: 3.25rem;
}

.gtranslate_wrapper select,
.gtranslate_wrapper .gt_selector {
    font-size: 0.76rem;
    max-width: 3.25rem;
    min-height: 1.75rem;
    width: 3.25rem;
}

.btn-secondary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fffdf7;
    font-size: 0.78rem;
    min-height: 2.45rem;
    padding: 0.65rem 0.68rem;
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.hero {
    min-height: 100svh;
    padding-top: 7.35rem;
}

.hero-background {
    background:
        linear-gradient(rgba(22, 34, 56, 0.18), rgba(22, 34, 56, 0.18)),
        url("https://catholicschoolsnc.com/sites/default/files/building/st-ann-school-fayetteville.jpg") center / cover no-repeat;
}

.hero-background::before {
    background:
        linear-gradient(90deg, rgba(22, 34, 56, 0.96) 0%, rgba(22, 34, 56, 0.76) 42%, rgba(22, 34, 56, 0.26) 100%);
}

.hero-overlay {
    background: linear-gradient(180deg, rgba(22, 34, 56, 0.22) 0%, rgba(22, 34, 56, 0.1) 45%, rgba(22, 34, 56, 0.35) 100%);
}

.hero-content {
    align-items: center;
    display: flex;
    min-height: calc(100svh - 7.35rem);
    padding: clamp(3.5rem, 7vh, 6rem) 0;
}

.hero-text {
    max-width: 860px;
}

.hero-title {
    font-size: clamp(3.5rem, 7vw, 7.6rem);
    max-width: 920px;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.3vw, 1.22rem);
    max-width: 735px;
}

@media (max-width: 1240px) {
    .navbar > .nav-container {
        grid-template-columns: minmax(170px, 0.55fr) minmax(610px, 1.9fr) max-content;
        gap: 0.35rem;
    }

    .brand-logo {
        height: 2.7rem;
        width: 2.7rem;
    }

    .nav-brand .logo {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.66rem;
        letter-spacing: 0.01em;
        padding-left: 0.34rem;
        padding-right: 0.34rem;
    }

    .translate-widget > i {
        display: none;
    }

    .gtranslate_wrapper {
        min-width: 2.8rem;
    }

    .gtranslate_wrapper select,
    .gtranslate_wrapper .gt_selector {
        max-width: 2.8rem;
        width: 2.8rem;
    }

    .btn-secondary {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }
}

@media (max-width: 1080px) {
    .navbar > .nav-container {
        grid-template-columns: 1fr auto;
        min-height: 4.8rem;
    }

    .nav-brand .logo span {
        max-width: 22rem;
    }

    .nav-link {
        font-size: 0.76rem;
        letter-spacing: 0.025em;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }

    .nav-menu {
        order: 3;
        grid-column: 1 / -1;
        justify-content: flex-start;
        padding-bottom: 0.75rem;
    }

    .nav-list {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.1rem;
        scrollbar-width: none;
    }

    .nav-list::-webkit-scrollbar {
        display: none;
    }

    .hero {
        padding-top: 9.2rem;
    }

    .hero-content {
        min-height: calc(100svh - 9.2rem);
    }
}

@media (max-width: 768px) {
    .navbar > .nav-container {
        display: flex;
        min-height: 4.35rem;
    }

    .nav-brand .logo span {
        max-width: 13rem;
    }

    .brand-logo {
        height: 2.55rem;
        width: 2.55rem;
    }

    .translate-widget,
    .btn-secondary {
        display: none;
    }

    .nav-menu {
        padding-bottom: 0;
    }

    .hero {
        min-height: 100svh;
        padding-top: 7.9rem;
    }

    .hero-content {
        min-height: calc(100svh - 7.9rem);
        padding: 3rem 0 4rem;
    }

    .hero-title {
        font-size: clamp(3.1rem, 16vw, 5rem);
    }
}

@media (max-width: 480px) {
    .utility-location span {
        line-height: 1.25;
    }

    .utility-links {
        gap: 0.65rem;
    }

    .utility-links a {
        font-size: 0.7rem;
    }

    .nav-brand .logo span {
        max-width: 10.5rem;
    }

    .hero {
        padding-top: 8.35rem;
    }

    .hero-content {
        min-height: calc(100svh - 8.35rem);
    }
}

/* ============================================
   Site-wide mobile hardening
   ============================================ */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

img,
video {
    height: auto;
}

table {
    max-width: 100%;
}

pre,
code {
    max-width: 100%;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.main-content,
.sidebar,
.content-grid,
.support-main,
.support-sidebar,
.footer-section,
.nav-brand,
.nav-menu,
.nav-actions,
.announcement-card,
.program-card,
.highlight-card,
.sidebar-card,
.support-card,
.support-sidebar-card {
    min-width: 0;
}

@media (max-width: 900px) {
    .content-grid,
    .contact-content,
    .contact-grid,
    .calendar-layout,
    .tuition-layout,
    .care-layout,
    .activities-layout,
    .athletics-layout,
    .safe-env-layout,
    .checklist-layout,
    .scholarship-layout,
    .newsletter-layout,
    .longleaf-layout,
    .support-layout,
    .uniforms-layout,
    .saysomething-layout,
    .year-layout {
        grid-template-columns: 1fr !important;
    }

    .sidebar,
    .ath-sidebar,
    .support-sidebar,
    .cal-sidebar,
    .newsletter-sidebar,
    .longleaf-sidebar {
        position: static !important;
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .header {
        transform: translateY(0) !important;
    }

    .nav-menu {
        align-items: stretch;
        background: var(--background-white);
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        display: block;
        left: 0;
        max-height: calc(100svh - 6.5rem);
        overflow-y: auto;
        padding: 0;
        pointer-events: none;
        right: 0;
        top: 6.5rem;
        transform: translateY(-0.75rem);
        width: 100%;
        z-index: 1001;
    }

    .nav-menu.active {
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu .nav-list {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: flex-start;
        margin: 0;
        overflow-x: visible;
        padding: 0.75rem 1rem 1rem;
        width: 100%;
    }

    .nav-menu .nav-item {
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }

    .nav-menu .nav-item:last-child {
        border-bottom: none;
    }

    .nav-menu .nav-link {
        border-radius: 0;
        justify-content: space-between;
        min-height: 3rem;
        padding: 0.9rem 0;
        white-space: normal;
        width: 100%;
    }

    .nav-menu .dropdown-menu {
        background: var(--background-light);
        border: 0;
        box-shadow: none;
        left: auto;
        margin: 0 0 0.65rem;
        min-width: 0;
        padding: 0.35rem 0;
        position: static;
        transform: none;
        width: 100%;
    }

    .nav-menu .dropdown:hover .dropdown-menu,
    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
        left: auto;
        opacity: 1;
        transform: none;
        visibility: visible;
    }

    .nav-menu .dropdown-menu a {
        border-left: 0;
        overflow-wrap: anywhere;
        padding: 0.72rem 1rem;
        text-align: center;
        white-space: normal;
        width: 100%;
    }

    html,
    body {
        overflow-x: hidden;
    }

    .container,
    .nav-container {
        width: 100%;
        max-width: 100%;
    }

    .page-hero,
    .mission-content,
    .support-section,
    .athletics-section,
    .calendar-section,
    .tuition-section,
    .activities-section,
    .safe-env-section,
    .checklist-section,
    .newsletter-section,
    .uniforms-section,
    .fundraising-content {
        overflow-x: hidden;
    }

    .page-hero-title,
    .hero-title,
    h1 {
        overflow-wrap: anywhere;
    }

    .page-hero-content {
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .breadcrumb {
        flex-wrap: wrap;
        row-gap: 0.35rem;
    }

    .support-card,
    .support-sidebar-card,
    .ath-block,
    .sidebar-card,
    .mission-card,
    .contact-card,
    .tuition-block,
    .care-block,
    .activity-block,
    .calendar-card,
    .checklist-block,
    .safe-env-block,
    .newsletter-card,
    .uniforms-block {
        max-width: 100%;
    }

    .support-actions,
    .cta-actions,
    .hero-actions,
    .curriculum-actions,
    .announcement-meta,
    .contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .support-action,
    .donate-primary-link,
    .btn-primary,
    .btn-secondary,
    .btn-outline,
    .btn-outline-white,
    .btn-soft {
        justify-content: center;
        max-width: none;
        white-space: normal;
        width: 100%;
    }

    .footer .contact-info p,
    .sidebar-card .contact-info p,
    .support-contact-list p,
    .support-contact-list a {
        align-items: flex-start;
        overflow-wrap: anywhere;
        text-align: left;
    }

    table,
    .fee-table,
    .rate-table,
    .training-table,
    .deadline-table {
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        width: 100% !important;
    }

    table th,
    table td,
    .fee-table th,
    .fee-table td,
    .rate-table th,
    .rate-table td,
    .training-table th,
    .training-table td,
    .deadline-table th,
    .deadline-table td {
        white-space: normal !important;
    }

    .cal-grid,
    .cal-weekdays {
        min-width: 0;
    }

    .cal-cell {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .school-chatbot {
        bottom: 0.85rem;
        left: 0.85rem;
        right: 0.85rem;
    }

    .chatbot-toggle {
        justify-content: center;
        width: 100%;
    }

    .chatbot-panel {
        bottom: 4.2rem;
        max-height: min(610px, calc(100svh - 5.5rem));
        right: 0;
        width: 100%;
    }

    .accreditation-badge {
        align-items: center;
        flex-direction: column;
        max-width: 100%;
        padding: 1rem;
        text-align: center;
    }

    .accreditation-badge img {
        max-height: 4rem;
    }

    .footer-brand .logo,
    .nav-brand .logo {
        min-width: 0;
    }

    .footer-brand .logo span,
    .nav-brand .logo span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .utility-bar .nav-container {
        align-items: center;
        gap: 0.5rem;
    }

    .utility-location,
    .utility-links {
        min-width: 0;
    }

    .utility-location span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .page-hero-title {
        font-size: clamp(2.1rem, 12vw, 3rem) !important;
        line-height: 1.05;
    }

    .page-hero-subtitle {
        font-size: 1rem !important;
    }

    .support-card,
    .support-sidebar-card,
    .ath-block,
    .sidebar-card {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 640px) {
    .support-grid,
    .alumni-form-grid,
    .feature-grid,
    .stat-row,
    .rate-grid,
    .plan-grid,
    .hours-grid,
    .rates-grid,
    .includes-grid,
    .policy-grid,
    .activity-grid,
    .season-grid,
    .contact-row,
    .three-steps,
    .warning-grid,
    .stat-grid,
    .requirements-grid,
    .order-grid,
    .gallery-grid,
    .memory-grid,
    .faculty-modal-grid {
        grid-template-columns: 1fr !important;
    }

    .faculty-modal-body {
        padding: 1rem !important;
    }

    .faculty-modal-header {
        padding: 1rem !important;
    }
}
