/* ===== Labkhand Eitam Charity Center - Main Stylesheet ===== */
/* Designed for Persian RTL, mobile-first, fully responsive */

:root {
  --color-primary: #1a4db8;
  --color-primary-dark: #0f2f7a;
  --color-primary-light: #3b6fd9;
  --color-accent: #2563eb;
  --color-accent-dark: #1d4ed8;
  --color-bg: #f3f7ff;
  --color-bg-alt: #e8f0fe;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #d6e4f7;
  --color-white: #ffffff;
  --color-dark: #0b1b33;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(15, 40, 80, 0.05);
  --shadow-md: 0 4px 14px rgba(26, 77, 184, 0.12);
  --shadow-lg: 0 12px 28px rgba(26, 77, 184, 0.16);
  --shadow-xl: 0 24px 48px rgba(11, 27, 51, 0.18);
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --container-max: 1280px;
  --font-main: 'Vazirmatn', Tahoma, sans-serif;
  --header-h: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-main);
  direction: rtl;
  text-align: right;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.125rem;
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  min-width: 0;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.logo-text small {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 800;
}

@media (max-width: 420px) {
  .logo-text { display: none; }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 992px) {
  .main-nav { display: flex; }
}

.main-nav a {
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--color-primary-dark);
  background: rgba(26, 77, 184, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 77, 184, 0.08);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.header-phone:hover {
  background: rgba(26, 77, 184, 0.14);
  transform: translateY(-1px);
}
.header-phone-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: phonePulse 2s ease-in-out infinite;
}
.header-phone-num {
  display: none;
}
@media (min-width: 480px) {
  .header-phone-num { display: inline; }
}

@keyframes phonePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 77, 184, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(26, 77, 184, 0); }
}

.donate-btn-header {
  display: none;
  padding: 0.55rem 1rem;
  min-height: 42px;
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .donate-btn-header { display: inline-flex; }
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text);
}

@media (min-width: 992px) {
  .mobile-menu-toggle { display: none; }
}

/* === Mobile Menu === */
.mobile-menu {
  position: fixed;
  top: 70px;
  right: 0;
  left: 0;
  bottom: 0;
  background: var(--color-white);
  z-index: 99;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:hover, .mobile-menu a.active {
  color: var(--color-primary-dark);
  background: rgba(13, 148, 136, 0.05);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .mobile-menu { display: none; }
}

/* === Hero Section === */
.hero {
  position: relative;
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #134e4a 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 2.75rem; }
}
@media (min-width: 992px) {
  .hero h1 { font-size: 3.25rem; }
}

.hero h1 .highlight {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero p.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  opacity: 0.92;
}

@media (min-width: 768px) {
  .hero p.lead { font-size: 1.15rem; }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat {
  text-align: center;
}
.hero-stat .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .hero-stat .number { font-size: 2.5rem; }
}
.hero-stat .label {
  font-size: 0.8rem;
  opacity: 0.85;
}
@media (min-width: 768px) {
  .hero-stat .label { font-size: 0.95rem; }
}

.hero-visual {
  position: relative;
  display: none;
}

@media (min-width: 992px) {
  .hero-visual { display: block; }
}

.hero-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.hero-card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero-card p {
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.hero-card .feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hero-card .feature-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

/* === Sections === */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* === Stats Bar === */
.stats-bar {
  background: var(--color-white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat-item {
  padding: 1rem;
}

.stat-item .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  display: block;
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .stat-item .number { font-size: 2.5rem; }
}

.stat-item .label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* === About Section === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

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

.about-image .badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--color-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-image .badge .icon {
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.about-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--color-dark);
}

@media (min-width: 768px) {
  .about-content h2 { font-size: 2.25rem; }
}

.about-content p {
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .about-features { grid-template-columns: 1fr 1fr; }
}

.about-feature {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.about-feature .icon {
  width: 40px;
  height: 40px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-primary-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--color-dark);
}

.about-feature p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* === Saved Lives / Stories === */
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .stories-grid { grid-template-columns: repeat(3, 1fr); }
}

.story-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--color-border);
}

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

.story-image {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

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

.story-image .status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.875rem;
  background: var(--color-success);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.story-content {
  padding: 1.5rem;
}

.story-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.story-content p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
}

