/*
Theme Name: Saira Foundation (Interactive Elite)
Theme URI: https://sairafoundation.org
Description: A highly interactive, animated, and modern NGO theme — Charitics-style design.
Version: 6.0.0
*/

/* ═══════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════ */
:root {
    --c-dark: #1a1d2e;
    --c-darker: #141627;
    --c-card: #212438;
    --c-orange: #e1af1f;
    --c-orange-dark: #c49114;
    --c-gold: #e1af1f;
    --c-white: #ffffff;
    --c-off: #ffffff;
    --c-text: #4a4a4a;
    --c-muted: #6c757d;
    --c-light: rgba(255, 255, 255, .72);
    --c-border: rgba(0, 0, 0, .07);

    --ff-head: 'Outfit', sans-serif;
    --ff-body: 'Inter', sans-serif;

    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 28px;
    --r-xl: 48px;
    --r-full: 9999px;

    --shadow-sm: 0 4px 20px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, .10);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, .14);
    --shadow-org: 0 8px 30px rgba(225, 175, 31, .35);

    --tr: .3s cubic-bezier(.4, 0, .2, 1);
    --section-pad: 100px 0;
}

/* ═══════════════════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--ff-body);
    background: var(--c-off);
    color: var(--c-text);
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--tr);
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--ff-head);
    color: var(--c-dark);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.02em;
}

h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--c-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

/* ═══════════════════════════════════════════════════════════════════
   3. LAYOUT UTILITIES
   ═══════════════════════════════════════════════════════════════════ */
.container {
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 40px;
}

.section {
    padding: var(--section-pad);
}

.section--sm {
    padding: 60px 0;
}

.section--lg {
    padding: 140px 0;
}

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

.bg-darker {
    background: var(--c-darker);
}

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

.bg-off {
    background: var(--c-off);
}

.bg-orange {
    background: var(--c-orange);
}

.text-white {
    color: var(--c-white) !important;
}

.text-orange {
    color: var(--c-orange) !important;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* ═══════════════════════════════════════════════════════════════════
   4. BUTTONS
   ═══════════════════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: var(--r-full);
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--tr), transform var(--tr), box-shadow var(--tr), color var(--tr), border-color var(--tr);
    white-space: nowrap;
    text-decoration: none;
}

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

.btn-primary {
    background: var(--c-orange);
    color: #fff;
    border-color: var(--c-orange);
    box-shadow: var(--shadow-org);
}

.btn-primary:hover {
    background: var(--c-orange-dark);
    border-color: var(--c-orange-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--c-white);
    color: var(--c-dark);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-md);
    background: var(--c-off);
}

.btn-outline {
    background: transparent;
    color: var(--c-orange);
    border-color: var(--c-orange);
}

.btn-outline:hover {
    background: var(--c-orange);
    color: #fff;
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, .1);
    border-color: #fff;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 22px;
    font-size: .85rem;
}

/* ═══════════════════════════════════════════════════════════════════
   5. SECTION HEADERS
   ═══════════════════════════════════════════════════════════════════ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .12em;
    font-size: .78rem;
    color: var(--c-orange);
    margin-bottom: 18px;
}


.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 20px;
    line-height: 1.15;
}

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

.section-subtitle {
    color: var(--c-muted);
    font-size: 1.05rem;
    max-width: 580px;
    line-height: 1.8;
}

.section-header {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════════
   6. HEADER / NAV
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    inset-block-start: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: var(--c-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: background var(--tr), padding var(--tr), box-shadow var(--tr);
}

.site-header.scrolled {
    background: var(--c-white);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .08);
    padding: 12px 0;
}

/* On non-hero pages, header is always dark */
.no-hero .site-header {
    background: var(--c-white);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img {
    height: 50px;
    width: 110px;
    border-radius: 50%;
    
    
}

.logo-text {
    font-family: var(--ff-head);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--c-gold);
}

.logo-text em {
    font-style: normal;
    color: var(--c-gold);
}

/* Nav */
.main-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link,
.nav-list a {
    font-family: var(--ff-head);
    font-size: .92rem;
    font-weight: 600;
    color: var(--c-gold);
    padding: 8px 14px;
    border-radius: var(--r-sm);
    transition: color var(--tr), background var(--tr);
}

