/* ================================================
   PPD East Africa - Main Stylesheet
   Modern Design with iOS26 Liquid Glass Effect
   Color Palette: #90C2E7, #FEF7F8, #CDD4DD, #22819A
   ================================================ */

/* =================== CSS VARIABLES =================== */
:root {
  /* New Color Palette */
  --primary: #22819A;
  --primary-dark: #1a6579;
  --primary-light: #90C2E7;
  --secondary: #22819A;
  --accent: #90C2E7;

  --light: #FEF7F8;
  --light-alt: #CDD4DD;
  --dark: #1a2a3a;
  --gray: #6b7c8a;
  --light-gray: #CDD4DD;

  --bg: #FEF7F8;
  --text: #1a2a3a;
  --card-bg: #ffffff;
  --input-bg: #ffffff;

  --hero-overlay: rgba(26, 42, 58, 0.5);
  --shadow: 0 4px 20px rgba(34, 129, 154, 0.1);
  --shadow-hover: 0 12px 40px rgba(34, 129, 154, 0.2);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* iOS26 Liquid Glass Effect Variables */
  --glass-bg: rgba(254, 247, 248, 0.6);
  --glass-bg-strong: rgba(254, 247, 248, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-border-light: rgba(255, 255, 255, 0.3);
  --glass-shadow:
    0 8px 32px rgba(34, 129, 154, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --glass-blur: 25px;
  --glass-saturation: 180%;
}

.theme-dark {
  --primary: #90C2E7;
  --primary-dark: #7ab5de;
  --primary-light: #a8d1ef;
  --secondary: #90C2E7;
  --accent: #22819A;

  --light: #1a2a3a;
  --light-alt: #2a3a4a;
  --dark: #FEF7F8;
  --gray: #a0b0c0;
  --light-gray: #3a4a5a;

  --bg: #0f1a24;
  --text: #FEF7F8;
  --card-bg: rgba(26, 42, 58, 0.8);
  --input-bg: rgba(42, 58, 74, 0.8);

  --hero-overlay: rgba(15, 26, 36, 0.7);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4);

  /* iOS26 Liquid Glass for Dark Mode */
  --glass-bg: rgba(26, 42, 58, 0.5);
  --glass-bg-strong: rgba(26, 42, 58, 0.75);
  --glass-border: rgba(144, 194, 231, 0.2);
  --glass-border-light: rgba(144, 194, 231, 0.1);
  --glass-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(144, 194, 231, 0.1);
}

/* =================== RESET & BASE =================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--bg);
  transition: var(--transition);
  padding-top: 70px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* =================== LAYOUT =================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: stretch;
}

.col-6 {
  flex: 1 1 45%;
  min-width: 280px;
}

/* =================== iOS26 LIQUID GLASS EFFECT =================== */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* =================== TOP BAR / NAVIGATION (iOS26 Glass) =================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  z-index: 1000;
  transition: var(--transition);
}

.theme-dark .top-bar {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 1;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(34, 129, 154, 0.2);
  border: 2px solid var(--glass-border);
}

.org-name-full,
.org-name-mobile {
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.3;
}

.org-name-full {
  font-size: 1.1rem;
  display: block;
}

.org-name-mobile {
  font-size: 0.95rem;
  display: none;
}

/* Top Bar Buttons */
.top-bar-right {
  display: flex;
  gap: 10px;
}

.top-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow:
    0 4px 12px rgba(34, 129, 154, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.top-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 8px 24px rgba(34, 129, 154, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background: var(--glass-bg-strong);
}

.top-btn svg {
  color: var(--primary);
  stroke: var(--primary);
}

.projects-btn {
  width: auto;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.donate-btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  animation: soft-pulse 3s ease-in-out infinite;
}

.donate-btn svg {
  stroke: white;
}

.donate-btn:hover,
.donate-btn:focus {
  animation-play-state: paused;
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

@keyframes soft-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(34, 129, 154, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 24px rgba(34, 129, 154, 0.5);
    transform: scale(1.03);
  }
}

/* =================== HERO SECTION =================== */
.hero {
  background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('../images/hero.jpg') center/cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
  text-align: center;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* =================== BUTTONS =================== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(34, 129, 154, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 129, 154, 0.4);
}

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  margin-left: 1rem;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(34, 129, 154, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 129, 154, 0.4);
}

/* Legacy turquoise support */
.btn-turquoise {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(34, 129, 154, 0.3);
}

.btn-turquoise:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 129, 154, 0.4);
}

/* =================== SECTIONS =================== */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

/* =================== ABOUT SECTION =================== */
.about-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.about-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

/* Equal Height Columns */
.equal-height-row {
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  margin-top: 4rem;
}

.equal-height-col {
  flex: 1;
  min-width: 280px;
}

.image-col .image-wrapper {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  border: 1px solid var(--glass-border-light);
}

.image-col img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content h2 {
  text-align: left;
  margin-bottom: 1.5rem;
}

.text-content h3 {
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.5rem 0 0.6rem;
  font-size: 1.2rem;
}

.text-content p {
  color: var(--gray);
  line-height: 1.7;
}

/* Join Us CTA Box */
.join-cta {
  margin-top: 4rem;
  text-align: center;
}

