/* =============================================
   Family Center You Too — Variation A: Warm & Hopeful
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #F5A623;
  --color-primary-hover: #D4853B;
  --color-secondary: #3D2B1F;
  --color-bg-cream: #FFF8ED;
  --color-bg-white: #FFFFFF;
  --color-text: #2B2B2B;
  --color-text-light: #555555;
  --color-text-cream: #FFF8ED;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --transition: 0.3s ease;
  --section-spacing: 80px;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

address {
  font-style: normal;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Language Toggle --- */
.lang-ua {
  display: none;
}

html[lang="ua"] .lang-en {
  display: none;
}

html[lang="ua"] .lang-ua {
  display: inline;
}

/* Block-level UA elements in block contexts */
html[lang="ua"] p > .lang-ua,
html[lang="ua"] li > .lang-ua,
html[lang="ua"] blockquote > .lang-ua,
html[lang="ua"] h1 > .lang-ua,
html[lang="ua"] h2 > .lang-ua,
html[lang="ua"] h3 > .lang-ua,
html[lang="ua"] h4 > .lang-ua,
html[lang="ua"] address > .lang-ua,
html[lang="ua"] cite > .lang-ua {
  display: block;
}

html[lang="ua"] .nav-link > .lang-ua,
html[lang="ua"] .btn > .lang-ua,
html[lang="ua"] .lang-toggle > .lang-ua,
html[lang="ua"] .nav-logo > .lang-ua,
html[lang="ua"] .hero-btn > .lang-ua,
html[lang="ua"] .btn-copy > .lang-ua,
html[lang="ua"] .btn-sm > .lang-ua,
html[lang="ua"] .amount-btn > .lang-ua,
html[lang="ua"] .donate-tab > .lang-ua,
html[lang="ua"] .fact-label > .lang-ua,
html[lang="ua"] .team-role > .lang-ua,
html[lang="ua"] .copy-label > .lang-ua,
html[lang="ua"] .gauge-label > .lang-ua,
html[lang="ua"] .quick-amounts-label > .lang-ua {
  display: inline;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Base --- */
.section {
  padding: var(--section-spacing) 0;
}

.section-cream {
  background-color: var(--color-bg-cream);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--color-secondary);
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--color-bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg-white);
  transition: color var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--color-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-bg-white);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  width: 100%;
}

.navbar.scrolled .nav-link {
  color: var(--color-secondary);
}

.nav-link.active {
  color: var(--color-primary);
}

.navbar.scrolled .nav-link.active {
  color: var(--color-primary);
}

.lang-toggle {
  padding: 6px 16px;
  border: 2px solid var(--color-bg-white);
  border-radius: 20px;
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-secondary);
}

.navbar.scrolled .lang-toggle {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.navbar.scrolled .lang-toggle:hover,
.navbar.scrolled .lang-toggle:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-secondary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1002;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-bg-white);
  transition: all var(--transition);
}

.navbar.scrolled .hamburger-line {
  background: var(--color-secondary);
}

.nav-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2rem;
  color: var(--color-secondary);
  padding: 4px 12px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

.nav-overlay.active {
  display: block;
}

/* =============================================
   SECTION 1: HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(61, 43, 31, 0.6), rgba(61, 43, 31, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--color-bg-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero-btn {
  font-size: 1.1rem;
  padding: 16px 48px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.scroll-indicator:hover {
  opacity: 1;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* =============================================
   SECTION 2: ABOUT
   ============================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.about-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.key-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.fact {
  padding: 24px 16px;
  background: var(--color-bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.fact-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.fact-label {
  font-size: 0.95rem;
  color: var(--color-text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   SECTION 3: PROGRAMS
   ============================================= */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.program-card {
  background: var(--color-bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.program-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

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

.program-icon {
  position: absolute;
  bottom: -20px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.program-body {
  padding: 28px 20px 20px;
}

.program-body h3 {
  font-size: 1.15rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.program-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* =============================================
   SECTION 4: CAMPAIGN
   ============================================= */
.campaign-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.gauge-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.progress-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-ring-bg {
  fill: none;
  stroke: #e8ddd0;
  stroke-width: 12;
}

.progress-ring-fill {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 534.07;
  stroke-dashoffset: 534.07;
  transition: stroke-dashoffset 1.5s ease-out;
}

.gauge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-percent {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.gauge-amount {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.gauge-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.facility-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.facility-col {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--color-bg-white);
  box-shadow: var(--shadow);
}

.facility-col h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

.facility-col ul {
  list-style: none;
}

.facility-col li {
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
  position: relative;
  padding-left: 20px;
}

.facility-current li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: #cc4444;
  font-weight: 700;
}

.facility-future li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #44aa44;
  font-weight: 700;
}

.budget-phases h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.budget-phases ol {
  list-style: none;
  counter-reset: phases;
}

.budget-phases li {
  counter-increment: phases;
  position: relative;
  padding-left: 40px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.budget-phases li::before {
  content: counter(phases);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* =============================================
   SECTION 5: PARTNERS
   ============================================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--color-bg-cream);
  border-radius: var(--radius);
  border: 2px solid #e8ddd0;
  transition: all var(--transition);
  filter: grayscale(100%);
  opacity: 0.7;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.partner-logo span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-secondary);
  text-align: center;
}

/* =============================================
   SECTION 6: TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--color-bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.team-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--color-primary);
}

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

.team-card h3 {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-bottom: 4px;
}

.team-role {
  display: block;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.team-card p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* =============================================
   SECTION 7: TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--color-bg-cream);
  padding: 32px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: -12px;
  opacity: 0.6;
}

.testimonial-card blockquote p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 16px;
}

.testimonial-card cite {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-secondary);
  font-style: normal;
}

/* =============================================
   SECTION 8: DONATE
   ============================================= */
.donate-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.donate-tabs {
  display: flex;
  border-bottom: 2px solid #e8ddd0;
}

.donate-tab {
  flex: 1;
  padding: 14px 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-light);
  background: var(--color-bg-cream);
  border-bottom: 3px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.donate-tab:hover,
.donate-tab:focus-visible {
  color: var(--color-secondary);
  background: var(--color-bg-white);
}

.donate-tab.active {
  color: var(--color-secondary);
  background: var(--color-bg-white);
  border-bottom-color: var(--color-primary);
}

.donate-panels {
  padding: 28px;
}

.donate-panel {
  display: none;
}

.donate-panel.active {
  display: block;
}

.donate-panel h3 {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.donate-panel p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--color-bg-cream);
  border-radius: 8px;
  margin-bottom: 12px;
  gap: 12px;
}

.copy-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.copy-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.copy-value {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--color-secondary);
  word-break: break-all;
}