.nav-link:hover,
.nav-list a:hover,
.nav-link.is-active,
.nav-list .current-menu-item>a {
    color: var(--c-white);
    background: var(--c-gold);
}

/* Dropdown Menu Styling */
.menu-item-has-children {
    position: relative;
    padding-bottom: 2px;
}

.menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
}

.dropdown-icon {
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover .dropdown-icon {
    transform: rotate(180deg);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    min-width: 220px;
    background: var(--c-white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    padding: 12px 10px;
    margin: 4px 0 0 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    padding: 0;
    margin: 4px 0;
}

.sub-menu .nav-link {
    display: block;
    padding: 10px 16px;
    color: var(--c-dark) !important;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: var(--r-sm);
    background: transparent !important;
    transition: color 0.3s ease, background 0.3s ease;
}

.sub-menu .nav-link:hover,
.sub-menu .nav-link.is-active {
    color: var(--c-orange) !important;
    background: rgba(225, 175, 31, 0.08) !important;
    font-weight: 600;
}

/* Header CTA */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-donate-nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-orange);
    color: #fff;
    padding: 12px 24px;
    border-radius: var(--r-full);
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: .88rem;
    box-shadow: var(--shadow-org);
    transition: background var(--tr), transform var(--tr);
}

.btn-donate-nav:hover {
    background: var(--c-orange-dark);
    transform: translateY(-1px);
    color: #fff;
}

.btn-donate-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .25);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 8px;
    letter-spacing: -2px;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--c-gold);
    border-radius: 2px;
    transition: transform var(--tr), opacity var(--tr);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ═══════════════════════════════════════════════════════════════════
   7. HERO (Charitics exact layout)
   ═══════════════════════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-inner-wrap {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    min-height: 100vh;
    width: 100%;
    align-items: stretch;
}

.hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 60px 100px 80px;
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.hero-badge-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-orange);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.hero-heading {
    font-family: var(--ff-head);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    color: black;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -.03em;
}

.hero-heading__accent {
    color: var(--c-orange);
}

.hero-para {
    color: rgba(255, 255, 255, .72);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 44px;
    max-width: 480px;
}

.hero-actions-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.hero-btn-donate {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--c-orange);
    color: #fff;
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 18px 36px;
    border-radius: var(--r-full);
    box-shadow: var(--shadow-org);
    transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}

.hero-btn-donate:hover {
    background: var(--c-orange-dark);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 12px 36px rgba(225, 175, 31, .5);
}

.hero-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .25);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 9px;
    letter-spacing: -3px;
    flex-shrink: 0;
}

.hero-donors {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-donors__avatars {
    display: flex;
    align-items: center;
}

.hero-donors__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid var(--c-dark);
    margin-right: -12px;
    flex-shrink: 0;
}

.hero-donors__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--c-orange);
    color: #fff;
    font-size: .68rem;
    font-weight: 800;
    margin-right: -12px;
    border: 3px solid var(--c-dark);
    flex-shrink: 0;
}

.hero-donors__label {
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.4;
    padding-left: 20px;
}

/* Right image column */
.hero-img-col {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.hero-img-blob {
    position: absolute;
    inset: 0;
    clip-path: ellipse(100% 100% at 60% 50%);
}

.hero-img-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 0 !important;
    transition: transform 10s ease;
}

.hero-img-photo:hover {
    transform: scale(1.04);
}

