/*
Theme Name: TPS-IL One Pager
Theme URI: https://tps.co.il
Description: A single-page WordPress theme for TPS-IL Israel's News Agency
Version: 1.0
Author: TPS-IL
Author URI: https://tps.co.il
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tpsil
*/

/* ===================================
   GOOGLE FONTS IMPORT
   =================================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Roboto:wght@400;500;700;900&family=Roboto+Condensed:wght@400;700&family=Open+Sans:wght@400;500;600;700&display=swap');

/* ===================================
   CSS VARIABLES
   =================================== */
:root {
  --brand-blue: #1D6F8F;
  --accent-red: #8B2832;
  --text-dark: #1A1A1A;
  --text-gray: #333333;
  --bg-sand: #E8DCC8;
  --bg-sky: #B8D4E8;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.15);
  
  /* Font families */
  --font-headline: 'Bebas Neue', 'Oswald', 'Arial Narrow', sans-serif;
  --font-impact: 'Oswald', 'Impact', 'Franklin Gothic Heavy', sans-serif;
  --font-body: 'Open Sans', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-numbers: 'Roboto Condensed', 'DIN', Arial, sans-serif;
}

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-gray);
  background: var(--white);
  overflow-x: hidden;
  position: relative;
}

/* Cloud background image for entire page */
body {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

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

/* ===================================
   LAYOUT & CONTAINERS
   =================================== */
.site-wrapper {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================================
   DEFAULT PAGE TEMPLATE
   =================================== */
.page-main {
  padding: clamp(24px, 4vw, 56px) 0;
}

.page-title {
  font-family: var(--font-headline);
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: 0.02em;
  color: var(--text-dark);
  margin: 0 0 16px;
}

/* ===================================
   HERO SECTION
   =================================== */
.site-header {
  padding: 40px 0 60px;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.site-header .container {
  position: relative;
  z-index: 1;
}

/* PDF hero layout: logo + title on top row, copy + image on second row */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(340px, 400px) 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "logo title"
    "copy media";
  column-gap: 20px;
  row-gap: 18px;
  align-items: start;
  width: 100%;
}

.hero-logo {
  grid-area: logo;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
  align-self: start;
  width: 100%;
}

.site-logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.site-logo-placeholder {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: var(--font-impact);
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -1px;
}

.logo-tagline {
  font-size: 9px;
  color: var(--brand-blue);
  font-weight: 600;
  letter-spacing: 1.8px;
  font-family: var(--font-body);
  text-transform: uppercase;
  padding-left: 1px;
}

.hero-title {
  grid-area: title;
  margin: 0;
  padding-top: 0;
  font-family: 'Oswald', var(--font-headline);
  font-size: 45px;
  line-height: 1;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  font-weight: 400;
  text-transform: none;
  align-self: start;
  display: block;
  width: 100%;
  white-space: normal;
}


.hero-title-light {
  font-weight: 400;
  font-size: 1em;
}

.hero-title-strong {
  font-weight: 700;
  font-size: 1em;
  letter-spacing: 0.3px;
}

.hero-title-strong + .hero-title-light {
  margin-left: 0.2em;
}

.hero-copy {
  grid-area: copy;
  padding-top: 6px;
}

.hero-row {
  display: block;
  margin-bottom: 22px;
}

.hero-h {
  display: inline;
  font-family: var(--font-impact);
  font-weight: 700;
  font-size: 35px;
  line-height: 1.05;
  color: var(--accent-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 5px;
}

.hero-p {
  display: inline;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 400;
  text-align: justify;
}

.hero-p strong {
  font-weight: 600;
  color: var(--text-dark);
}

.hero-about {
  margin-top: 8px;
}

.hero-about-title {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-weight: 400;
}

.hero-about-title strong {
  font-weight: 600;
}

.hero-about-est {
  font-weight: 400;
  font-size: 15px;
  text-align: justify;
}

.hero-about-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dark);
  font-weight: 400;
}

.hero-media {
  grid-area: media;
  justify-self: end;
  width: 100%;
  position: relative;
  right: -20px;
}

.hero-image {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
}

/* ===================================
   CONTENT SECTIONS
   =================================== */
.hero-section-box {
  /* No longer used for hero copy (kept for backward compatibility) */
  background: transparent;
  padding: 0;
  margin: 0;
}

.section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: var(--font-impact);
}

.section-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-gray);
  font-family: var(--font-body);
}

.section-content strong {
  font-weight: 700;
}

.about-section {
  background: var(--white);
  padding: 50px 0;
}