.join-cta-box {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--primary);
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* =================== IMPACT STATS =================== */
.impact {
  background: linear-gradient(180deg, var(--light) 0%, var(--light-alt) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  padding: 2rem 1.5rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(34, 129, 154, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.stat-card .number {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--gray);
  font-size: 0.95rem;
  text-align: center;
}

/* =================== PROJECTS GRID =================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* For 6 items - 3x2 grid */
.projects.upcoming .projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Project Card - iOS26 Glass Style */
.project-card {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(34, 129, 154, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card .card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  flex-grow: 1;
}

.project-card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-align: center;
}

.project-card .card-text {
  flex-grow: 1;
  margin: 1rem 0;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}

.badge-center {
  font-size: 0.75rem;
  padding: 6px 14px;
  margin-bottom: 12px;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Project Action Button - centered and aligned bottom */
.btn-project-action {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  font-weight: 600;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  width: auto;
  min-width: 70%;
  transition: var(--transition);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-top: auto;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(34, 129, 154, 0.3);
}

.btn-project-action:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(34, 129, 154, 0.4);
}

/* =================== CTA SECTION =================== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta .container {
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  text-align: center;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  text-align: center;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =================== CONTACT SECTION =================== */
.contact {
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-info-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 2rem;
}

.contact-info-centered p {
  margin-bottom: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.contact-info-centered a {
  color: var(--primary);
  transition: var(--transition);
}

.contact-info-centered a:hover {
  color: var(--primary-light);
}

.contact-title {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.4rem;
  text-align: center;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
  justify-content: center;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  font-size: 20px;
  transition: var(--transition);
  text-decoration: none;
  box-shadow: var(--glass-shadow);
}

.social-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 25px rgba(34, 129, 154, 0.4);
  border-color: transparent;
}

.theme-dark .social-btn {
  background: var(--glass-bg);
  color: var(--primary);
}

.theme-dark .social-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--bg);
}

/* Contact Button */
.contact-btn-wrapper {
  margin-top: 2rem;
  text-align: center;
}

/* =================== MODAL (iOS26 Glass Style) =================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 26, 36, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--glass-bg-strong);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(30px) scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--primary);
  text-align: center;
  flex: 1;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--gray);
}

.modal-close:hover {
  background: rgba(34, 129, 154, 0.1);
  color: var(--primary);
  transform: rotate(90deg);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-form input,
.modal-form textarea {
  padding: 1rem 1.2rem;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text);
  transition: var(--transition);
}

.modal-form input:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(34, 129, 154, 0.15);
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: var(--gray);
}

.modal-form textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-form button {
  align-self: center;
  margin-top: 0.5rem;
  min-width: 200px;
}

/* =================== FOOTER (iOS26 Glass Effect) =================== */
footer {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturation));
  border-top: 1px solid var(--glass-border);
  box-shadow:
    0 -8px 32px rgba(34, 129, 154, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  color: var(--text);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

footer p {
  text-align: center;
  opacity: 0.9;
}

.theme-dark footer {
  background: var(--glass-bg);
  border-top: 1px solid var(--glass-border);
}

/* =================== GOOGLE TRANSLATE =================== */
#google_translate_element {
  font-family: 'Poppins', sans-serif !important;
}

.goog-te-gadget {
  color: var(--text) !important;
  font-size: 0.9rem !important;
}

.goog-te-gadget-simple {
  background-color: var(--glass-bg-strong) !important;
  border: 1px solid var(--glass-border) !important;
  border-radius: 20px !important;
  padding: 0.3rem 0.6rem !important;
  box-shadow: none !important;
}

.goog-te-menu-value span {
  color: var(--text) !important;
}

.goog-te-combo {
  margin: 0 4px !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  background: white !important;
  border: 1px solid var(--light-gray) !important;
}

.goog-logo-link,
.goog-logo-link:link,
.goog-logo-link:visited,
.goog-te-gadget span[style="color: rgb(153, 153, 153);"] {
  display: none !important;
}

iframe.goog-te-menu-frame {
  z-index: 1001 !important;
}

/* =================== RESPONSIVE =================== */

/* Tablet */
@media (max-width: 1024px) {
  .org-name-full {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile Large */
@media (max-width: 850px) {
  .org-name-full {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .top-bar {
    height: 60px;
    padding: 0 1rem;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .org-name-full {
    display: none;
  }

  .org-name-mobile {
    display: block;
  }

  .top-btn {
    width: 36px;
    height: 36px;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .btn-outline {
    margin-left: 0;
    margin-top: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .row {
    flex-direction: column;
  }

  .equal-height-row {
    flex-direction: column;
  }

  .image-col .image-wrapper {
    min-height: 250px;
  }

  .text-content h2 {
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .modal-content {
    padding: 1.5rem;
    margin: 1rem;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .top-bar {
    padding: 0 0.8rem;
    height: 56px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .top-btn {
    width: 34px;
    height: 34px;
  }

  .top-btn svg {
    width: 16px;
    height: 16px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card {
    padding: 1.2rem 1rem;
  }

  .stat-card .number {
    font-size: 1.8rem;
  }

  .join-cta-box {
    font-size: 1.1rem;
    padding: 1.5rem;
  }

  .social-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

/* =================== UTILITY CLASSES =================== */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
