/*
Theme Name: Kawsay Global Impact Foundation
Theme URI: 
Author: Antigravity
Author URI: 
Description: A custom single-page WordPress theme for Kawsay Global Impact Foundation with full Customizer support.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kawsay
*/

:root {
  --ink: #0a0a0a;
  --navy: #111111;

  /* Primary Purple Theme */
  --blue: #AC1DB8;
  --violet: #8E1898;

  --accent: #AC1DB8;
  --accent-2: #C74BD1;
  --sky: #E7A5ED;
  --soft: #FDF5FE;

  --muted: #fafafa;
  --line: rgba(10, 10, 10, 0.08);
  --white: #ffffff;
  --gray: #525252;

  --r: 20px;
  --rs: 12px;

  --shadow: 0 4px 24px rgba(10, 10, 10, 0.06);
  --shadow-lg: 0 24px 64px rgba(10, 10, 10, 0.12);

  --gradient: linear-gradient(
      135deg,
      #8E1898 0%,
      #AC1DB8 50%,
      #C74BD1 100%
  );

  --gradient-warm: linear-gradient(
      135deg,
      #AC1DB8,
      #8E1898
  );

  --hero-overlay: linear-gradient(
      105deg,
      rgba(10,10,10,0.88) 0%,
      rgba(10,10,10,0.55) 42%,
      rgba(172,29,184,0.28) 100%
  );

  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--white); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--muted); }