.about-box {
  background: var(--white);
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.about-box h3 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.about-box p {
  color: var(--text-body);
  line-height: 1.65;
  font-size: 0.95rem;
}

/* ===================================
   STATS SECTION
   =================================== */
.stats-section {
  padding: 64px 0 74px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.stats-container {
  position: relative;
  z-index: 1;
}

/* CTA between hero header and stats */
.mid-cta-section {
  padding: 10px 0 18px;
  text-align: center;
}

.mid-cta-text {
  text-align: center;
  margin: 0 auto;
  word-wrap: break-word;
  max-width: 100%;
}

.mid-cta-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  white-space: nowrap;
}

.mid-cta-link:hover {
  text-decoration: none;
}

.mid-cta-link .hero-h {
  color: var(--accent-red);
}

/* Supporting line directly under stats box */
.stats-supporting {
  max-width: 980px;
  margin: 16px auto 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 23px;
  line-height: 1.35;
  color: var(--text-dark);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .stats-supporting {
    margin-top: 24px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .stats-supporting {
    margin-top: 20px;
    padding: 0 16px;
  }
}

.stats-supporting a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 800;
  border-bottom: 2px solid var(--accent-red);
  transition: border-bottom-color 0.2s ease;
  word-break: break-word;
  hyphens: auto;
}

.stats-supporting a:hover {
  color: var(--accent-red);
  border-bottom-color: var(--accent-red);
}

/* Old .stats-title no longer used (kept for compatibility) */
.stats-title { display: none; }

.stats-wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(232, 220, 200, 0.62); /* yellowish translucent like PDF */
  border: 2px solid rgba(139, 40, 50, 0.45);
  border-radius: 22px;
  padding: 56px 44px 44px;
  position: relative;
  z-index: 1;
  overflow: visible;
  margin-bottom: 5%;
}

/* thin red rule across the top, inside the rounded box */
.stats-wrapper::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 30px;
  height: 2px;
  background: rgba(139, 40, 50, 0.65);
  z-index: 1;
}

/* OUR REACH label sits on the red rule */
.stats-header-title {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 18px;
  background: rgba(232, 220, 200, 0.98);
  color: var(--accent-red);
  font-family: var(--font-impact);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.1;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 36px;
}

.stat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 6px 4px;
  text-align: left;
}

.stat-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  color: var(--brand-blue);
}

.stat-svg {
  width: 54px;
  height: 54px;
  display: block;
  fill: none;
  stroke: var(--brand-blue);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stat-text {
  padding-top: 2px;
}

.stat-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
  font-family: var(--font-numbers);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.25;
  margin-top: 2px;
  font-family: var(--font-body);
}

/* ===================================
   FOOTER / CTA SECTION
   =================================== */