/* Decorative blobs */
.hero-decor {
    position: absolute;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-decor__plant {
    position: absolute;
    border-radius: 50%;
    opacity: .12;
}

.hero-decor__plant--1 {
    width: 140px;
    height: 140px;
    background: #4caf50;
    left: -20px;
    bottom: 10px;
}

.hero-decor__plant--2 {
    width: 90px;
    height: 90px;
    background: var(--c-orange);
    left: 90px;
    bottom: 70px;
}

/* ═══════════════════════════════════════════════════════════════════
   8. PAGE HERO (inner pages — no image column)
   ═══════════════════════════════════════════════════════════════════ */
.page-hero {
    background: var(--c-dark);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(225, 175, 31, .18) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero__tag {
    color: var(--c-orange);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .85rem;
    margin-bottom: 16px;
}

.page-hero__title {
    color: var(--c-white);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.page-hero__sub {
    color: rgba(255, 255, 255, .7);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 600px;
    margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════════
   9. CARDS
   ═══════════════════════════════════════════════════════════════════ */
.card {
    background: var(--c-white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    transition: transform var(--tr), box-shadow var(--tr);
    overflow: hidden;
}

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

.feature-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    padding: 44px 36px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr), box-shadow var(--tr);
}

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

.card-icon {
    width: 72px;
    height: 72px;
    background: rgba(225, 175, 31, .1);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: transform .5s ease;
}

.feature-card:hover .card-icon {
    transform: rotate(8deg) scale(1.1);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-orange);
    font-weight: 700;
    font-size: .9rem;
    margin-top: 16px;
    transition: gap var(--tr);
}

.card-link:hover {
    gap: 10px;
}

.card-link::after {
    content: '→';
}

/* ═══════════════════════════════════════════════════════════════════
   10. GRIDS
   ═══════════════════════════════════════════════════════════════════ */
.cards-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cards-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ═══════════════════════════════════════════════════════════════════
   11. STAT BOXES
   ═══════════════════════════════════════════════════════════════════ */
.stat-box {
    background: var(--c-white);
    border-radius: var(--r-md);
    padding: 36px 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--c-border);
    transition: transform var(--tr);
}

.stat-box:hover {
    transform: translateY(-4px);
}

.stat-box__number {
    font-family: var(--ff-head);
    font-size: 3rem;
    font-weight: 800;
    color: var(--c-orange);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-box__label {
    color: var(--c-muted);
    font-size: .9rem;
    font-weight: 600;
}

/* Dark stat variant */
.stat-box--dark {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
}

.stat-box--dark .stat-box__number {
    color: var(--c-orange);
}

.stat-box--dark .stat-box__label {
    color: rgba(255, 255, 255, .7);
}

/* ═══════════════════════════════════════════════════════════════════
   12. TEAM CARDS
   ═══════════════════════════════════════════════════════════════════ */
.team-card {
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: 40px 28px 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--c-border);
    transition: transform var(--tr), box-shadow var(--tr);
}

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

.team-card__photo-wrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid rgba(225, 175, 31, .2);
    box-shadow: 0 0 0 6px rgba(225, 175, 31, .08);
}

.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 0 !important;
}

.team-card__role {
    display: inline-block;
    background: rgba(225, 175, 31, .1);
    color: var(--c-orange);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--r-full);
    margin-bottom: 14px;
}

.team-card__name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--c-dark);
    margin-bottom: 4px;
}

.team-card__org {
    color: var(--c-muted);
    font-size: .85rem;
    margin-bottom: 14px;
}

.team-card__bio {
    color: var(--c-muted);
    font-size: .9rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════════
   13. IMAGES
   ═══════════════════════════════════════════════════════════════════ */
.img-rounded {
    border-radius: var(--r-lg);
}

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

.about-img-wrap {
    position: relative;
}

.about-img-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--c-orange);
    color: #fff;
    padding: 20px 24px;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-org);
    font-family: var(--ff-head);
    font-weight: 800;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.3;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
}

/* ═══════════════════════════════════════════════════════════════════
   14. PHILOSOPHY / CTA STRIPS
   ═══════════════════════════════════════════════════════════════════ */
.cta-strip {
    background: var(--c-dark);
    border-radius: var(--r-xl);
    padding: 60px 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-strip__text h2 {
    color: var(--c-white);
    margin-bottom: 10px;
}

.cta-strip__text p {
    color: rgba(255, 255, 255, .7);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   15. CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--c-white);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 16px;
    border: 1px solid var(--c-border);
}

.contact-info-item i {
    width: 48px;
    height: 48px;
    background: rgba(225, 175, 31, .1);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--c-dark);
}

.contact-info-item p {
    color: var(--c-muted);
    font-size: .9rem;
    margin: 0;
}

