:root {
    --red: #ed1b24;
    --yellow: #f4ea68;
    --green: #30b44a;
    --blue: #3e3a6d;
    --purple: #982786;
    --orange: #f59d17;
    --dark: #1a1a1a;
    --light: #FAFAF7;
    --white: #ffffff;
    --dark-green: #064e3b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* ─── NAVBAR ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 62px;
    height: 62px;
}

.logo-img {
    object-fit: contain;
    width: 150%;
    height: 100%;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-size: .95rem;
    font-weight: 500;
    transition: color .2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transition: transform .25s;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    background: var(--purple);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: background .2s, transform .2s !important;
}

.nav-cta:hover {
    background: var(--dark) !important;
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all .3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px 5%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
    z-index: 998;
    flex-direction: column;
    gap: 20px;
}

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

.mobile-menu a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* ─── HERO ─── */
#hero {
    min-height: 100vh;
    padding-top: 72px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    background: var(--white);
    overflow: hidden;
    position: relative;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
    pointer-events: none;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--yellow);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--green);
    bottom: 50px;
    left: -60px;
}

.hero-left {
    padding: 80px 5% 80px 8%;
    position: relative;
    z-index: 1;

}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--yellow);
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-tag span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}

.hero-left h1 {
    font-family: 'PT Sans', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;

}

.hero-left h1 em {
    font-style: normal;
    color: var(--purple);
}

/* .hero-left h1 .stroke-text {
    -webkit-text-stroke: 2px var(--red);
    color: transparent;
  } */

.hero-left p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .2s, background .2s;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--purple);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--purple);
    cursor: pointer;
    transition: all .2s;
    display: inline-block;
}

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