.site-footer {
  background: transparent; /* let the page background image show through */
  color: var(--text-dark);
  padding: 44px 0 26px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.footer-cta {
  font-family: var(--font-body);
  max-width: 980px;
  margin: 0 auto 18px;
  line-height: 1.35;
  font-size: 18px;
  font-weight: 400;
}

.footer-cta-bold {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.1;
  margin-top: 8px;
}

.footer-bar {
  max-width: 980px;
  margin: 12px auto 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  display: block;
}

.footer-logo-placeholder {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-logo-main {
  font-family: var(--font-impact);
  font-size: 40px;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1;
  letter-spacing: -1px;
}

.footer-logo-tagline {
  font-size: 9px;
  color: var(--brand-blue);
  font-weight: 600;
  letter-spacing: 1.8px;
  font-family: var(--font-body);
  text-transform: uppercase;
}

.footer-bar-left { flex: 0 0 auto; }
.footer-bar-center { flex: 1 1 auto; text-align: center; }
.footer-bar-right { flex: 0 0 auto; }

.footer-bar-center,
.footer-bar-center a,
.footer-bar-center span {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--text-dark);
}

.footer-bar-center a {
  text-decoration: none;
  font-weight: 400;
}

.footer-bar-center a:hover { text-decoration: underline; }

.footer-sep {
  margin: 0 10px;
  color: rgba(0, 0, 0, 0.55);
}

.footer-donate a {
  font-weight: 400;
}

.qr-code {
  max-width: 95px;
  height: auto;
  display: block;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-section-box {
  animation: slideInLeft 0.6s ease forwards;
  opacity: 0;
}

.hero-section-box:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-section-box:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-section-box:nth-child(3) {
  animation-delay: 0.6s;
}

.hero-image {
  animation: slideInRight 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.stat-number.counting {
  animation: fadeIn 0.3s ease;
}

.stats-wrapper {
  /* Animation removed to prevent overlap with hero section */
  opacity: 1;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(320px, 380px) 1fr;
    column-gap: 28px;
  }

  .hero-title {
    font-size: 54px;
  }

  .hero-h {
    flex-basis: 150px;
    font-size: 28px;
  }
  
  /* Stats (PDF box) */
  .stats-wrapper {
    max-width: 920px;
    padding: 54px 36px 40px;
  }

  .stats-header-title {
    font-size: 24px;
    letter-spacing: 2.5px;
  }

  .stat-number {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "title"
      "media"
      "copy";
    row-gap: 18px;
  }

  /* Center hero logo on mobile */
  .hero-logo {
    justify-self: center;
    align-self: center;
    text-align: center;
  }

  .site-logo {
    margin: 0 auto;
  }

  .site-logo-placeholder {
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 46px;
    line-height: 1;
    white-space: normal;
  }

  /* Center hero image on mobile */
  .hero-media {
    right: 0;
    justify-self: center;
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .hero-row { margin-bottom: 18px; }
  .hero-h { font-size: 28px; }
  .hero-p { font-size: 15px; }
  
  .hero-about-title { font-size: 14px; }
  .hero-about-body { font-size: 13px; }

  /* Mid-CTA section responsive */
  .mid-cta-section {
    padding: 15px 0;
  }

  .mid-cta-text {
    font-size: 20px !important;
    line-height: 1.3;
    padding: 0 20px;
  }

  .mid-cta-text .hero-h {
    font-size: 28px;
    display: inline;
  }

  /* Stats section mobile - improved design */
  .stats-section {
    padding: 25px 0 30px;
  }

  .stats-container {
    padding: 0 16px;
  }

  .stats-wrapper {
    padding: 52px 24px 36px;
    border-radius: 20px;
    margin-bottom: 6%;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: rgba(232, 220, 200, 0.75);
    border: 2px solid rgba(139, 40, 50, 0.5);
  }

  .stats-wrapper::before {
    left: 24px;
    right: 24px;
    top: 30px;
    height: 2px;
  }

  .stats-header-title {
    font-size: 21px;
    letter-spacing: 2.5px;
    padding: 4px 16px;
    background: rgba(232, 220, 200, 0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 20px;
    margin-top: 8px;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 12px 8px;
    transition: transform 0.2s ease;
  }

  .stat-item:active {
    transform: scale(0.98);
  }

  .stat-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    margin: 0 auto;
    opacity: 0.9;
  }

  .stat-svg {
    width: 56px;
    height: 56px;
  }

  .stat-text {
    padding-top: 0;
    text-align: center;
    width: 100%;
  }

  .stat-number {
    font-size: 36px;
    text-align: center;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 4px;
  }

  .stat-label {
    font-size: 14px;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
    color: var(--text-dark);
    max-width: 140px;
    margin: 0 auto;
  }

  /* Stats supporting text */
  .stats-supporting {
    font-size: 16px !important;
    line-height: 1.5;
    padding: 0 20px;
    margin-top: 20px;
  }

  .stats-supporting br {
    display: none;
  }

  .stats-supporting a {
    display: inline-block;
    margin-top: 8px;
    word-break: break-all;
  }

  .site-header {
    padding: 30px 0 40px;
  }

  .about-section {
    padding: 40px 0;
  }
  
  .footer-cta { font-size: 16px; }
  .footer-cta-bold { font-size: 26px; }

  /* Footer responsive */
  .site-footer {
    padding: 30px 0 20px;
  }

  .footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-bar-left,
  .footer-bar-center,
  .footer-bar-right {
    width: 100%;
    text-align: center;
  }

  .footer-bar-center {
    line-height: 2;
  }

  .footer-bar-center,
  .footer-bar-center a,
  .footer-bar-center span {
    font-size: 16px;
  }

  .footer-sep { 
    display: inline;
    margin: 0 8px;
  }

  .footer-logo {
    max-width: 160px;
    margin: 0 auto;
  }

  .qr-code {
    max-width: 120px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 32px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero-h {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
    margin-right: 0;
  }

  .hero-p {
    font-size: 13px;
    display: block;
    line-height: 1.6;
    text-align: justify;
  }

  .hero-about-title {
    font-size: 13px;
  }

  .hero-about-body {
    font-size: 12px;
  }

  .site-logo {
    max-width: 140px;
    margin: 0 auto;
  }

  .hero-logo {
    justify-self: center;
    align-self: center;
    text-align: center;
  }

  .site-logo-placeholder {
    align-items: center;
    text-align: center;
  }

  /* Mid-CTA for small mobile */
  .mid-cta-text {
    font-size: 18px !important;
    padding: 0 16px;
  }

  .mid-cta-text .hero-h {
    font-size: 24px;
    display: inline;
    margin-right: 5px;
  }

  /* Stats for small mobile - single column - improved design */
  .stats-section {
    padding: 20px 0 25px;
  }

  .stats-container {
    padding: 0 12px;
  }

  .stats-wrapper {
    padding: 50px 20px 32px;
    border-radius: 18px;
    margin-bottom: 8%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    background: rgba(232, 220, 200, 0.75);
    border: 2px solid rgba(139, 40, 50, 0.5);
  }

  .stats-wrapper::before {
    left: 20px;
    right: 20px;
    top: 28px;
    height: 2px;
  }

  .stats-header-title {
    font-size: 19px;
    letter-spacing: 2px;
    padding: 4px 14px;
    background: rgba(232, 220, 200, 0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 10px;
  }

  .stat-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 14px;
    padding: 16px 8px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
  }

  .stat-item:active {
    transform: scale(0.97);
    background: rgba(255, 255, 255, 0.4);
  }

  .stat-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    margin: 0 auto;
    opacity: 0.9;
  }

  .stat-svg {
    width: 60px;
    height: 60px;
  }

  .stat-text {
    padding-top: 0;
    text-align: center;
    width: 100%;
  }

  .stat-number {
    font-size: 40px;
    text-align: center;
    font-weight: 900;
    letter-spacing: -0.5px;
    line-height: 1;
    margin-bottom: 6px;
  }

  .stat-label {
    font-size: 15px;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-dark);
    max-width: 200px;
    margin: 0 auto;
  }

  /* Stats supporting for small mobile */
  .stats-supporting {
    font-size: 14px !important;
    padding: 0 16px;
    margin-top: 18px;
    line-height: 1.6;
  }

  .stats-supporting a {
    font-size: 14px;
    word-break: break-all;
  }

  .hero-section-box {
    padding: 18px 20px;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .about-box h3 {
    font-size: 0.95rem;
  }
  
  .about-box p {
    font-size: 0.9rem;
  }

  /* Footer for small mobile */
  .site-footer {
    padding: 25px 0 18px;
  }

  .footer-bar {
    gap: 18px;
  }

  .footer-bar-center,
  .footer-bar-center a,
  .footer-bar-center span {
    font-size: 14px;
  }

  .footer-bar-center a {
    display: block;
    margin: 6px 0;
  }

  .footer-sep {
    display: none;
  }

  .footer-logo {
    max-width: 140px;
  }

  .qr-code {
    max-width: 100px;
  }

  .site-header {
    padding: 25px 0 35px;
  }
}

/* Extra small devices (iPhone SE, small phones) */
@media (max-width: 375px) {
  .container {
    padding: 0 14px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-h {
    font-size: 22px;
  }

  .hero-logo {
    justify-self: center;
    align-self: center;
    text-align: center;
  }

  .site-logo {
    margin: 0 auto;
  }

  .site-logo-placeholder {
    align-items: center;
    text-align: center;
  }

  .mid-cta-text {
    font-size: 16px !important;
  }

  .mid-cta-text .hero-h {
    font-size: 22px;
  }

  .stats-container {
    padding: 0 10px;
  }

  .stats-wrapper {
    padding: 48px 18px 30px;
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  }

  .stats-wrapper::before {
    left: 18px;
    right: 18px;
    top: 26px;
  }

  .stats-header-title {
    font-size: 18px;
    letter-spacing: 1.8px;
    padding: 4px 12px;
  }

  .stats-grid {
    gap: 32px;
  }

  .stat-item {
    padding: 14px 6px;
    border-radius: 10px;
  }

  .stat-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }

  .stat-svg {
    width: 56px;
    height: 56px;
  }

  .stat-number {
    font-size: 38px;
  }

  .stat-label {
    font-size: 14px;
    max-width: 180px;
  }

  .stats-supporting {
    font-size: 13px !important;
  }

  .stats-supporting a {
    font-size: 13px;
  }

  .footer-bar-center,
  .footer-bar-center a,
  .footer-bar-center span {
    font-size: 13px;
  }
}

/* ===================================
   ADDITIONAL STYLING
   =================================== */
.hero-section-box:last-child {
  background: rgba(255, 255, 255, 0.9);
}

.hero-section-box:last-child .section-content {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Hover effects */
.stat-item {
  transition: transform 0.2s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
}

/* Typography fine-tuning */
.site-title {
  text-shadow: none;
}

/* About box styling */
.about-box h3 {
  font-family: var(--font-body);
  font-weight: 700;
}

.about-box p {
  font-family: var(--font-body);
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */
/* GPU acceleration for animations */
.stat-item,
.hero-section-box {
  will-change: transform;
}

/* Remove transform from hero image to prevent overlap */
.hero-image {
  will-change: auto;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section-box,
  .hero-image,
  .stats-wrapper {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Print styles */
@media print {
  .site-header {
    background: white !important;
  }
  
  .stats-section {
    background: white !important;
  }
  
  .site-footer {
    background: #333 !important;
    print-color-adjust: exact;
  }
}
