/* --- تنظیمات کلی و متغیرها --- */
.hgc-about-wrapper {
    --bg-color: #ffffff; /* پس‌زمینه کاملا سفید شد */
    --primary-color: #0A244F;
    --accent-color: #C99E33;
    --card-bg: #ffffff;
    
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: inherit;
    line-height: 1.8;
    overflow-x: hidden;
    padding-bottom: 60px;
    border-radius: 24px;
}

.hgc-about-wrapper * { box-sizing: border-box; }

/* --- استایل‌های نمایشی --- */
/* حذف بک‌گراند گردینت از هدر */
.hgc-hero { padding: 80px 20px; text-align: center; background: transparent; }
.hgc-hero-title { font-size: 3rem; margin: 0; font-weight: 800; }
.hgc-hero-subtitle-en { font-size: 1.4rem; color: var(--accent-color); font-family: sans-serif; letter-spacing: 2px; margin: 5px 0 15px; text-transform: uppercase; }
.hgc-hero-subtitle-fa { font-size: 1.1rem; opacity: 0.9; }

/* --- استایل جداکننده (Divider) جدید --- */
.hgc-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px auto 0;
    max-width: 250px;
}
.hgc-divider-line {
    height: 2px;
    flex: 1;
    background: linear-gradient(to right, transparent, var(--accent-color), transparent);
    opacity: 0.6;
}
.hgc-divider-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.hgc-section { max-width: 1200px; margin: 0 auto; padding: 70px 20px; }
.hgc-grid { display: flex; align-items: center; gap: 50px; }
.reverse-layout { flex-direction: row-reverse; }

.hgc-content-box { flex: 1; }
.hgc-image-box { flex: 1; }

.hgc-title { font-size: 2rem; margin-bottom: 20px; position: relative; padding-bottom: 15px; font-weight: 700; }
.hgc-title::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 4px; background: var(--accent-color); border-radius: 4px; }
.text-center { text-align: center; }
.text-center::after { right: 50%; transform: translateX(50%); }

.hgc-list { list-style: none; padding-right: 15px; border-right: 3px solid var(--accent-color); margin-top: 20px; }
.hgc-list li { margin-bottom: 10px; font-weight: bold; }

/* تصاویر با گوشه‌های گرد 24px */
.hgc-img-frame {
    width: 100%; height: 400px;
    border-radius: 24px; /* اصلاح به 24 پیکسل */
    overflow: hidden; position: relative;
    box-shadow: 0 15px 30px rgba(10,36,79,0.15);
    background-color: #eee; border: 2px solid rgba(201,158,51,0.1);
}
.hgc-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hgc-img-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--primary-color); font-weight: bold; z-index: 0; }

/* کارت‌ها با گوشه 24px */
.hgc-cards-wrapper { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.hgc-card {
    background: var(--card-bg); padding: 40px 25px; border-radius: 24px; /* اصلاح به 24 پیکسل */
    text-align: center; border: 1px solid rgba(10,36,79,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s, border-color 0.3s;
}
.hgc-card:hover { transform: translateY(-5px); border-color: var(--accent-color); }
.hgc-icon { display: block; font-size: 2.5rem; color: var(--accent-color); margin-bottom: 15px; }

/* CTA Box */
.hgc-cta-wrapper { padding: 40px 20px; display: flex; justify-content: center; }
.hgc-cta-box {
    background-color: var(--primary-color); color: #fff;
    width: 100%; max-width: 900px; text-align: center; padding: 60px 30px;
    border-radius: 24px; /* اصلاح به 24 پیکسل */
    background-image: radial-gradient(circle at top right, rgba(201, 158, 51, 0.2), transparent 40%);
    box-shadow: 0 20px 40px rgba(10,36,79,0.2);
}
.hgc-cta-box h2 { color: var(--accent-color); margin-bottom: 15px; }
.hgc-btn {
    display: inline-block; background-color: var(--accent-color); color: #fff;
    padding: 15px 40px; border-radius: 50px; text-decoration: none; font-weight: bold;
    transition: 0.3s; border: 2px solid var(--accent-color);
}
.hgc-btn:hover { background-color: transparent; color: var(--accent-color); }

/* =========================================
   بخش انیمیشن‌های اسکرول (بدون تغییر)
   ========================================= */
.reveal-fade, .reveal-right, .reveal-left, .reveal-bottom, .reveal-zoom {
    opacity: 0;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right { transform: translateX(50px); }
.reveal-left { transform: translateX(-50px); }
.reveal-bottom { transform: translateY(50px); }
.reveal-zoom { transform: scale(0.9); }
.reveal-fade { transform: translateY(20px); }
.reveal-active {
    opacity: 1;
    transform: translate(0) scale(1);
}

@media (max-width: 900px) {
    .hgc-grid, .reverse-layout { flex-direction: column; gap: 30px; }
    .hgc-hero-title { font-size: 2.2rem; }
    .hgc-img-frame { height: 300px; }
    .reveal-right, .reveal-left { transform: translateY(30px); }
}