.hero-right {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-right .tree-patterns {
    position: relative;
    left: auto;
    bottom: auto;
    width: 80%;
    max-width: 500px;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

.hero-tile {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.hero-tile:hover img {
    transform: scale(1.05);
}

.hero-tile.color-block {
    padding: 24px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.hero-tile.color-block p {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.tile-c1 {
    background: var(--red);
}

.tile-c2 {
    background: var(--blue);
}

.tile-c3 {
    background: var(--yellow);
}

.tile-c3 p {
    color: var(--dark);
}

.tile-c4 {
    background: var(--green);
}

.tile-c5 {
    background: var(--purple);
}

.tile-c6 {
    background: var(--orange);
}

/* ─── MARQUEE ─── */
.marquee-wrap {
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
    padding: 18px 0;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    gap: 60px;
    animation: marquee 18s linear infinite;
}

.marquee-inner span {
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.marquee-inner .dot-sep {
    color: var(--yellow);
    font-size: 1.4rem;
    line-height: 1;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ─── SECTION SHARED ─── */
section {
    padding: 100px 8%;
}

.section-label {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-family: 'PT Sans', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}

.section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    max-width: 600px;
    margin-bottom: 56px;
}

/* ─── IMPACT GRID ─── */
#impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0;
    width: 100%;
    background: var(--white);
}

.impact-card {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
}

.impact-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delays */
.impact-card:nth-child(1) {
    transition-delay: 0.1s;
}

.impact-card:nth-child(2) {
    transition-delay: 0.2s;
}

.impact-card:nth-child(3) {
    transition-delay: 0.3s;
}

.impact-card:nth-child(4) {
    transition-delay: 0.4s;
}

.impact-card:nth-child(5) {
    transition-delay: 0.5s;
}

.impact-card:nth-child(6) {
    transition-delay: 0.1s;
}

.impact-card:nth-child(7) {
    transition-delay: 0.2s;
}

.impact-card:nth-child(8) {
    transition-delay: 0.3s;
}

.impact-card:nth-child(9) {
    transition-delay: 0.4s;
}

.impact-card:nth-child(10) {
    transition-delay: 0.5s;
}

.impact-card h3 {
    font-family: 'PT Sans', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 1.2;
}

.impact-card.long-text h3 {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.impact-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.impact-card.full-img {
    padding: 0;
}

.impact-card.full-img .impact-logo {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    object-fit: cover;
    filter: none;
}

.grayscale {
    filter: grayscale(100%) !important;
}

.impact-card.reveal:hover {
    z-index: 2;
    transform: translateY(0) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Colors */
.bg-red {
    background-color: var(--red);
    color: var(--white);
}

.bg-cyan {
    background-color: #02B3CF;
    color: var(--white);
}

.bg-yellow {
    background-color: var(--yellow);
    color: var(--dark);
}

.bg-green {
    background-color: var(--green);
    color: var(--white);
}

.bg-blue {
    background-color: var(--blue);
    color: var(--white);
}

.bg-purple {
    background-color: var(--purple);
    color: var(--white);
}

.bg-orange {
    background-color: #F59C1A;
    color: var(--white);
}

.bg-dark-green {
    background-color: var(--dark-green);
    color: var(--white);
}

.bg-light-grey {
    background-color: #f0f0f0;
    color: var(--dark);
}

.bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.bg-grey {
    background-color: #333333;
    color: var(--white);
}

.bg-bright-yellow {
    background-color: #EFE01D;
    color: #000;
}

.bg-hope-green {
    background-color: #30B34A;
    color: #000;
}


/* ─── WHAT IS HOPE ─── */
#what {
    background: var(--light);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.what-visual {
    position: relative;
}

.what-img {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.what-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

.what-stats-new {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    min-width: 140px;
}

.stat-item .num-wrapper {
    display: flex;
    align-items: baseline;
    font-family: 'PT Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--purple);
    line-height: 1;
}

.stat-item .suffix {
    font-size: 1.4rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-item p {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── DUAL CHAMBER ─── */
#philosophy {
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

#philosophy .section-title {
    color: var(--white);
}

#philosophy .section-sub {
    color: rgba(255, 255, 255, .65);
    margin: 0 auto 64px;
}

.chambers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: left;
}

.chamber-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.chamber-inner {
    padding: 48px 40px;
    height: 100%;
    position: relative;
    z-index: 1;
}

.chamber-card.inward {
    background: linear-gradient(135deg, var(--purple) 0%, #3d1c70 100%);
}

.chamber-card.outward {
    background: linear-gradient(135deg, var(--green) 0%, #1a6b1a 100%);
}

.chamber-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.chamber-card h3 {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.chamber-card .sub-label {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 20px;
    display: block;
}

.chamber-card p {
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    margin-bottom: 32px;
}

.chamber-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chamber-tag {
    background: rgba(255, 255, 255, .15);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chamber-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yellow);
}

/* ─── CONTACT FORM MESSAGES ─── */
.form-success-message,
.form-error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    animation: slideUp 0.4s ease-out;
}

.form-success-message {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 1px solid #b8daff;
    color: #155724;
}

.form-error-message {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.success-icon,
.error-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.success-icon {
    background: #28a745;
    color: white;
}

.error-icon {
    background: #dc3545;
    color: white;
}

.field-error {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    font-weight: 500;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

#programs {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

#programs .floating-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#programs .f-pattern {
    opacity: 0.1 !important;
}

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.parallax-pattern {
    position: absolute;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-pattern img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.08;
}

.layer-1 .parallax-pattern {
    top: 10%;
    left: 10%;
}

.layer-2 .parallax-pattern {
    top: 60%;
    right: 15%;
}

.layer-3 .parallax-pattern {
    bottom: 20%;
    left: 70%;
}

.programs-content {
    position: relative;
    z-index: 2;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 20px;
}

.prog-card {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .04);
    position: relative;
    display: flex;
    flex-direction: column;
}

.prog-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, .1);
}

.prog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 2;
}

/* Dynamic glow based on child index */
.prog-card:nth-child(1):hover {
    box-shadow: 0 15px 40px rgba(237, 27, 36, 0.2);
    border-color: rgba(237, 27, 36, 0.3);
}

.prog-card:nth-child(2):hover {
    box-shadow: 0 15px 40px rgba(62, 58, 109, 0.2);
    border-color: rgba(62, 58, 109, 0.3);
}

.prog-card:nth-child(3):hover {
    box-shadow: 0 15px 40px rgba(48, 180, 74, 0.2);
    border-color: rgba(48, 180, 74, 0.3);
}

.prog-card:nth-child(4):hover {
    box-shadow: 0 15px 40px rgba(244, 234, 104, 0.2);
    border-color: rgba(244, 234, 104, 0.3);
}

.prog-card:nth-child(5):hover {
    box-shadow: 0 15px 40px rgba(152, 39, 134, 0.2);
    border-color: rgba(152, 39, 134, 0.3);
}

.prog-card:nth-child(6):hover {
    box-shadow: 0 15px 40px rgba(245, 157, 23, 0.2);
    border-color: rgba(245, 157, 23, 0.3);
}

.prog-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.prog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.prog-color-bar {
    height: 5px;
}

.bar-red {
    background: var(--red);
}

.bar-blue {
    background: var(--blue);
}

.bar-green {
    background: var(--green);
}

.bar-yellow {
    background: var(--yellow);
}

.bar-purple {
    background: var(--purple);
}

.bar-orange {
    background: var(--orange);
}

.prog-body {
    padding: 32px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prog-body h4 {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.prog-body h4 i,
.prog-body h4 span {
    font-size: 1.4rem;
}

.prog-body p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

#about {
    background: #915f14;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    color: var(--white);
}

#about .section-label {
    color: var(--yellow);
}

#about .section-title {
    color: var(--white);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.value-row {
    display: flex;
    align-items: center;
    gap: 16px;
    /* background: rgba(255, 255, 255, .1); */
    border-radius: 14px;
    padding: 16px 20px;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}

.value-row:hover {
    background: rgba(255, 255, 255, 0.15);
}

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent !important;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-row h5 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--white);
}

.value-row p {
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.about-img-tile {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
}

.about-img-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-tile.span2 {
    grid-column: 1 / -1;
    aspect-ratio: 2/1;
}

/* ─── LOGO MEANING ─── */
#logo-section {
    background: var(--white);
    text-align: center;
}

#logo-section .section-title {
    margin: 0 auto 16px;
}

#logo-section .section-sub {
    margin: 0 auto 64px;
}

.logo-meanings {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
}

.logo-card {
    border-radius: 24px;
    padding: 40px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}

.logo-card:hover {
    transform: translateY(-10px);
}

/* Glow effects for each card category */
.logo-card.lc1 {
    box-shadow: 0 10px 30px rgba(152, 39, 134, 0.05);
}

.logo-card.lc1:hover {
    box-shadow: 0 20px 40px rgba(152, 39, 134, 0.15);
    border-color: rgba(152, 39, 134, 0.2);
}

.logo-card.lc2 {
    box-shadow: 0 10px 30px rgba(48, 180, 74, 0.05);
}

.logo-card.lc2:hover {
    box-shadow: 0 20px 40px rgba(48, 180, 74, 0.15);
    border-color: rgba(48, 180, 74, 0.2);
}

.logo-card.lc3 {
    box-shadow: 0 10px 30px rgba(245, 157, 23, 0.05);
}

.logo-card.lc3:hover {
    box-shadow: 0 20px 40px rgba(245, 157, 23, 0.15);
    border-color: rgba(245, 157, 23, 0.2);
}

.logo-card .card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-card .card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-card h4 {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--dark);
}