.btn-copy {
  padding: 6px 16px;
  background: var(--color-primary);
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-copy:hover,
.btn-copy:focus-visible {
  background: var(--color-primary-hover);
}

.quick-amounts {
  padding: 24px 28px;
  border-top: 2px solid #e8ddd0;
}

.quick-amounts-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.amount-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.amount-btn {
  padding: 10px 24px;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  font-weight: 700;
  color: var(--color-secondary);
  background: transparent;
  transition: all var(--transition);
}

.amount-btn:hover,
.amount-btn:focus-visible,
.amount-btn.active {
  background: var(--color-primary);
  color: var(--color-secondary);
}

.custom-amount-wrapper {
  margin-top: 16px;
}

.custom-amount-input {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 200px;
}

.currency-sign {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.custom-amount-input input {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #e8ddd0;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
}

.custom-amount-input input:focus {
  border-color: var(--color-primary);
}

.selected-amount {
  margin-top: 12px;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  min-height: 1.5em;
}

/* =============================================
   SECTION 9: FOOTER
   ============================================= */
.footer {
  background: var(--color-secondary);
  color: var(--color-text-cream);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 248, 237, 0.8);
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  font-size: 0.9rem;
  color: rgba(255, 248, 237, 0.8);
  transition: color var(--transition);
}

.footer ul a:hover,
.footer ul a:focus-visible {
  color: var(--color-primary);
}

.social-links li a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-links svg {
  flex-shrink: 0;
}

.newsletter {
  margin-top: 24px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid rgba(255, 248, 237, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-cream);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
  color: rgba(255, 248, 237, 0.5);
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 248, 237, 0.15);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 248, 237, 0.6);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 900;
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
}

.back-to-top[hidden] {
  display: flex;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--color-primary-hover);
  transform: translateY(-3px);
}

/* =============================================
   TOAST NOTIFICATIONS
   ============================================= */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 24px;
  background: var(--color-secondary);
  color: var(--color-text-cream);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  animation: toastSlideIn 0.3s ease forwards;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 350px;
}

.toast.toast-out {
  animation: toastSlideOut 0.3s ease forwards;
}

.toast-icon {
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* =============================================
   SCROLL REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =============================================
   RESPONSIVE: TABLET (769px - 1023px)
   ============================================= */
@media (max-width: 1023px) {
  :root {
    --section-spacing: 60px;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .about-grid {
    gap: 32px;
  }

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

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

  .team-grid .team-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .campaign-content {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* =============================================
   RESPONSIVE: MOBILE (<=768px)
   ============================================= */
@media (max-width: 768px) {
  :root {
    --section-spacing: 48px;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 32px;
  }

  /* Hamburger menu */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--color-bg-white);
    flex-direction: column;
    padding: 70px 24px 32px;
    gap: 0;
    z-index: 999;
    transition: right var(--transition);
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-close {
    display: block;
  }

  .nav-link {
    color: var(--color-secondary);
    padding: 14px 0;
    border-bottom: 1px solid #e8ddd0;
    width: 100%;
    font-size: 1rem;
  }

  .nav-link::after {
    display: none;
  }

  .lang-toggle {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    margin-top: 16px;
    align-self: flex-start;
  }

  /* Hero */
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-btn {
    padding: 14px 36px;
    font-size: 1rem;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-image {
    order: -1;
  }

  .key-facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Programs */
  .programs-grid {
    grid-template-columns: 1fr;
  }

  /* Campaign */
  .campaign-content {
    grid-template-columns: 1fr;
  }

  .facility-comparison {
    grid-template-columns: 1fr;
  }

  /* Partners */
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-grid .team-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid .testimonial-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* Donate */
  .donate-tabs {
    flex-wrap: wrap;
  }

  .donate-tab {
    flex: 1 1 45%;
    font-size: 0.8rem;
    padding: 10px 8px;
  }

  .donate-panels {
    padding: 20px 16px;
  }

  .copy-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .amount-buttons {
    justify-content: center;
  }

  .quick-amounts {
    padding: 20px 16px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  /* Toast */
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }

  .toast {
    max-width: none;
  }
}

/* --- Focus Styles --- */
*:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
  outline: none;
}
