/*
Theme Name: Gian Trust NGO
Theme URI: https://giantrust.com/
Author: Gian Trust
Author URI: https://giantrust.com/
Description: A premium charity and nonprofit WordPress theme for Gian Trust's education, religious, social welfare, scholarship, environment, music and Gatka initiatives. Includes a six-image cinematic slider, cause-style project cards, responsive galleries, donation settings and a contact form.
Version: 5.0.6
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gian-trust
Tags: custom-logo, custom-menu, featured-images, full-width-template, translation-ready, accessibility-ready, blog
*/

:root {
  --gt-yellow: #fcb900;
  --gt-yellow-light: #fff3bd;
  --gt-navy: #071d36;
  --gt-blue: #123f6d;
  --gt-teal: #148177;
  --gt-cream: #f7f7f2;
  --gt-white: #ffffff;
  --gt-text: #253142;
  --gt-muted: #687387;
  --gt-line: #dfe4e9;
  --gt-radius: 18px;
  --gt-shadow: 0 18px 45px rgba(7, 29, 54, 0.11);
  --gt-container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--gt-text);
  background: var(--gt-cream);
  font-family: Inter, "Noto Sans Gurmukhi", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { display: inline-block; }
a { color: var(--gt-blue); text-decoration: none; transition: color .2s ease, background-color .2s ease, transform .2s ease; }
a:hover { color: #0b6f8d; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .65em;
  color: var(--gt-navy);
  font-family: Georgia, "Times New Roman", "Noto Serif Gurmukhi", serif;
  font-weight: 700;
  line-height: 1.15;
}
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
ul, ol { margin-top: 0; }
::selection { color: var(--gt-navy); background: var(--gt-yellow); }