.logo-card .logo-sub {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    display: block;
    font-weight: 700;
}

.logo-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
}

#patterns {
    background: var(--light);
    position: relative;
}

#patterns .floating-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

#patterns .f-pattern {
    opacity: 0.15 !important;
}

.pax-spacer {
    height: 800vh;
    position: relative;
}

.pax-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 80px 5%;
}

.pax-stage {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pax-card {
    position: absolute;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 500px;
    max-width: 90%;
    opacity: 0;
    transform: translateY(150px) scale(0.7);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
    pointer-events: none;
}

.pax-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    z-index: 100;
    pointer-events: all;
}

.pax-card.stacked {
    opacity: 0.1;
    transform: translateY(-40px) scale(0.9);
    filter: blur(2px);
    z-index: 50;
}

.pax-card.stacked-deep {
    opacity: 0;
    transform: translateY(-80px) scale(0.8);
    z-index: 10;
}

.pax-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pax-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pax-text h4 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    font-family: 'PT Sans', sans-serif;
}

.pax-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #777;
}

.pax-stage.final-row {
    margin-left: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 4px;
    height: auto;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    transform: translateX(60px);
}

.pax-stage.final-row .pax-card {
    position: relative;
    width: 180px;
    padding: 0;
    opacity: 1;
    transform: none !important;
    filter: none !important;
    background: transparent;
    box-shadow: none;
    margin: 0;
    border: none;
    cursor: pointer;
    /* Smooth reveal followed by a jump */
    animation: paxReveal 1s cubic-bezier(0.25, 1, 0.5, 1) both,
        paxJump 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pax-stage.final-row .pax-card:hover {
    transform: scale(1.1) !important;
}

.pax-stage.final-row .pax-card:hover .pax-text h4 {
    color: var(--purple);
}

.pax-stage.final-row .pax-card:nth-child(1) {
    animation-delay: 0.1s, 1.8s;
}

.pax-stage.final-row .pax-card:nth-child(2) {
    animation-delay: 0.2s, 2.0s;
}

.pax-stage.final-row .pax-card:nth-child(3) {
    animation-delay: 0.3s, 2.2s;
}

.pax-stage.final-row .pax-card:nth-child(4) {
    animation-delay: 0.4s, 2.4s;
}

.pax-stage.final-row .pax-card:nth-child(5) {
    animation-delay: 0.5s, 2.6s;
}

.pax-stage.final-row .pax-card:nth-child(6) {
    animation-delay: 0.6s, 2.8s;
}

.pax-stage.final-row .pax-card:nth-child(7) {
    animation-delay: 0.7s, 3.0s;
}

@keyframes paxReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.6);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes paxJump {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-30px);
    }
}