::-webkit-scrollbar-thumb { background: var(--gradient); border-radius: 99px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 14px 24px 0; transition: padding 0.35s ease; }
#navbar.scrolled { padding-top: 10px; }
#navbar.scrolled .nav-inner { background: rgba(255,255,255,0.88); backdrop-filter: blur(20px) saturate(180%); box-shadow: var(--shadow-lg); border-color: var(--line); }
.nav-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 1.5rem; height: 64px; border-radius: 999px; border: 1px solid transparent; background: rgba(255,255,255,0.6); backdrop-filter: blur(12px); transition: all 0.35s ease; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--gradient); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(234,88,12,0.35); }
.logo-mark i { color: #fff; font-size: 20px; }
.logo-text { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: -0.4px; }
.nav-links { display: flex; align-items: center; gap: 1px; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--gray); padding: 8px 12px; border-radius: 999px; text-decoration: none; transition: all 0.25s ease; white-space: nowrap; cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: var(--violet); background: rgba(234,88,12,0.1); }
.nav-cta { background: var(--gradient) !important; color: #fff !important; padding: 9px 20px !important; border-radius: 999px !important; font-weight: 700 !important; box-shadow: 0 4px 16px rgba(234,88,12,0.3) !important; }
.nav-donate { background: var(--gradient-warm) !important; color: #fff !important; padding: 9px 18px !important; border-radius: 999px !important; font-weight: 700 !important; box-shadow: 0 4px 16px rgba(245,158,11,0.35) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; border: none; background: transparent; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 88px; left: 16px; right: 16px; bottom: 16px; background: rgba(255,255,255,0.98); backdrop-filter: blur(24px); z-index: 999; padding: 1.25rem; flex-direction: column; gap: 6px; overflow-y: auto; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.mobile-menu.open { display: flex; }
.mobile-menu a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--rs); font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; text-decoration: none; }
.mobile-menu a:hover { background: var(--soft); color: var(--violet); }
.page { display: none; padding-top: 78px; min-height: 100vh; }
.page.active { display: block; }
.bg-muted { background: var(--muted); }
.page-hero { position: relative; padding: 4.5rem 2rem 3.5rem; background: url("assets/images/kids_flag.jpeg") center center / cover no-repeat; overflow: hidden; text-align: center; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); pointer-events: none; }
.page-hero-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .sec-eye { justify-content: center; color: #fdba74; background: rgba(249,115,22,0.15); border-color: rgba(249,115,22,0.3); }
.page-hero .sec-h { color: #fff; font-size: clamp(32px, 5vw, 48px); }
.page-hero .sec-sub { color: rgba(255,255,255,0.65); margin: 0 auto; }
.hero { background: url("assets/images/kids_flag.jpeg") center center / cover no-repeat; min-height: calc(100vh - 78px); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); pointer-events: none; }
.hero-grid { max-width: 1280px; margin: 0 auto; padding: 5rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; position: relative; z-index: 1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; background: rgba(249,115,22,0.2); border: 1px solid rgba(251,146,60,0.45); color: #fdba74; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; margin-bottom: 1.8rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 68px); font-weight: 700; line-height: 1.05; color: #fff; margin-bottom: 1.4rem; letter-spacing: -1px; }
.hero h1 em { font-style: italic; background: linear-gradient(135deg, #fff, #fdba74, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { color: rgba(255,255,255,0.55); font-size: 16px; line-height: 1.8; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-violet { display: inline-flex; align-items: center; gap: 8px; background: var(--gradient); color: #fff; font-size: 14px; font-weight: 700; padding: 14px 30px; border-radius: 999px; border: none; cursor: pointer; text-decoration: none; transition: all 0.3s; box-shadow: 0 8px 24px rgba(234,88,12,0.35); }
.btn-violet:hover { transform: translateY(-2px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 600; padding: 14px 30px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; text-decoration: none; transition: all 0.3s; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 2.5rem; }
.stat-cell { padding: 1.5rem 1rem; text-align: center; background: rgba(255,255,255,0.06); backdrop-filter: blur(12px); border-radius: var(--rs); border: 1px solid rgba(255,255,255,0.1); }
.stat-n { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: #fff; display: block; }
.stat-l { font-size: 10px; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px; }
.hero-panel { display: flex; flex-direction: column; gap: 14px; }
.panel-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.09); border-radius: var(--r); padding: 1.4rem; backdrop-filter: blur(8px); }
.panel-icon { width: 38px; height: 38px; border-radius: var(--rs); background: rgba(249,115,22,0.25); display: flex; align-items: center; justify-content: center; }
.panel-icon i { color: #fdba74; font-size: 20px; }
.bar-track { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 99px; background: var(--gradient); transition: width 1.6s ease; }
.sw { max-width: 1280px; margin: 0 auto; padding: 5.5rem 2rem; }
.sec-eye { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); margin-bottom: 0.6rem; padding: 6px 14px; background: rgba(234,88,12,0.08); border-radius: 999px; border: 1px solid rgba(234,88,12,0.15); }
.sec-h { font-family: var(--font-display); font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--ink); line-height: 1.1; margin-bottom: 0.8rem; letter-spacing: -0.6px; }
.sec-h span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.sec-sub { font-size: 15px; color: var(--gray); line-height: 1.75; max-width: 560px; }
.marquee-wrap { background: var(--soft); border-block: 1px solid rgba(234,88,12,0.12); padding: 1rem 0; overflow: hidden; }
.marquee-track { display: flex; gap: 3rem; animation: marquee 30s linear infinite; width: max-content; }
.marquee-track span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--violet); white-space: nowrap; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.prog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: all 0.35s; box-shadow: var(--shadow); }
.prog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prog-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--gradient); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.prog-ico i { color: #fff; font-size: 24px; }
.cta-banner { margin: 0 auto; padding: 3.5rem 3rem; border-radius: 28px; background: var(--gradient); text-align: center; box-shadow: 0 20px 60px rgba(234,88,12,0.3); }
.cta-banner h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); color: #fff; margin-bottom: 0.6rem; }
.cta-banner p { color: rgba(255,255,255,0.85); font-size: 15px; margin-bottom: 1.5rem; }
.cta-banner .btn-ghost { background: #fff; color: var(--violet); border-color: #fff; }
.prog-g, .evt-g, .ach-g, .testi-g, .home-events, .gal-g, .faq-g, .mile-g { display: grid; gap: 18px; }
.prog-g { grid-template-columns: repeat(3, 1fr); }
.prog-top { padding: 1.75rem; background: linear-gradient(180deg, var(--soft), #fff); }
.prog-body { padding: 1.4rem; }
.prog-body p { font-size: 13px; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.prog-tag { font-size: 11px; font-weight: 600; padding: 3px 11px; border-radius: 999px; background: rgba(234,88,12,0.08); color: var(--violet); }
.evt-g { grid-template-columns: repeat(2, 1fr); }
.evt-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: flex; gap: 1.25rem; box-shadow: var(--shadow); }
.evt-date { width: 60px; height: 68px; background: var(--gradient); border-radius: var(--rs); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.evt-date .dd { font-family: var(--font-display); font-size: 24px; color: #fff; line-height: 1; }
.evt-date .mm { font-size: 10px; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.gal-g { grid-template-columns: repeat(3, 1fr); }
.gal-item { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3; position: relative; cursor: pointer; }
.gal-item:first-child { grid-column: span 2; aspect-ratio: 16/9; }
.gal-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gal-item:hover .gal-img { transform: scale(1.06); }
.gal-ov { position: absolute; inset: 0; background: rgba(15,23,42,0.55); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.gal-item:hover .gal-ov { opacity: 1; }
.gal-ov i { font-size: 28px; color: #fff; }
.gal-cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; background: linear-gradient(transparent, rgba(0,0,0,0.55)); color: #fff; font-size: 11px; z-index: 2; }
.ach-g { grid-template-columns: repeat(4, 1fr); margin-bottom: 3rem; }
.ach-card { border-radius: var(--r); padding: 2rem 1.5rem; text-align: center; background: var(--gradient); box-shadow: 0 12px 32px rgba(234,88,12,0.25); }
.ach-card i { font-size: 26px; color: #fdba74; margin-bottom: 0.9rem; }
.ach-n { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: #fff; display: block; }
.ach-l { font-size: 11px; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.mile-g { grid-template-columns: 1fr 1fr; }
.mile-item { display: flex; gap: 1rem; background: var(--muted); border-radius: var(--r); padding: 1.2rem; border: 1px solid var(--line); }
.mile-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mile-dot i { color: #fff; }
.vol-wrap, .don-wrap, .con-wrap, .about-wrap, .news-wrap { display: grid; gap: 3rem; }
.vol-wrap { grid-template-columns: 1fr 1.2fr; }
.don-wrap, .con-wrap, .about-wrap, .news-wrap { grid-template-columns: 1fr 1fr; }
.role-i, .con-item { display: flex; gap: 1rem; background: var(--muted); border-radius: var(--r); padding: 1.2rem; border: 1px solid var(--line); }
.role-ico, .con-ico { width: 40px; height: 40px; border-radius: var(--rs); background: rgba(234,88,12,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.role-ico i, .con-ico i { color: var(--violet); }
.vform, .con-form { background: var(--navy); border-radius: 24px; padding: 2.5rem; color: #fff; box-shadow: var(--shadow-lg); }
.vform h3, .con-form h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 0.4rem; }
.fg label, .fg-l label { display: block; font-size: 11px; font-weight: 600; margin-bottom: 5px; text-transform: uppercase; }
.fg input, .fg select, .fg textarea { width: 100%; padding: 10px 13px; border-radius: var(--rs); border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.07); color: #fff; font-family: var(--font); outline: none; }
.fg-l input, .fg-l textarea { width: 100%; padding: 10px 13px; border-radius: var(--rs); border: 1.5px solid var(--line); background: var(--muted); color: var(--ink); font-family: var(--font); outline: none; }
.fg-l textarea { resize: vertical; min-height: 100px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.btn-submit, .btn-blue, .btn-don { width: 100%; padding: 14px; border: none; border-radius: 999px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; }
.btn-submit, .btn-blue { background: var(--gradient); }
.btn-don { background: var(--gradient-warm); }
.amt-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-bottom: 1.4rem; }
.amt-btn { padding: 0.9rem; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; text-align: center; cursor: pointer; }
.amt-btn.sel { border-color: var(--violet); background: rgba(234,88,12,0.05); }
.amt-v { font-size: 18px; font-weight: 700; color: var(--violet); display: block; }
.news-feat { background: var(--navy); border-radius: 20px; padding: 2rem; color: #fff; }
.news-lst { display: flex; flex-direction: column; gap: 10px; }
.n-item { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; }
.faq-i { background: #fff; border: 1px solid var(--line); border-radius: var(--rs); margin-bottom: 10px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; }
.faq-q { padding: 1.1rem 1.3rem; font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; }
.faq-a { padding: 0 1.3rem; max-height: 0; overflow: hidden; font-size: 13px; color: var(--gray); line-height: 1.7; transition: all 0.3s; }
.faq-i.open .faq-a { padding: 0 1.3rem 1.1rem; max-height: 200px; }
.testi-g { grid-template-columns: repeat(3, 1fr); }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.75rem; box-shadow: var(--shadow); }
.home-events { grid-template-columns: repeat(3, 1fr); }
.home-evt { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); cursor: pointer; }
.about-left-card { background: var(--navy); border-radius: var(--r); padding: 2rem; color: #fff; margin-bottom: 16px; }
.big-quote { font-family: var(--font-display); font-size: 22px; line-height: 1.5; margin-bottom: 1.5rem; }
.values-g { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 1.5rem; }
.val-card { background: var(--muted); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; }
.lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(12,18,34,0.92); display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(900px, 100%); max-height: 80vh; border-radius: var(--r); }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; cursor: pointer; }
.fi { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.ft { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 1.5rem; }
.fc a { display: block; font-size: 13px; color: rgba(255,255,255,0.5); text-decoration: none; margin-bottom: 7px; cursor: pointer; }
.fc a:hover { color: #fdba74; }
.fbot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.fsoc { display: flex; gap: 7px; }
.soc-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); cursor: pointer; }
footer { background: var(--ink); color: rgba(255,255,255,0.55); padding: 4rem 0 2rem; margin-top: 4rem; }
.toast { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(251,146,60,0.35); box-shadow: var(--shadow-lg); transform: translateY(80px); opacity: 0; transition: all 0.35s; }
.toast.show { transform: translateY(0); opacity: 1; }
@media (max-width: 960px) {
  .nav-links { display: none; } .hamburger { display: flex; }
  .hero-grid, .about-wrap, .vol-wrap, .don-wrap, .con-wrap, .news-wrap { grid-template-columns: 1fr; }
  .hero-grid { text-align: center; } .hero-panel { display: none; }
  .prog-g, .evt-g, .ach-g, .testi-g, .home-events, .mile-g, .ft { grid-template-columns: 1fr; }
  .gal-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .f-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .stats-row { grid-template-columns: repeat(2, 1fr); } .sw { padding: 3rem 1.2rem; } }
