@charset "UTF-8";
/* CSS Document */

/* ─── TOKENS ────────────────────────────────────────── */
:root {
--primary:    #1080bf;
--secondary:  #f1b746;
--accent1:    #073c5b;
--accent2:    #df4756;
--page-bg:    #f5f6f7;
--white:      #ffffff;
--gray-light: #e8eaec;
--gray-mid:   #6b7280;
--text-dark:  #111827;
}
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--page-bg);
    color: var(--text-dark);
    margin: 0;
}
.display-face {
    font-family: 'Playfair Display', Georgia, serif;
}
/* ─── Lordicon sizing helpers ───────────────────────── */
lord-icon {
    display: block;
}
lord-icon.icon-lg {
    width: 56px;
    height: 56px;
}
lord-icon.icon-md {
    width: 42px;
    height: 42px;
}
lord-icon.icon-sm {
    width: 32px;
    height: 32px;
}
lord-icon.icon-xl {
    width: 72px;
    height: 72px;
}
lord-icon.icon-contact {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
}
/* ─── NAVBAR ────────────────────────────────────────── */
#site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
#site-nav.scrolled {
    background: var(--accent1);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
    padding: 0.6rem 2rem;
}
.nav-wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
    line-height: 1.2;
    text-decoration: none;
}
.nav-wordmark span {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-top: 1px;
}
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}
.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--secondary);
}
/* ─── HERO ──────────────────────────────────────────── */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--accent1);
}
#hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('images/ccdc-hero.jpg');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.22;
    transform: scale(1.05);
}
#hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent1) 0%, #0d5a8a 60%, transparent 100%);
    opacity: 0.88;
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 2rem;
    max-width: 780px;
}
.hero-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    opacity: 0;
}
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 1.5rem;
    opacity: 0;
}
.hero-title em {
    font-style: italic;
    color: var(--secondary);
}
.hero-sub {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.8);
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 2.25rem;
    opacity: 0;
}
.hero-cta-wrap {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
}
.hero-icon-row {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0;
    flex-wrap: wrap;
}
.hero-icon-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}
.btn-primary-custom {
    background: var(--secondary);
    color: var(--accent1);
    border: none;
    padding: 0.85rem 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-primary-custom:hover {
    background: #e8a82e;
    color: var(--accent1);
    transform: translateY(-2px);
}
.btn-outline-custom {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.45);
    padding: 0.85rem 2rem;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 2px;
    text-decoration: none;
    transition: border-color 0.25s, color 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-outline-custom:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}
.scroll-cue {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
}
.scroll-cue span {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.scroll-cue-line {
    width: 1px;
    height: 40px;
    background: var(--secondary);
    animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
0%, 100% {
opacity: 0.4;
transform: scaleY(0.6) translateY(-6px);
}
50% {
opacity: 1;
transform: scaleY(1) translateY(0);
}
}
/* ─── ANIMATED WAVE DIVIDERS ────────────────────────── */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: 0;
    display: block;
}
/* Spacer sets the height; waves are absolutely positioned inside */
.wave-spacer {
    display: block;
}
/* Double-wide SVG layers that scroll horizontally */
.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;   /* two repeating widths for seamless loop */
    height: 100%;
}
@keyframes waveScroll1 {
from {
transform: translateX(0);
}
to {
transform: translateX(-50%);
}
}
@keyframes waveScroll2 {
from {
transform: translateX(-50%);
}
to {
transform: translateX(0);
}
}
@keyframes waveScroll3 {
from {
transform: translateX(-25%);
}
to {
transform: translateX(-75%);
}
}
/* Absolute layers inside each divider */
.wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}
.wave-l1 {
    animation: waveScroll1 8s linear infinite;
}
.wave-l2 {
    animation: waveScroll2 13s linear infinite;
}
.wave-l3 {
    animation: waveScroll3 18s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
.wave-l1, .wave-l2, .wave-l3 {
    animation: none !important;
}
}
/* ─── MISSION SECTION ───────────────────────────────── */
#mission {
    background: var(--white);
    padding: 6rem 0 5rem;
}
.section-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 700;
    color: var(--accent1);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}