/* Form */
.contact-form-wrap {
    background: var(--c-white);
    border-radius: var(--r-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--c-border);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--c-dark);
    margin-bottom: 10px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--c-off);
    border: 2px solid transparent;
    border-radius: var(--r-sm);
    font-family: var(--ff-body);
    font-size: .95rem;
    color: var(--c-dark);
    transition: border-color var(--tr), background var(--tr), box-shadow var(--tr);
}

.form-control:focus {
    outline: none;
    background: var(--c-white);
    border-color: var(--c-orange);
    box-shadow: 0 0 0 4px rgba(225, 175, 31, .12);
}

/* ═══════════════════════════════════════════════════════════════════
   16. FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--c-darker);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-brand-name {
    font-family: var(--ff-head);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--c-white);
}

.footer-tagline {
    color: var(--c-gold);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .05em;
    margin-bottom: 14px;
}

.footer-desc {
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    transition: background var(--tr), color var(--tr), transform var(--tr);
    border: 1px solid rgba(255, 255, 255, .1);
}

.social-icon:hover {
    background: var(--c-orange);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col-title {
    font-family: var(--ff-head);
    font-size: .85rem;
    font-weight: 800;
    color: var(--c-white);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
    transition: color var(--tr), padding-left var(--tr);
}

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

.footer-contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, .55);
    font-size: .9rem;
}

.footer-contact-list i {
    color: var(--c-orange);
    font-size: .95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: inherit;
}

.footer-contact-list a:hover {
    color: var(--c-orange);
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--c-orange);
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--r-full);
    font-family: var(--ff-head);
    font-weight: 700;
    font-size: .88rem;
    margin-top: 20px;
    transition: background var(--tr), transform var(--tr);
}

.footer-cta-btn:hover {
    background: var(--c-orange-dark);
    transform: translateY(-2px);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding: 24px 0;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, .35);
    font-size: .85rem;
    margin: 0;
}

.footer-bottom-quote {
    font-style: italic;
    color: rgba(255, 255, 255, .25) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   17. ANIMATIONS
   ═══════════════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes float {

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

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

@keyframes pulse-org {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(225, 175, 31, .4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(225, 175, 31, 0);
    }
}

.floater {
    animation: float 6s ease-in-out infinite;
}

.pulse-org {
    animation: pulse-org 2.4s infinite;
}

/* fade-in-scroll: JS drives this (add .visible class) */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: none;
}

/* text-reveal: uses animation directly (controlled by JS adding class) */
.text-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.text-reveal.visible {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════════════════════════════════════════════════
   18. VISION / MISSION CARDS
   ═══════════════════════════════════════════════════════════════════ */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
}

.vm-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════════════
   19. GALLERY
   ═══════════════════════════════════════════════════════════════════ */
.gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
}

.gallery-item {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}

.gallery-icon img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    transition: transform var(--tr);
    border: none !important;
}

.gallery-icon img:hover {
    transform: translateY(-4px) scale(1.02);
}

.gallery-icon a {
    pointer-events: none;
    cursor: default;
}