.story-meta .date {
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.story-meta .link {
  color: var(--color-primary-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s ease;
}
.story-meta .link:hover { gap: 0.625rem; }

/* === Gallery === */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gallery-filter {
  padding: 0.5rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.gallery-filter.active, .gallery-filter:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay-content {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
}

.gallery-item .type-icon {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.gallery-item .type-icon.video {
  background: var(--color-accent);
}

/* === Donation Section === */
.donate-section {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.donate-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.donate-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .donate-inner { grid-template-columns: 1.2fr 0.8fr; }
}

.donate-content h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .donate-content h2 { font-size: 2.25rem; }
}

.donate-content p {
  color: rgba(15, 23, 42, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.donate-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.donate-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-dark);
  text-align: center;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.donate-amount {
  padding: 0.75rem 0.5rem;
  background: var(--color-bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: inherit;
}

.donate-amount:hover, .donate-amount.active {
  border-color: var(--color-primary);
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-primary-dark);
}

.donate-card .form-group {
  margin-bottom: 1rem;
}

.donate-card label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.donate-card input, .donate-card select, .donate-card textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: all 0.2s ease;
}

.donate-card input:focus, .donate-card select:focus, .donate-card textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.donate-card .btn {
  width: 100%;
}

/* === Contact Section === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.contact-info-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item .icon {
  width: 48px;
  height: 48px;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-primary-dark);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.contact-item .value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  direction: ltr;
  text-align: right;
}

.contact-item .value.rtl { direction: rtl; }

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.alert {
  padding: 0.875rem 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #991b1b;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* === Footer === */
.site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-right: 0.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.footer-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.footer-logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 0.625rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; text-align: right; }
}

/* === Page Header === */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 4rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  position: relative;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .page-header h1 { font-size: 2.75rem; }
}

.page-header .breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.page-header .breadcrumb a:hover {
  color: var(--color-accent);
}

/* === Modal/Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open { display: flex; }

.lightbox-content {
  max-width: 90%;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img, .lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* === Back to top === */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 50;
}

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

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

/* === Empty state === */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}

.empty-state .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: rgba(13, 148, 136, 0.1);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Mobile extras === */
.mobile-call-link {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  background: rgba(26, 77, 184, 0.1) !important;
  color: var(--color-primary-dark) !important;
  font-weight: 700 !important;
  border-radius: 0.75rem !important;
  margin-bottom: 0.5rem;
}
.mobile-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.mobile-social a {
  flex: 1 1 40%;
  text-align: center;
  background: #f1f5f9;
  border-radius: 0.5rem;
  font-size: 0.85rem !important;
  font-weight: 600;
}

/* === Floating call button (mobile-first) === */
.fab-call {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(22, 163, 74, 0.4);
  z-index: 60;
  animation: fabBounce 2.4s ease-in-out infinite;
}
.fab-call:hover { transform: scale(1.06); color: #fff; }
@keyframes fabBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* === Footer logo & credit === */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.footer-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.footer-logo .reg-badge {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}
.footer-social a:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
}
.social-letter {
  font-weight: 800;
  font-size: 0.95rem;
}
.abnn-credit {
  color: #93c5fd !important;
  font-weight: 700;
  border-bottom: 1px dashed rgba(147,197,253,0.5);
}
.abnn-credit:hover { color: #fff !important; }

/* === Rescue / life animation === */
.rescue-scene {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rescue-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(37, 99, 235, 0.25);
  animation: ringPulse 3s ease-out infinite;
}
.rescue-ring.r1 { width: 70%; height: 70%; animation-delay: 0s; }
.rescue-ring.r2 { width: 90%; height: 90%; animation-delay: 0.6s; }
.rescue-ring.r3 { width: 110%; height: 110%; animation-delay: 1.2s; }
@keyframes ringPulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  70% { transform: scale(1.05); opacity: 0; }
  100% { opacity: 0; }
}
.rescue-core {
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  border-radius: 28px;
  background: linear-gradient(160deg, #fff 0%, #e8f0fe 100%);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: floatY 4s ease-in-out infinite;
}
.rescue-core img {
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.rescue-core span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}
.rescue-heart {
  position: absolute;
  color: #ef4444;
  animation: heartRise 4s ease-in-out infinite;
  opacity: 0;
}
.rescue-heart.h1 { top: 18%; right: 12%; animation-delay: 0.2s; }
.rescue-heart.h2 { top: 30%; left: 8%; animation-delay: 1.4s; }
.rescue-heart.h3 { bottom: 22%; right: 18%; animation-delay: 2.2s; }
@keyframes heartRise {
  0% { transform: translateY(10px) scale(0.6); opacity: 0; }
  20% { opacity: 1; }
  80% { transform: translateY(-28px) scale(1); opacity: 0.8; }
  100% { opacity: 0; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* === Scroll reveal === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-bank-btn.copied {
  background: var(--color-success) !important;
  color: #fff !important;
  border-color: transparent !important;
}

@media (prefers-reduced-motion: reduce) {
  .rescue-ring, .rescue-core, .rescue-heart, .fab-call, .header-phone-icon {
    animation: none !important;
  }
}