.section-body {
    font-size: 1.05rem;
    color: var(--gray-mid);
    line-height: 1.85;
    margin-bottom: 1.5rem;
}
.accent-rule {
    width: 56px;
    height: 4px;
    background: var(--secondary);
    margin-bottom: 1.75rem;
    border-radius: 2px;
}
.mission-img-wrap {
    position: relative;
}
.mission-img-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.mission-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--secondary);
    color: var(--accent1);
    padding: 1.25rem 1.5rem;
    border-radius: 4px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    max-width: 180px;
}
.mission-badge small {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.25rem;
    color: var(--accent1);
    opacity: 0.75;
}
/* ─── PROGRAMS SECTION ──────────────────────────────── */
#programs {
    background: var(--page-bg);
    padding: 6rem 0;
}
#programs .section-header {
    text-align: center;
    margin-bottom: 4rem;
}
.program-card {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.program-card-top {
    height: 7px;
}
.program-card-body {
    padding: 2.25rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* Icon bubble wraps lord-icon */
.program-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    cursor: pointer;
}
.program-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--accent1);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.program-desc {
    font-size: 0.92rem;
    color: var(--gray-mid);
    line-height: 1.75;
    flex: 1;
}
.program-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}
.program-list li {
    font-size: 0.85rem;
    color: var(--gray-mid);
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
}
.program-list li:last-child {
    border-bottom: none;
}
.program-list li i {
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 0.75rem;
}
.card-food .program-card-top {
    background: var(--primary);
}
.card-food .program-icon-wrap {
    background: rgba(16,128,191,0.1);
}
.card-food .program-list li i {
    color: var(--primary);
}
.card-edu .program-card-top {
    background: var(--secondary);
}
.card-edu .program-icon-wrap {
    background: rgba(241,183,70,0.15);
}
.card-edu .program-list li i {
    color: #c49a1a;
}
.card-senior .program-card-top {
    background: var(--accent2);
}
.card-senior .program-icon-wrap {
    background: rgba(223,71,86,0.1);
}
.card-senior .program-list li i {
    color: var(--accent2);
}
/* ─── GALLERY ───────────────────────────────────────── */
#gallery {
    background: var(--white);
    padding: 6rem 0 5rem;
}
#gallery .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.masonry-grid {
    columns: 3;
    column-gap: 1rem;
}

@media (max-width: 991px) {
.masonry-grid {
    columns: 2;
}
}

@media (max-width: 575px) {
.masonry-grid {
    columns: 1;
}
}
.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    background: var(--gray-light);
}
.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.masonry-item:hover img {
    transform: scale(1.06);
}
.masonry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7,60,91,0.82) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.35s;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}
.masonry-item:hover .masonry-overlay {
    opacity: 1;
}
.masonry-caption {
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
}
.masonry-caption i {
    color: var(--secondary);
    margin-right: 0.4rem;
    font-size: 0.75rem;
}
.masonry-pill {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 2px;
    color: var(--white);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s, transform 0.3s;
}
.masonry-item:hover .masonry-pill {
    opacity: 1;
    transform: translateY(0);
}
.pill-food {
    background: var(--primary);
}
.pill-edu {
    background: #b8860b;
}
.pill-senior {
    background: var(--accent2);
}
.pill-community {
    background: #4a6741;
}
.masonry-expand {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
    backdrop-filter: blur(4px);
}
.masonry-item:hover .masonry-expand {
    opacity: 1;
}
.masonry-expand:hover {
    background: var(--secondary);
    color: var(--accent1);
    border-color: var(--secondary);
}
/* ─── LIGHTBOX ──────────────────────────────────────── */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(2,35,58,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    padding: 2rem;
}
#lightbox.active {
    opacity: 1;
    pointer-events: all;
}
#lightbox-inner {
    position: relative;
    max-width: 900px;
    width: 100%;
}
#lightbox-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}
#lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.75);
    font-size: 0.88rem;
}
#lightbox-close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
#lightbox-close:hover {
    color: var(--secondary);
}
#lightbox-prev, #lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    font-size: 0.9rem;
}
#lightbox-prev {
    left: -3.5rem;
}
#lightbox-next {
    right: -3.5rem;
}
#lightbox-prev:hover, #lightbox-next:hover {
    background: var(--secondary);
    color: var(--accent1);
    border-color: var(--secondary);
}

@media (max-width: 768px) {
#lightbox-prev {
    left: -1.75rem;
}
#lightbox-next {
    right: -1.75rem;
}
}
/* ─── CONTACT ───────────────────────────────────────── */
#contact {
    background: var(--accent1);

    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}
#contact::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(16,128,191,0.18);
}
#contact::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(241,183,70,0.1);
}
.contact-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
}
.contact-wrap .section-label {
    color: var(--secondary);
}
.contact-wrap .section-title {
    color: var(--white);
    margin-bottom: 1rem;
}
.contact-wrap p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto 2.5rem;
}
.contact-cards {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}
.contact-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 1.75rem 1.5rem;
    text-align: center;
    min-width: 180px;
    color: var(--white);
    transition: background 0.25s, border-color 0.25s;
    cursor: default;
}
.contact-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(241,183,70,0.35);
}
.contact-card strong {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.35rem;
    margin-top: 0.4rem;
}
.contact-card span {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.85);
}
/* ─── FOOTER ────────────────────────────────────────── */
footer {
    background: #02233a;
    padding: 2rem 0;
    text-align: center;
}
footer p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
    margin: 0;
    letter-spacing: 0.04em;
}
footer a {
    color: var(--secondary);
    text-decoration: none;
}
/* ─── SCROLL ANIMATIONS ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
}

/* ─── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
.nav-links {
    display: none;
}
#mission {
    padding: 4rem 0;
}
.mission-badge {
    left: 0.75rem;
    bottom: -1rem;
}
#programs {
    padding: 4rem 0;
}
#contact {
    padding: 4rem 0;
}
.hero-content {
    padding: 0 1.25rem;
}
.hero-icon-row {
    gap: 1rem;
}
}

@media (prefers-reduced-motion: reduce) {
* {
    animation: none !important;
    transition: none !important;
}
}