/*
Theme Name: Kheyrieh Borkhar WP
Theme URI: https://example.com/
Author: WordPress Developer
Description: قالب داینامیک موسسه خیریه حجة ابن الحسن عسکری (عج) برخوار
Version: 1.1.0
Text Domain: kheyrieh-borkhar
*/
:root {
    --primary: #0d6b4a;
    --primary-dark: #094d35;
    --primary-light: #1a8f64;
    --accent: #c9a227;
    --bg: #f4f6f5;
    --surface: #ffffff;
    --text: #1f2a24;
    --text-light: #5c6b63;
    --border: #e3e7e4;
    --radius: 12px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
    --font: Tahoma, "Segoe UI", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); background-color: var(--bg); color: var(--text); line-height: 1.8; overflow-x: hidden; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-title { font-size: 2rem; color: var(--primary-dark); font-weight: bold; margin-bottom: 15px; position: relative; display: inline-block; }
.section-title::after { content: ""; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 60px; height: 4px; background: var(--accent); border-radius: 2px; }
.section-subtitle { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: 99px; font-weight: bold; cursor: pointer; transition: all 0.3s ease; border: none; gap: 8px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); color: #fff; }
.btn-accent { background: var(--accent); color: var(--primary-dark); }
.btn-accent:hover { background: #dfb532; transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.site-header { background: var(--surface); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; height: 90px; }
.brand { display: flex; align-items: center; gap: 15px; }
.brand-logo { width: 50px; height: 50px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.5rem; }
.brand-text h1 { font-size: 1.2rem; font-weight: bold; color: var(--primary-dark); line-height: 1.2; }
.brand-text p { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }
.main-nav { display: flex; gap: 30px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { font-weight: bold; color: var(--text); font-size: 0.95rem; }
.main-nav a:hover { color: var(--primary); }
.hero { position: relative; height: 500px; display: flex; align-items: center; background: linear-gradient(to right, rgba(9, 77, 53, 0.9), rgba(13, 107, 74, 0.7)); background-size: cover; background-position: center; color: white; }
.hero-content { max-width: 650px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 6px 16px; border-radius: 99px; font-size: 0.85rem; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.3); }
.hero h2 { font-size: 3rem; font-weight: bold; margin-bottom: 15px; line-height: 1.3; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }
.quick-actions { margin-top: -50px; position: relative; z-index: 10; margin-bottom: 60px; }
.quick-actions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; justify-content: center; }
.action-card { background: var(--surface); border-radius: var(--radius); padding: 25px 20px; text-align: center; box-shadow: var(--shadow); transition: transform 0.3s; display: flex; flex-direction: column; align-items: center; gap: 15px; }
.action-card:hover { transform: translateY(-10px); }
.action-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(13,107,74,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; transition: all 0.3s; }
.action-card h3 { font-size: 1.1rem; color: var(--text); }
.action-card p { font-size: 0.85rem; color: var(--text-light); }
.about-section { background: white; padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-content h3 { font-size: 2.2rem; color: var(--primary-dark); margin-bottom: 20px; font-weight: bold; }
.about-content p { margin-bottom: 15px; font-size: 1.05rem; text-align: justify; }
.stats-wrap { display: flex; gap: 30px; margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--border); }
.stat-item h4 { font-size: 2.5rem; color: var(--accent); font-weight: bold; line-height: 1; margin-bottom: 5px; direction: ltr; }
.stat-item span { font-size: 0.9rem; font-weight: bold; color: var(--text-light); }
.donations-bg { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); color: white; }
.donations-bg .section-title, .donations-bg .section-subtitle { color: white; }
.donations-bg .section-title::after { background: var(--accent); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.glass-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--radius); padding: 30px 20px; text-align: center; transition: transform 0.3s ease; }
.glass-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.15); }
.glass-card .bank-name { color: var(--accent); font-weight: bold; font-size: 0.9rem; margin-bottom: 10px; }
.glass-card h3 { font-size: 1.1rem; margin-bottom: 20px; min-height: 55px; }
.glass-card .card-number { font-family: monospace; font-size: 1.2rem; background: rgba(0,0,0,0.2); border: 1px dashed rgba(255,255,255,0.4); padding: 12px; border-radius: 8px; direction: ltr; cursor: pointer; transition: all 0.2s; font-weight: bold; }
.glass-card .card-number:hover { border-color: var(--accent); color: var(--accent); }
.glass-card .card-number.copied { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); font-family: var(--font); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.news-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-thumb { height: 220px; position: relative; background: #eee; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-date { position: absolute; bottom: 15px; right: 15px; background: var(--accent); color: var(--primary-dark); padding: 4px 12px; border-radius: 99px; font-size: 0.8rem; font-weight: bold; }
.news-content { padding: 25px; }
.news-content h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: bold; color: var(--text); }
.news-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; line-height: 1.6; }
.site-footer { background: #111a15; color: #a3b8ad; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-about h4 { color: white; font-size: 1.3rem; margin-bottom: 15px; }
.footer-widget h4 { color: white; font-size: 1.1rem; margin-bottom: 20px; font-weight: bold; position: relative; padding-bottom: 10px; }
.footer-widget h4::after { content: ''; position: absolute; bottom: 0; right: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-links li { margin-bottom: 12px; }
.footer-bottom { background: #0a100c; padding: 20px 0; text-align: center; font-size: 0.85rem; }
@media (max-width: 992px) { .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 768px) { .hero h2 { font-size: 2.2rem; } .main-nav { display: none; } }