.pax-stage.final-row .pax-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 16px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pax-stage.final-row .pax-card:hover .pax-icon {
    transform: translateY(-10px) rotate(5deg);
}

.pax-stage.final-row .pax-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #777;
}

.pax-stage.final-row .pax-text p {
    display: none;
}

@media (max-width: 960px) {
    .pax-card {
        width: 400px;
    }

    .pax-stage.final-row {
        margin-left: 0 !important;
        gap: 12px;
        transform: translateX(0) !important;
        justify-content: center;
    }

    .pax-stage.final-row .pax-card {
        width: 110px;
    }

    .pax-stage.final-row .pax-icon {
        width: 65px;
        height: 65px;
    }
}

@media (max-width: 680px) {
    .pax-sticky {
        padding: 40px 5%;
    }

    .pax-card {
        width: 340px;
        padding: 30px;
    }

    .pax-text h4 {
        font-size: 1.5rem;
    }

    .pax-text p {
        font-size: 0.95rem;
    }

    .pax-stage.final-row {
        margin-left: 0 !important;
        gap: 8px;
        transform: translateX(0) !important;
        justify-content: center;
    }

    .pax-stage.final-row .pax-card {
        width: 85px;
    }

    .pax-stage.final-row .pax-icon {
        width: 50px;
        height: 50px;
    }

    .pax-stage.final-row .pax-text h4 {
        font-size: 0.7rem;
    }
}

/* ─── GET INVOLVED ─── */
#get-involved {
    background-color: var(--dark-green);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

#get-involved .section-title {
    color: var(--white);
}

#get-involved .section-sub {
    color: rgba(255, 255, 255, .8);
    margin: 0 auto 56px;
}

.involve-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.involve-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 48px 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: center;
}

.involve-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.involve-card .ic-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 12px;
}

.involve-card .ic-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.involve-card h4 {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.involve-card p {
    font-size: .95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.btn-white {
    background: var(--white);
    color: var(--purple);
    padding: 18px 48px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    background: var(--purple);
    color: var(--white);
}

/* ─── CONTACT ─── */
#contact {
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 15px;
}

.form-group label {
    font-size: .85rem;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: .95rem;
    outline: none;
    transition: border-color .2s;
    background: var(--light);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--purple);
}

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

.contact-info {
    padding-top: 8px;
}

.contact-info h3 {
    font-family: 'PT Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-info p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 32px;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: var(--light);
}

.info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-item h5 {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: .9rem;
}

.info-item p {
    font-size: .9rem;
    color: #666;
    margin: 0;
}

/* ─── FOOTER ─── */
footer {
    background: #1b1632;
    color: var(--white);
    padding: 64px 8% 32px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    margin-bottom: 32px;
}

.footer-brand .logo-text {
    img {
        width: 100px;
        margin-bottom: 25px;
    }
}

.footer-brand p {
    font-size: .9rem;
    color: var(--white);
    line-height: 1.7;
    max-width: 280px;
    opacity: 0.8;
}

.footer-col h5 {
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--white);
    font-size: .9rem;
    transition: opacity .2s;
    opacity: 0.7;
}

.footer-col ul a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: .85rem;
    color: var(--white);
    opacity: 0.6;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: transform .2s, background .2s;
}

.social-btn:hover {
    transform: translateY(-3px);
}

.sb1 {
    background: var(--blue);
    color: white;
}

.sb2 {
    background: var(--red);
    color: white;
}

.sb3 {
    background: var(--green);
    color: white;
}

/* ─── COLOR STRIP ─── */
.color-strip {
    height: 6px;
    background: linear-gradient(to right,
            var(--red) 0%, var(--red) 16.66%,
            var(--yellow) 16.66%, var(--yellow) 33.33%,
            var(--green) 33.33%, var(--green) 50%,
            var(--blue) 50%, var(--blue) 66.66%,
            var(--purple) 66.66%, var(--purple) 83.33%,
            var(--orange) 83.33%, var(--orange) 100%);
}

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .7s ease, transform .7s ease;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .7s ease, transform .7s ease;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity .7s ease, transform .7s ease;
}

.scale-up.visible {
    opacity: 1;
    transform: scale(1);
}