.gallery br {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════
   20. EVENTS
   ═══════════════════════════════════════════════════════════════════ */
.event-content img:not(.aligncenter):not(.alignleft):not(.alignright):not(.gallery-icon img) {
    display: inline-block;
    width: 31%;
    height: 240px;
    object-fit: cover;
    margin: 0 1% 12px 0;
    border-radius: var(--r-md);
    vertical-align: top;
}

/* ═══════════════════════════════════════════════════════════════════
   21. MOBILE MENU OPEN STATE
   ═══════════════════════════════════════════════════════════════════ */
/* (controlled via JS + .open class) */

/* ═══════════════════════════════════════════════════════════════════
   22. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .about-grid {
        gap: 48px;
    }
}

/* Mobile-landscape */
@media (max-width: 900px) {
    :root {
        --section-pad: 72px 0;
    }

    .container {
        padding-inline: 24px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Header */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--c-darker);
        padding: 100px 32px 40px;
        transform: translateX(-100%);
        transition: transform var(--tr);
        z-index: 999;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 16px;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }



    /* Hero */
    .hero-inner-wrap {
        grid-template-columns: 1fr;
    }

    .hero-text-col {
        padding: 140px 32px 64px;
        max-width: 100%;
    }

    .hero-img-col {
        min-height: 55vw;
    }

    .hero-img-blob {
        clip-path: none;
    }

    /* Grids */
    .cards-3-col {
        grid-template-columns: 1fr;
    }

    .cards-2-col {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

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

    .cta-strip {
        padding: 40px 28px;
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile-portrait */
@media (max-width: 540px) {
    h1 {
        font-size: 1.9rem;
    }

    .hero-text-col {
        padding: 120px 20px 56px;
    }

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

    .hero-actions-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

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

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

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

    .contact-form-wrap {
        padding: 32px 24px;
    }

    .event-content img:not(.aligncenter):not(.alignleft):not(.alignright):not(.gallery-icon img) {
        width: 100%;
        margin: 0 0 12px 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   HERO SECTION — Charitics Style
   ═══════════════════════════════════════════════════════════════════ */

.hero {
    background: var(--c-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(225, 175, 31, .13) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 80%, rgba(234, 169, 42, .08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ── Left: Text ─────────────────────────────────────────────────── */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(225, 175, 31, .15);
    color: var(--c-orange);
    border: 1px solid rgba(225, 175, 31, .3);
    padding: 8px 18px;
    border-radius: var(--r-full);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
    width: fit-content;
}

.hero-heading {
    font-family: var(--ff-head);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.hero-heading--accent {
    color: var(--c-orange);
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .72);
    max-width: 540px;
    margin: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Social Proof Row ───────────────────────────────────────────── */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255, 255, 255, .65);
    font-size: .9rem;
    font-weight: 500;
}

.avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--c-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-left: -8px;
    flex-shrink: 0;
}

.avatars .avatar:first-child {
    margin-left: 0;
}

/* ── Right: Image + Blob ────────────────────────────────────────── */
.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-blob-mask {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    border-radius:20px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg), 0 0 0 1px rgba(225, 175, 31, .2);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.hero-blob-mask:hover .hero-img {
    transform: scale(1.04);
}

/* Floating accent bubble */
.hero-bubble {
    position: absolute;
    bottom: 32px;
    left: -24px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    border-radius: var(--r-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, .06);
    max-width: 200px;
    z-index: 10;
}

/* ── Hero Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-badge {
        margin: 0 auto;
    }

    .hero-sub {
        margin: 0 auto;
    }

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

    .hero-social-proof {
        justify-content: center;
    }

    .hero-image-wrap {
        order: -1;
    }

    .hero-blob-mask {
        max-width: 340px;
        aspect-ratio: 1;
    }

    .hero-bubble {
        bottom: 10px;
        left: 10px;
    }
}

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

    .hero-bubble {
        display: none;
    }
}

/* 
   TEAM GRID & CARDS
    */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 52px;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    padding: 36px 28px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--tr), transform var(--tr);
}

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

.team-card__photo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid rgba(225, 175, 31, .20);
    background: var(--c-off);
}

.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-card__role {
    display: inline-block;
    background: rgba(225, 175, 31, .10);
    color: var(--c-orange);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: var(--r-full);
    margin-bottom: 12px;
}

.team-card__name {
    font-family: var(--ff-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--c-dark);
    margin-bottom: 10px;
}

.team-card__bio,
.team-card__bio p {
    font-size: .9rem;
    line-height: 1.7;
    color: var(--c-muted);
    margin: 0;
}

/* 
   3-COLUMN CARDS GRID (events, programs)
    */

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

@media (max-width: 900px) {
    .cards-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .cards-3-col {
        grid-template-columns: 1fr;
    }
}

/* 
   INNER PAGE HERO BANNER
    */

.page-hero {
    background: var(--c-dark);
    padding: 100px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(225, 175, 31, .18) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-hero__tag {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--c-orange);
    margin-bottom: 16px;
}

.page-hero__title {
    font-family: var(--ff-head);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-hero__sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, .65);
    max-width: 640px;
    margin: 0 auto;
}

/* 
   GENERIC CARD (events page)
    */

.card {
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--tr), transform var(--tr);
}

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

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--c-orange);
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: gap var(--tr);
}

.card-link::after {
    content: ' ';
}

.card-link:hover {
    gap: 10px;
}