.gt-container { width: min(calc(100% - 40px), var(--gt-container)); margin-inline: auto; }
.gt-narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.gt-section { padding: clamp(72px, 8vw, 112px) 0; }
.gt-section-sm { padding: 60px 0; }
.gt-section-white { background: var(--gt-white); }
.gt-section-navy { color: #dfe8f1; background: var(--gt-navy); }
.gt-section-navy h2, .gt-section-navy h3 { color: #fff; }
.gt-section-header { max-width: 720px; margin-bottom: 40px; }
.gt-section-header.center { margin-inline: auto; text-align: center; }
.gt-section-header p { color: var(--gt-muted); font-size: 1.08rem; }
.gt-section-header.center p { max-width: 620px; margin-inline: auto; }
.gt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #8a6200;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}
.gt-eyebrow::before { width: 30px; height: 3px; border-radius: 4px; background: var(--gt-yellow); content: ""; }
.gt-section-navy .gt-eyebrow, .page-hero .gt-eyebrow, .home-hero .gt-eyebrow { color: var(--gt-yellow); }
.gt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1;
  text-transform: uppercase;
}
.gt-button .gt-icon { width: 18px; }
.gt-button-yellow { color: var(--gt-navy); background: var(--gt-yellow); }
.gt-button-yellow:hover { color: var(--gt-navy); background: #ffd13d; transform: translateY(-2px); }
.gt-button-outline { color: #fff; border-color: rgba(255,255,255,.48); background: rgba(255,255,255,.05); }
.gt-button-outline:hover { color: var(--gt-navy); border-color: #fff; background: #fff; }
.gt-button-navy { color: #fff; background: var(--gt-navy); }
.gt-button-navy:hover { color: #fff; background: var(--gt-blue); transform: translateY(-2px); }
.gt-icon { width: 22px; height: 22px; flex: 0 0 auto; }
.gt-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(30px, 5vw, 72px); align-items: center; }
.gt-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Accessibility */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 16px;
  clip: auto;
  color: var(--gt-navy);
  background: #fff;
}
:focus-visible { outline: 3px solid var(--gt-yellow); outline-offset: 3px; }

/* Header */
.site-header { position: relative; z-index: 1000; }
.topbar { color: #dce7f2; background: #031426; font-size: .78rem; }
.topbar-inner { min-height: 38px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.topbar-contact { display: flex; gap: 22px; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 7px; color: #dce7f2; }
.topbar-contact a:hover { color: var(--gt-yellow); }
.topbar-contact .gt-icon { width: 15px; height: 15px; }
.nav-shell { background: rgba(255,255,255,.98); border-bottom: 1px solid rgba(7,29,54,.08); }
.nav-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-branding { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.custom-logo-link { display: block; flex: 0 0 auto; }
.site-header .custom-logo { width: 66px; max-height: 66px; object-fit: contain; }
.bundled-logo-link { display: block; flex: 0 0 auto; line-height: 0; }
.site-header .bundled-logo { width: 70px; height: 70px; flex: 0 0 auto; border-radius: 50%; object-fit: cover; }
.brand-mark, .footer-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: var(--gt-navy);
  background: var(--gt-yellow);
  box-shadow: 0 0 0 5px var(--gt-yellow-light);
  font-family: Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}
.brand-copy { display: flex; flex-direction: column; color: var(--gt-navy); line-height: 1.05; }
.brand-copy:hover { color: var(--gt-navy); }
.site-title { font-family: Georgia, serif; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.site-tagline { max-width: 190px; margin-top: 6px; overflow: hidden; color: var(--gt-muted); font-size: .69rem; letter-spacing: .035em; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.main-navigation { display: flex; align-items: center; gap: 18px; }
.main-navigation ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.main-navigation li { position: relative; }
.main-navigation li a { position: relative; display: block; padding: 29px 11px; color: #26374a; font-size: .8rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.main-navigation li a::after { position: absolute; right: 11px; bottom: 22px; left: 11px; height: 2px; transform: scaleX(0); background: var(--gt-yellow); content: ""; transition: transform .2s ease; }
.main-navigation li.current-menu-item > a, .main-navigation li a:hover { color: var(--gt-navy); }
.main-navigation li.current-menu-item > a::after, .main-navigation li a:hover::after { transform: scaleX(1); }
.nav-donate { padding: 12px 17px; border-radius: 6px; color: var(--gt-navy); background: var(--gt-yellow); font-size: .76rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.nav-donate:hover { color: var(--gt-navy); background: #ffd13d; transform: translateY(-2px); }
.menu-toggle { display: none; width: 46px; height: 44px; padding: 10px; border: 0; border-radius: 6px; color: var(--gt-navy); background: var(--gt-yellow); }
.menu-toggle-lines { display: grid; gap: 5px; }
.menu-toggle-lines i { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-open .menu-toggle-lines i:first-child { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle-lines i:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle-lines i:last-child { transform: translateY(-7px) rotate(-45deg); }

/* Home hero */
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100vh - 130px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background-color: var(--gt-navy);
  background-position: center;
  background-size: cover;
}
.home-hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3,20,38,.97) 0%, rgba(7,29,54,.88) 47%, rgba(7,29,54,.48) 100%),
    radial-gradient(circle at 82% 38%, rgba(252,185,0,.28), transparent 29%),
    linear-gradient(135deg, #082947, #0d5c68);
  content: "";
}
.home-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -24vw;
  width: 55vw;
  height: 55vw;
  z-index: 1;
  border: 1px solid rgba(252,185,0,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(252,185,0,.035), 0 0 0 14vw rgba(252,185,0,.025);
  content: "";
}
.home-hero.has-image::before { background: linear-gradient(90deg, rgba(3,20,38,.86) 0%, rgba(7,29,54,.68) 52%, rgba(7,29,54,.24) 100%); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slides { z-index: 0; overflow: hidden; pointer-events: none; }
.hero-slide { opacity: 0; transform: scale(1); transition: transform 6s ease-out; will-change: opacity, transform; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-slide.is-active { opacity: 1; transform: scale(1.055); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; padding-block: clamp(90px, 11vw, 150px); }
.hero-content { max-width: 760px; }
.hero-content h1 { max-width: 820px; margin-bottom: 25px; color: #fff; letter-spacing: -.035em; }
.hero-content h1 em { color: var(--gt-yellow); font-style: normal; }
.hero-content > p { max-width: 660px; color: #dce7f2; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-slider-ui { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); bottom: 82px; z-index: 3; display: flex; align-items: center; gap: 12px; }
.hero-slider-arrow { display: grid; width: 44px; height: 44px; padding: 0 0 4px; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: #fff; background: rgba(3,20,38,.52); font-family: Arial, sans-serif; font-size: 2rem; line-height: 1; cursor: pointer; backdrop-filter: blur(5px); transition: color .2s, background .2s, border-color .2s, transform .2s; }
.hero-slider-arrow:hover, .hero-slider-arrow:focus-visible { border-color: var(--gt-yellow); color: var(--gt-navy); background: var(--gt-yellow); transform: translateY(-2px); }
.hero-slider-dots { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 99px; background: rgba(3,20,38,.52); backdrop-filter: blur(5px); }
.hero-slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.58); cursor: pointer; transition: width .2s, background .2s; }
.hero-slider-dot.is-active { width: 26px; border-radius: 99px; background: var(--gt-yellow); }
.hero-slider-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.impact-strip { position: relative; z-index: 3; margin-top: -58px; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 14px; background: #fff; box-shadow: var(--gt-shadow); }
.impact-item { position: relative; padding: 28px 26px; text-align: center; }
.impact-item + .impact-item::before { position: absolute; top: 24%; bottom: 24%; left: 0; width: 1px; background: var(--gt-line); content: ""; }
.impact-item strong { display: block; color: var(--gt-navy); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.impact-item span { display: block; margin-top: 9px; color: var(--gt-muted); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

/* General cards and homepage sections */
.story-visual { position: relative; min-height: 500px; }
.story-main {
  position: absolute;
  inset: 0 60px 45px 0;
  overflow: hidden;
  border-radius: 2px 90px 2px 2px;
  background:
    linear-gradient(145deg, rgba(7,29,54,.1), rgba(7,29,54,.85)),
    radial-gradient(circle at 35% 30%, #fbd973, transparent 30%),
    linear-gradient(135deg, #62a59e, #123f6d);
}
.story-main img { width: 100%; height: 100%; object-fit: cover; }
.story-main::after { position: absolute; right: 0; bottom: 0; width: 70%; height: 60%; background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 2px, transparent 2px 14px); content: ""; }
.story-badge { position: absolute; right: 0; bottom: 0; width: 180px; padding: 25px; color: #fff; background: var(--gt-yellow); box-shadow: var(--gt-shadow); }
.story-badge strong { display: block; color: var(--gt-navy); font-family: Georgia, serif; font-size: 2.3rem; line-height: 1; }
.story-badge span { display: block; margin-top: 8px; color: var(--gt-navy); font-size: .76rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.story-copy > p { color: var(--gt-muted); }
.check-list { display: grid; gap: 12px; margin: 26px 0 32px; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--gt-navy); font-weight: 700; }
.check-list .gt-icon { width: 20px; color: var(--gt-teal); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { position: relative; min-height: 470px; display: flex; flex-direction: column; padding: 0 30px 30px; overflow: hidden; border: 1px solid var(--gt-line); border-radius: var(--gt-radius); background: #fff; box-shadow: 0 8px 26px rgba(7,29,54,.05); transition: transform .25s ease, box-shadow .25s ease; }
.project-card::after { position: absolute; right: -44px; bottom: -44px; width: 130px; height: 130px; border-radius: 50%; background: var(--card-soft, #fff3bd); content: ""; transition: transform .3s ease; }
.project-card:hover { transform: translateY(-7px); box-shadow: var(--gt-shadow); }
.project-card:hover::after { transform: scale(1.25); }
.project-card-photo { width: calc(100% + 60px); height: 190px; margin: 0 -30px 0; object-fit: cover; }
.project-icon { position: relative; z-index: 1; width: 62px; height: 62px; display: grid; place-items: center; margin: -31px 0 24px; border: 5px solid #fff; border-radius: 16px; color: var(--card-color, #8a6200); background: var(--card-soft, #fff3bd); box-shadow: 0 8px 20px rgba(7,29,54,.11); }
.project-icon .gt-icon { width: 30px; height: 30px; }
.project-icon.teal { color: #0f7168; background: #d9f1ed; }
.project-icon.blue { color: #1c5a8a; background: #dcecf9; }
.project-icon.orange { color: #ad5909; background: #ffead5; }
.project-icon.green { color: #4d7e30; background: #e2f2d9; }
.project-icon.purple { color: #775194; background: #eee4f7; }
.project-card h3 { position: relative; z-index: 1; margin-bottom: 13px; }
.project-card p { position: relative; z-index: 1; margin-bottom: 22px; color: var(--gt-muted); }
.project-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--gt-navy); font-size: .75rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.project-card a .gt-icon { width: 17px; }
.project-card.teal { --card-soft: #d9f1ed; --card-color: #0f7168; }
.project-card.blue { --card-soft: #dcecf9; --card-color: #1c5a8a; }
.project-card.orange { --card-soft: #ffead5; --card-color: #ad5909; }
.project-card.green { --card-soft: #e2f2d9; --card-color: #4d7e30; }
.project-card.purple { --card-soft: #eee4f7; --card-color: #775194; }
.mission-band { position: relative; overflow: hidden; background: var(--gt-navy); }
.mission-band::before { position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(252,185,0,.22), transparent 24%), repeating-linear-gradient(135deg, transparent 0 34px, rgba(255,255,255,.018) 34px 35px); content: ""; }
.mission-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: center; }
.mission-copy h2 { max-width: 720px; color: #fff; }
.mission-copy p { max-width: 700px; color: #cdd9e5; font-size: 1.08rem; }
.mission-quote { padding: 36px; border-left: 4px solid var(--gt-yellow); background: rgba(255,255,255,.055); }
.mission-quote p { margin: 0; color: #fff; font-family: Georgia, serif; font-size: 1.4rem; line-height: 1.45; }
.mission-quote span { display: block; margin-top: 18px; color: var(--gt-yellow); font-size: .8rem; font-weight: 800; }
.mission-photo { position: relative; min-height: 350px; margin: 0; overflow: hidden; border-radius: var(--gt-radius); box-shadow: 0 24px 55px rgba(0,0,0,.28); }
.mission-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mission-photo::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3,20,38,.94)); content: ""; }
.mission-photo figcaption { position: absolute; z-index: 2; right: 28px; bottom: 25px; left: 28px; }
.mission-photo strong { display: block; color: #fff; font-family: Georgia, serif; font-size: 1.6rem; }
.mission-photo span { display: block; margin-top: 4px; color: var(--gt-yellow); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.steps { counter-reset: process; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { position: relative; padding-top: 75px; counter-increment: process; }
.step::before { position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--gt-line); border-radius: 50%; color: var(--gt-navy); background: #fff; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 800; content: "0" counter(process); box-shadow: 0 8px 25px rgba(7,29,54,.06); }
.step:not(:last-child)::after { position: absolute; top: 28px; left: 76px; width: calc(100% - 74px); height: 1px; border-top: 1px dashed #b8c1cb; content: ""; }
.step p { color: var(--gt-muted); }
.support-panel { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(35px, 5vw, 65px); border-radius: 22px; background: var(--gt-yellow); }
.support-panel h2 { margin-bottom: 12px; }
.support-panel p { max-width: 680px; margin: 0; color: #493b13; }

/* Page hero */
.page-hero { position: relative; min-height: 360px; display: grid; align-items: center; overflow: hidden; color: #fff; background: linear-gradient(120deg, #031426, #123f6d); }
.page-hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 82% 50%, rgba(252,185,0,.26), transparent 23%), repeating-linear-gradient(135deg, transparent 0 30px, rgba(255,255,255,.018) 30px 31px); content: ""; }
.page-hero::after { position: absolute; right: 8vw; width: 200px; height: 200px; border: 1px solid rgba(252,185,0,.22); border-radius: 50%; box-shadow: 0 0 0 38px rgba(252,185,0,.04), 0 0 0 76px rgba(252,185,0,.025); content: ""; }
.page-hero.has-image { background-position: center; background-size: cover; }
.page-hero.has-image::before { background: linear-gradient(90deg, rgba(3,20,38,.97) 0%, rgba(7,29,54,.86) 48%, rgba(7,29,54,.43) 100%); }
.page-hero-inner { position: relative; z-index: 2; max-width: 800px; padding: 85px 0; }
.page-hero h1 { margin-bottom: 15px; color: #fff; font-size: clamp(2.7rem, 6vw, 4.6rem); }
.page-hero p { max-width: 680px; margin: 0; color: #d8e4ef; font-size: 1.08rem; }
.breadcrumbs { margin-top: 22px; color: #aebfd0; font-size: .76rem; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.breadcrumbs a { color: var(--gt-yellow); }

/* Project page */
.project-detail-grid { display: grid; gap: 28px; }
.project-detail { display: grid; grid-template-columns: 260px 1fr 220px; gap: 30px; align-items: center; padding: 22px; border: 1px solid var(--gt-line); border-radius: var(--gt-radius); background: #fff; box-shadow: 0 8px 24px rgba(7,29,54,.05); }
.project-detail-media { display: grid; gap: 8px; }
.project-detail-image { width: 100%; height: 190px; border-radius: 12px; object-fit: cover; }
.project-detail-title { display: flex; gap: 14px; align-items: center; margin-bottom: 8px; }
.project-detail-title .project-icon { width: 48px; height: 48px; margin: 0; border-width: 0; border-radius: 12px; box-shadow: none; }
.project-detail-title .project-icon .gt-icon { width: 24px; height: 24px; }
.project-detail h2 { margin-bottom: 9px; font-size: 1.8rem; }
.project-detail-title h2 { margin: 0; }
.project-detail p { margin: 0; color: var(--gt-muted); }
.project-highlights { margin: 0; padding: 20px 0 20px 26px; border-left: 1px solid var(--gt-line); color: var(--gt-navy); font-size: .86rem; font-weight: 700; list-style: none; }
.project-highlights li { position: relative; margin: 8px 0; padding-left: 18px; }
.project-highlights li::before { position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gt-yellow); content: ""; }

/* About */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { padding: 32px; border-radius: var(--gt-radius); color: #fff; background: var(--gt-navy); }
.value-card:nth-child(2) { color: var(--gt-navy); background: var(--gt-yellow); }
.value-card:nth-child(3) { background: var(--gt-teal); }
.value-card h3 { color: inherit; }
.value-card p { margin: 0; color: inherit; opacity: .82; }
.value-number { display: block; margin-bottom: 25px; color: inherit; font-family: Georgia, serif; font-size: 2.3rem; font-weight: 800; opacity: .28; }
.timeline { position: relative; display: grid; gap: 28px; max-width: 820px; margin: 0 auto; }
.timeline::before { position: absolute; top: 5px; bottom: 5px; left: 94px; width: 2px; background: var(--gt-line); content: ""; }
.timeline-item { display: grid; grid-template-columns: 72px 1fr; gap: 54px; }
.timeline-year { color: var(--gt-blue); font-family: Georgia, serif; font-size: 1.1rem; font-weight: 800; }
.timeline-content { position: relative; padding: 0 0 26px; }
.timeline-content::before { position: absolute; top: 3px; left: -39px; width: 14px; height: 14px; border: 4px solid #fff; border-radius: 50%; background: var(--gt-yellow); box-shadow: 0 0 0 1px var(--gt-line); content: ""; }
.timeline-content p { margin: 0; color: var(--gt-muted); }

/* Gallery */
.gallery-intro { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 38px; }
.gallery-intro .gt-section-header { margin: 0; }
.gallery-page-content { margin-bottom: 34px; }
.gallery-extra-content { margin-top: 48px; margin-bottom: 0; padding-top: 42px; border-top: 1px solid var(--gt-line); }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.gallery-filter { padding: 10px 20px; border: 1px solid #cbd5df; border-radius: 999px; color: var(--gt-navy); background: #fff; font: inherit; font-size: .76rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
.gallery-filter:hover { border-color: var(--gt-blue); transform: translateY(-1px); }
.gallery-filter.is-active, .gallery-filter[aria-pressed="true"] { border-color: var(--gt-navy); color: #fff; background: var(--gt-navy); box-shadow: 0 7px 18px rgba(7,29,54,.15); }
.gt-gallery-grid, .wp-block-gallery { display: grid !important; grid-auto-flow: dense; grid-template-columns: repeat(12, 1fr); gap: 16px !important; }
.gt-gallery-item, .wp-block-gallery .wp-block-image { position: relative; min-height: 260px; grid-column: span 4; overflow: hidden; border-radius: 14px; background: var(--gt-navy); }
.gt-gallery-item:nth-child(1), .gt-gallery-item:nth-child(6), .wp-block-gallery .wp-block-image:nth-child(1), .wp-block-gallery .wp-block-image:nth-child(6) { grid-column: span 8; }
.gt-gallery-item:nth-child(2), .gt-gallery-item:nth-child(5) { min-height: 360px; }
.gallery-open { display: block; width: 100%; height: 100%; color: #fff; }
.gt-gallery-item img, .wp-block-gallery .wp-block-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .45s ease; }
.gt-gallery-item:hover img, .wp-block-gallery .wp-block-image:hover img { transform: scale(1.04); }
.gallery-placeholder { width: 100%; height: 100%; min-height: inherit; background: linear-gradient(145deg, #1c6e78, #071d36); }
.gt-gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(145deg, #fcb900, #a6530b); }
.gt-gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(145deg, #684a85, #15243a); }
.gt-gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(145deg, #3d7532, #0a3844); }
.gt-gallery-item:nth-child(5) .gallery-placeholder { background: linear-gradient(145deg, #b55439, #452443); }
.gt-gallery-item:nth-child(6) .gallery-placeholder { background: linear-gradient(145deg, #237fb1, #071d36); }
.gallery-placeholder::before { position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-12deg); content: ""; }
.gallery-placeholder::after { position: absolute; right: 14%; bottom: 12%; width: 32%; height: 32%; border-radius: 50%; background: rgba(252,185,0,.2); filter: blur(2px); content: ""; }
.gallery-caption { position: absolute; inset: auto 0 0; z-index: 2; padding: 55px 22px 20px; color: #fff; background: linear-gradient(transparent, rgba(3,20,38,.93)); font-size: .82rem; font-weight: 750; }
.gallery-caption small { display: block; margin-bottom: 4px; color: var(--gt-yellow); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.gallery-no-results { padding: 30px; border: 1px dashed #cbd5df; border-radius: 14px; text-align: center; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 70px 24px 24px; background: rgba(2,12,24,.94); }
.gallery-lightbox[hidden], .gt-gallery-item[hidden], .gallery-no-results[hidden] { display: none !important; }
.gallery-lightbox-content { max-width: min(1100px, 96vw); max-height: calc(100vh - 100px); text-align: center; }
.gallery-lightbox-content img { display: block; max-width: 100%; max-height: calc(100vh - 155px); margin: 0 auto; border-radius: 10px; box-shadow: 0 22px 70px rgba(0,0,0,.48); object-fit: contain; }
.gallery-lightbox-content p { margin: 14px 0 0; color: #fff; font-weight: 700; }
.gallery-lightbox-close { position: absolute; top: 18px; right: 24px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 2rem; line-height: 1; cursor: pointer; }
.gallery-lightbox-close:hover, .gallery-lightbox-close:focus { color: var(--gt-navy); background: var(--gt-yellow); outline: 0; }
body.lightbox-open { overflow: hidden; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-info > p { color: var(--gt-muted); }
.contact-cards { display: grid; gap: 14px; margin-top: 30px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--gt-line); border-radius: 12px; background: #fff; }
.contact-card .gt-icon { margin-top: 2px; color: var(--gt-blue); }
.contact-card strong { display: block; margin-bottom: 3px; color: var(--gt-navy); font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }
.contact-card a, .contact-card span { color: var(--gt-muted); }
.contact-social { margin-top: 32px; padding-top: 27px; border-top: 1px solid var(--gt-line); }
.contact-social h3 { margin-bottom: 14px; font-size: 1.15rem; }
.contact-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-social-link { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 17px; border: 1px solid #cbd5df; border-radius: 999px; color: var(--gt-navy); background: #fff; font-size: .76rem; font-weight: 850; letter-spacing: .03em; }
.contact-social-link:hover { color: #fff; border-color: var(--gt-blue); background: var(--gt-blue); transform: translateY(-1px); }
.contact-social-link.whatsapp:hover { border-color: #1f8f55; background: #1f8f55; }
.contact-form { padding: clamp(28px, 4vw, 46px); border-radius: var(--gt-radius); background: #fff; box-shadow: var(--gt-shadow); }
.contact-form h2 { margin-bottom: 8px; }
.contact-form > p { margin-bottom: 28px; color: var(--gt-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; margin-bottom: 7px; color: var(--gt-navy); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.form-field input, .form-field textarea { width: 100%; padding: 13px 15px; border: 1px solid #cfd7df; border-radius: 7px; color: var(--gt-text); background: #fafbfc; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--gt-blue); outline: 2px solid rgba(18,63,109,.12); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; }
.form-alert { margin-bottom: 22px; padding: 13px 16px; border-radius: 7px; font-size: .9rem; }
.form-alert.success { color: #175b37; background: #dff5e8; }
.form-alert.error { color: #8a2424; background: #fde5e5; }

/* Donate */
.donate-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 55px; align-items: start; }
.donate-copy > p { color: var(--gt-muted); }
.impact-list { display: grid; gap: 14px; margin: 30px 0 0; padding: 0; list-style: none; }
.impact-list li { display: grid; grid-template-columns: 52px 1fr; gap: 15px; align-items: center; padding: 15px; border: 1px solid var(--gt-line); border-radius: 12px; background: #fff; }
.impact-list strong { display: block; color: var(--gt-navy); }
.impact-list span { color: var(--gt-muted); font-size: .88rem; }
.impact-list .project-icon { width: 52px; height: 52px; margin: 0; border-radius: 10px; }
.donation-box { overflow: hidden; border-radius: var(--gt-radius); background: #fff; box-shadow: var(--gt-shadow); }
.donation-box-head { padding: 28px 32px; color: #fff; background: var(--gt-navy); }
.donation-box-head h2 { margin-bottom: 6px; color: #fff; font-size: 1.8rem; }
.donation-box-head p { margin: 0; color: #cbd8e4; }
.donation-box-body { padding: 32px; }
.upi-panel { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--gt-line); }
.upi-panel small { display: block; color: var(--gt-muted); font-weight: 700; text-transform: uppercase; }
.upi-panel strong { display: block; margin: 4px 0 14px; color: var(--gt-navy); font-size: 1.2rem; }
.qr-code { width: 120px; height: 120px; padding: 7px; border: 1px solid var(--gt-line); border-radius: 8px; object-fit: contain; }
.bank-details { padding-top: 24px; }
.bank-details h3 { font-size: 1.1rem; }
.detail-row { display: grid; grid-template-columns: 125px 1fr; gap: 15px; padding: 10px 0; border-bottom: 1px dashed var(--gt-line); font-size: .9rem; }
.detail-row span { color: var(--gt-muted); }
.detail-row strong { color: var(--gt-navy); overflow-wrap: anywhere; }
.donation-notice { margin-top: 20px; padding: 14px 16px; border-radius: 8px; color: #69520f; background: var(--gt-yellow-light); font-size: .82rem; }

/* Blog and generic content */
.site-main { min-height: 50vh; }
.content-area { padding: 80px 0; }
.entry-card { margin-bottom: 24px; padding: 32px; border: 1px solid var(--gt-line); border-radius: var(--gt-radius); background: #fff; }
.entry-title { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.entry-meta { margin-bottom: 20px; color: var(--gt-muted); font-size: .8rem; }
.entry-content > * { max-width: 820px; }
.entry-content > .alignwide { max-width: var(--gt-container); }
.entry-content > .alignfull { max-width: none; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 12px; }
.post-navigation { margin-top: 35px; }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 25px; }
.pagination { margin-top: 35px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { padding: 8px 13px; border-radius: 6px; background: #fff; }
.page-numbers.current { color: var(--gt-navy); background: var(--gt-yellow); }
.no-results { padding: 50px; text-align: center; border-radius: var(--gt-radius); background: #fff; }
.search-form { display: flex; gap: 10px; justify-content: center; margin: 22px 0; }
.search-form label { flex: 1; max-width: 440px; }
.search-field { width: 100%; min-height: 50px; padding: 10px 14px; border: 1px solid #cfd7df; border-radius: 7px; background: #fff; }
.comments-area { margin-top: 55px; padding-top: 35px; border-top: 1px solid var(--gt-line); }
.comment-list { padding-left: 24px; }
.comment-list li { margin-bottom: 22px; }
.comment-respond input:not([type="submit"]), .comment-respond textarea { width: 100%; padding: 12px; border: 1px solid #cfd7df; border-radius: 7px; }
.submit { padding: 12px 20px; border: 0; border-radius: 7px; color: #fff; background: var(--gt-navy); font-weight: 700; }

/* Footer */
.site-footer { color: #b7c5d3; background: #031426; }
.footer-main { padding: 75px 0 55px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr 1fr 1.15fr; gap: 50px; }
.footer-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.footer-logo-row .custom-logo { width: 54px; max-height: 54px; }
.footer-logo-row .bundled-logo { width: 58px; height: 58px; }
.footer-logo-row strong { display: block; color: #fff; font-family: Georgia, serif; font-size: 1.35rem; }
.footer-logo-row span { display: block; margin-top: 3px; color: #92a5b6; font-size: .72rem; }
.footer-brand > p { max-width: 340px; color: #9cafc0; font-size: .88rem; }
.footer-mark { width: 48px; height: 48px; box-shadow: none; font-size: 1.35rem; }
.footer-title { margin-bottom: 20px; color: #fff; font-family: inherit; font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-menu, .footer-contact { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-menu a, .footer-contact a { color: #aebdca; font-size: .88rem; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--gt-yellow); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: #aebdca; font-size: .88rem; }
.footer-contact .gt-icon { width: 17px; height: 17px; margin-top: 4px; color: var(--gt-yellow); }
.footer-cta p { color: #9cafc0; font-size: .88rem; }
.footer-cta .gt-button { margin-top: 10px; padding-inline: 17px; font-size: .72rem; }
.social-links { display: flex; gap: 8px; margin-top: 22px; }
.social-links a { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #294057; border-radius: 50%; color: #d7e0e8; font-weight: 800; }
.social-links a:hover { color: var(--gt-navy); border-color: var(--gt-yellow); background: var(--gt-yellow); }
.footer-widget { margin-top: 18px; }
.footer-bottom { border-top: 1px solid #1a3045; }
.footer-bottom-inner { min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-bottom p { margin: 0; color: #7890a4; font-size: .72rem; }

/* Motion */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-slide { transform: none; }
}

@media (max-width: 1080px) {
  .main-navigation { gap: 8px; }
  .main-navigation li a { padding-inline: 8px; font-size: .73rem; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr .8fr 1fr; }
  .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .topbar-contact a span { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-navigation { position: fixed; inset: 130px 0 0; display: block; padding: 30px 20px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); background: #fff; transition: opacity .2s, transform .2s, visibility .2s; }
  .menu-open .main-navigation { visibility: visible; opacity: 1; transform: none; }
  .main-navigation ul { display: block; width: min(100%, 560px); margin: 0 auto 25px; }
  .main-navigation li { border-bottom: 1px solid var(--gt-line); }
  .main-navigation li a { padding: 15px 5px; font-size: .9rem; }
  .main-navigation li a::after { display: none; }
  .nav-donate { width: min(100%, 560px); min-height: 50px; display: flex; align-items: center; justify-content: center; margin: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .gt-grid-2, .mission-grid, .contact-grid, .donate-layout { grid-template-columns: 1fr; }
  .story-visual { max-width: 650px; }
  .project-detail { grid-template-columns: 230px 1fr; }
  .project-highlights { grid-column: 1 / -1; padding: 18px 0 0; border-top: 1px solid var(--gt-line); border-left: 0; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cta { grid-column: auto; }
}

@media (max-width: 680px) {
  .gt-container, .gt-narrow { width: min(calc(100% - 28px), var(--gt-container)); }
  .topbar { display: none; }
  .nav-inner { min-height: 82px; }
  .main-navigation { inset: 82px 0 0; }
  .site-header .custom-logo, .site-header .bundled-logo { width: 56px; height: 56px; max-height: 56px; }
  .brand-mark { width: 48px; height: 48px; max-height: 48px; }
  .site-title { font-size: 1.2rem; }
  .site-tagline { max-width: 145px; }
  .home-hero { min-height: 680px; }
  .hero-slides, .hero-slide { min-height: inherit; }
  .hero-inner { padding-block: 80px 110px; }
  .hero-content h1 { font-size: clamp(2.6rem, 13vw, 4rem); }
  .hero-actions { display: grid; }
  .hero-slider-ui { right: 50%; bottom: 66px; transform: translateX(50%); }
  .hero-slider-arrow { width: 40px; height: 40px; }
  .impact-strip { margin-top: -45px; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-item { padding: 22px 12px; }
  .impact-item:nth-child(3)::before { display: none; }
  .impact-item:nth-child(n+3) { border-top: 1px solid var(--gt-line); }
  .impact-item strong { font-size: 1.65rem; }
  .gt-grid-3, .project-grid, .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: 56px; bottom: -18px; left: 28px; width: 1px; height: auto; border-top: 0; border-left: 1px dashed #b8c1cb; }
  .story-visual { min-height: 410px; }
  .story-main { inset: 0 30px 45px 0; }
  .story-badge { width: 155px; padding: 20px; }
  .support-panel { grid-template-columns: 1fr; }
  .page-hero { min-height: 320px; }
  .project-detail { grid-template-columns: 1fr; padding: 18px; }
  .project-detail-image { height: 220px; }
  .project-detail .project-icon { width: 68px; height: 68px; }
  .gt-gallery-grid, .wp-block-gallery { grid-template-columns: 1fr !important; }
  .gt-gallery-item, .gt-gallery-item:nth-child(1), .gt-gallery-item:nth-child(6), .wp-block-gallery .wp-block-image, .wp-block-gallery .wp-block-image:nth-child(1), .wp-block-gallery .wp-block-image:nth-child(6) { min-height: 260px; grid-column: 1 !important; }
  .gallery-intro { align-items: start; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .upi-panel { grid-template-columns: 1fr; }
  .detail-row { grid-template-columns: 1fr; gap: 1px; }
  .timeline::before { left: 16px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 48px; }
  .timeline-content::before { left: -39px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { min-height: auto; flex-direction: column; align-items: flex-start; padding-block: 18px; }
  .post-navigation .nav-links { flex-direction: column; }
}


/* Elementor compatibility -------------------------------------------------- */
.gian-elementor-page {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.gian-elementor-page > .elementor,
.gian-elementor-page .elementor-section-wrap {
    width: 100%;
}

/* Avoid theme entry-content constraints on Elementor-built pages. */
body.elementor-page .site-main,
body.elementor-page .gian-elementor-page {
    overflow: visible;
}