.fade-in {
    opacity: 0;
    transition: opacity .8s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* ─── FLOATING PATTERNS ─── */
.floating-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.f-pattern {
    position: absolute;
    opacity: 0.7;
    animation: enter-pop 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards,
        float-anim 6s ease-in-out infinite 0.8s;
}

.f-pattern img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes enter-pop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0.7;
    }
}

@keyframes float-anim {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-30px) rotate(8deg);
    }
}

.fp-1 {
    width: 70px;
    top: 12%;
    left: 8%;
    animation-delay: 0.1s, 0.9s;
}

.fp-2 {
    width: 90px;
    top: 65%;
    left: 4%;
    animation-delay: 0.2s, 1s;
}

.fp-3 {
    width: 60px;
    top: 8%;
    right: 12%;
    animation-delay: 0.3s, 1.1s;
}

.fp-4 {
    width: 85px;
    top: 75%;
    right: 7%;
    animation-delay: 0.4s, 1.2s;
}

.fp-5 {
    width: 55px;
    top: 38%;
    left: 42%;
    animation-delay: 0.5s, 1.3s;
}

.fp-6 {
    width: 100px;
    top: 22%;
    right: 38%;
    animation-delay: 0.6s, 1.4s;
}

.fp-7 {
    width: 65px;
    top: 82%;
    left: 28%;
    animation-delay: 0.7s, 1.5s;
}

.fp-8 {
    width: 75px;
    top: 15%;
    left: 35%;
    animation-delay: 0.8s, 1.6s;
}

.fp-9 {
    width: 55px;
    top: 70%;
    right: 25%;
    animation-delay: 0.9s, 1.7s;
}

.fp-10 {
    width: 80px;
    top: 45%;
    left: 15%;
    animation-delay: 1.0s, 1.8s;
}

.fp-11 {
    width: 60px;
    top: 25%;
    right: 20%;
    animation-delay: 1.1s, 1.9s;
}

.fp-12 {
    width: 70px;
    top: 88%;
    right: 35%;
    animation-delay: 1.2s, 2.0s;
}

.fp-13 {
    width: 65px;
    top: 5%;
    left: 60%;
    animation-delay: 1.3s, 2.1s;
}

.fp-14 {
    width: 85px;
    top: 60%;
    right: 10%;
    animation-delay: 1.4s, 2.2s;
}

.fp-15 {
    width: 50px;
    top: 35%;
    right: 45%;
    animation-delay: 1.5s, 2.3s;
}

.fp-16 {
    width: 75px;
    top: 92%;
    left: 5%;
    animation-delay: 1.6s, 2.4s;
}

/* Card hover animations */
.prog-card {
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.prog-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
}

.stat-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    border-left: 4px solid var(--red);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    transition: transform .3s, box-shadow .3s;
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.chamber-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform .3s, box-shadow .3s;
}

.chamber-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.involve-card {
    background: rgba(255, 255, 255, .1);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    transition: background .3s, transform .3s, box-shadow .3s;
}

.involve-card:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

.logo-card {
    border-radius: 20px;
    padding: 32px;
    transition: transform .3s, box-shadow .3s;
}

.logo-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .1);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 14px;
    background: var(--light);
    transition: transform .3s, box-shadow .3s;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

/* ─── TREE SVG PLACEMENT ─── */
.tree-patterns {
    position: absolute;
    left: 5%;
    bottom: 10%;
    width: 320px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 1200px) {
    .tree-patterns {
        display: none;
    }
}

@media (max-width: 680px) {
    .tree-patterns {
        display: none;
    }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
    #hero {
        grid-template-columns: 1fr;
    }

    .hero-right {
        height: 50vw;
        min-height: 300px;
    }

    .hero-left {
        padding: 60px 5%;
    }

    #what,
    #about,
    #contact {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .what-badge {
        right: 0;
        bottom: -20px;
    }

    .chambers,
    .programs-grid,
    .logo-meanings,
    .involve-cards {
        grid-template-columns: 1fr 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    section {
        padding: 72px 5%;
    }

    .hero-btns {
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-start;
    }

    .btn-primary,
    .btn-outline {
        padding: 12px 20px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .f-pattern {
        opacity: 0.2 !important;
    }

    .hero-left h1 {
        font-size: 2.4rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .chambers,
    .programs-grid,
    .logo-meanings,
    .involve-cards,
    .what-stats-new {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

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

    #impact-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(10, 1fr);
    }

    .about-image-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .about-img-tile.span2 {
        grid-column: auto;
        aspect-ratio: 1;
    }
}