/* =========================================================
   رادیک وب - استایل صفحه درباره ما
   فایل: assets/css/about.css
   پیشوند: ab-
   نسخه: 2.0 - کامل و نهایی
   ========================================================= */

/* ═══════════════════════════════════════════════════════════
   ۱. هدر صفحه (Hero)
   ═══════════════════════════════════════════════════════════ */
.ab-hero {
    position: relative;
    padding: 70px 20px 60px;
    background: linear-gradient(135deg, 
        var(--rw-primary, #2563EB) 0%, 
        var(--rw-secondary, #1E3A8A) 100%);
    overflow: hidden;
    direction: rtl;
}

.ab-hero::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.ab-hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.ab-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.ab-hero-content {
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ab-hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-self: center;
}

.ab-hero-badge i {
    font-size: 14px;
    color: #fff;
    line-height: 1;
}

.ab-hero-title {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 46px;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 15px;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    width: 100%;
    display: block;
}

.ab-hero-desc {
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 25px;
    padding: 0;
    line-height: 1.9;
    max-width: 600px;
    text-align: center;
    display: block;
    width: 100%;
}

.ab-hero-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-self: center;
    margin: 0;
}

.ab-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ab-hero-breadcrumb a:hover {
    color: #fff;
}

.ab-hero-breadcrumb i {
    font-size: 11px;
    opacity: 0.7;
    line-height: 1;
}

.ab-hero-breadcrumb span {
    color: #fff;
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   ۲. کانتینر اصلی
   ═══════════════════════════════════════════════════════════ */
.ab-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ═══════════════════════════════════════════════════════════
   ۳. بخش‌های درباره ما (Rows)
   ═══════════════════════════════════════════════════════════ */
.ab-section {
    padding: 70px 0;
    background: var(--rw-body-bg, #F8FAFC);
    direction: rtl;
    position: relative;
}

.ab-section:nth-child(even) {
    background: var(--rw-card-bg, #FFFFFF);
}

.ab-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.ab-row.ab-reverse {
    direction: ltr;
}

.ab-row.ab-reverse > * {
    direction: rtl;
}

/* ═══ متن ═══ */
.ab-text {
    position: relative;
}

.ab-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1), 
        rgba(30, 58, 138, 0.06));
    border-radius: 18px;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.ab-icon i {
    font-size: 30px;
    color: var(--rw-primary, #2563EB);
    transition: all 0.4s ease;
    line-height: 1;
}

.ab-section:hover .ab-icon {
    background: linear-gradient(135deg, 
        var(--rw-primary, #2563EB), 
        var(--rw-secondary, #1E3A8A));
    transform: rotate(-6deg) scale(1.05);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.3);
}

.ab-section:hover .ab-icon i {
    color: #fff;
}

.ab-subtitle {
    display: block;
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--rw-primary, #2563EB);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.ab-title {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--rw-heading, #1E3A8A);
    margin: 0 0 18px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.ab-content {
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 15px;
    line-height: 2.1;
    color: var(--rw-text, #1F2937);
    margin: 0;
    text-align: justify;
}

/* ═══ رسانه ═══ */
.ab-media {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    aspect-ratio: 4 / 3;
}

.ab-media:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.15),
        0 12px 30px rgba(0, 0, 0, 0.08);
}

.ab-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ab-media-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    background: linear-gradient(135deg, 
        var(--rw-primary, #2563EB), 
        var(--rw-secondary, #1E3A8A));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ab-media-icon {
    position: relative;
    z-index: 2;
    width: 130px;
    height: 130px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
}

.ab-media-icon i {
    font-size: 60px;
    color: #fff;
    line-height: 1;
}

.ab-media:hover .ab-media-icon {
    transform: rotate(-8deg) scale(1.05);
}

.ab-media-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ab-media-circle-1 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.06);
    top: -60px;
    right: -60px;
    animation: abFloat 6s ease-in-out infinite;
}

.ab-media-circle-2 {
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.04);
    bottom: -50px;
    left: -50px;
    animation: abFloat 8s ease-in-out infinite reverse;
}

@keyframes abFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-15px, 15px); }
}

/* ═══════════════════════════════════════════════════════════
   ۴. بخش تیم
   ═══════════════════════════════════════════════════════════ */
.ab-team-section {
    padding: 80px 0 70px;
    background: var(--rw-body-bg, #F8FAFC);
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.ab-team-section::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, 
        rgba(37, 99, 235, 0.03) 0%, 
        transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.ab-team-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.ab-team-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.1), 
        rgba(30, 58, 138, 0.08));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 30px;
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--rw-primary, #2563EB);
    margin: 0 0 18px;
    align-self: center;
}

.ab-team-badge i {
    font-size: 14px;
    line-height: 1;
}

.ab-team-title {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 40px;
    font-weight: 800;
    color: var(--rw-heading, #1E3A8A);
    margin: 0 0 15px;
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-align: center;
    width: 100%;
}

.ab-team-subtitle {
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 15px;
    color: var(--rw-muted, #6B7280);
    margin: 0 auto;
    line-height: 1.8;
    max-width: 600px;
    text-align: center;
    display: block;
    width: 100%;
}

.ab-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
    z-index: 2;
}

/* ═══ کارت تیم ═══ */
.ab-team-card {
    background: var(--rw-card-bg, #FFFFFF);
    border-radius: 20px;
    padding: 24px 18px 22px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: abTeamIn 0.6s ease both;
}

.ab-team-card[data-index="0"] { animation-delay: 0.1s; }
.ab-team-card[data-index="1"] { animation-delay: 0.2s; }
.ab-team-card[data-index="2"] { animation-delay: 0.3s; }
.ab-team-card[data-index="3"] { animation-delay: 0.4s; }
.ab-team-card[data-index="4"] { animation-delay: 0.5s; }
.ab-team-card[data-index="5"] { animation-delay: 0.6s; }

@keyframes abTeamIn {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.ab-team-card:hover {
    transform: translateY(-10px);
    border-color: var(--rw-primary, #2563EB);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 20px rgba(0, 0, 0, 0.06);
}

/* ═══ آواتار ═══ */
.ab-team-avatar {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, 
        var(--rw-primary, #2563EB), 
        var(--rw-secondary, #1E3A8A));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
    transition: all 0.4s ease;
}

.ab-team-card:hover .ab-team-avatar {
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.35);
}

.ab-team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ab-team-initial {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 52px;
    color: #fff;
    font-weight: 800;
    line-height: 1;
    padding-top: 6px;
}

/* ═══ شبکه‌های اجتماعی overlay ═══ */
.ab-team-social {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.ab-team-card:hover .ab-team-social {
    opacity: 1;
    visibility: visible;
}

.ab-team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    color: var(--rw-primary, #2563EB);
    border-radius: 50%;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.ab-team-card:hover .ab-team-social a {
    transform: translateY(0);
}

.ab-team-card:hover .ab-team-social a:nth-child(2) { transition-delay: 0.05s; }
.ab-team-card:hover .ab-team-social a:nth-child(3) { transition-delay: 0.1s; }

.ab-team-social a:hover {
    background: var(--rw-primary, #2563EB);
    color: #fff;
    transform: scale(1.15);
}

.ab-team-social a i {
    color: inherit;
    font-size: 15px;
    line-height: 1;
}

/* ═══ اطلاعات تیم ═══ */
.ab-team-info {
    position: relative;
    z-index: 2;
}

.ab-team-name {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--rw-heading, #1E3A8A);
    margin: 0 0 6px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.ab-team-card:hover .ab-team-name {
    color: var(--rw-primary, #2563EB);
}

.ab-team-role {
    display: block;
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--rw-primary, #2563EB);
    margin-bottom: 8px;
    line-height: 1.5;
}

.ab-team-bio {
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 11px;
    line-height: 1.7;
    color: var(--rw-muted, #6B7280);
    margin: 0;
    text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   ۵. CTA (دعوت به اقدام)
   ═══════════════════════════════════════════════════════════ */
.ab-cta {
    padding: 60px 0 70px;
    background: var(--rw-card-bg, #FFFFFF);
    direction: rtl;
}

.ab-cta-box {
    background: linear-gradient(135deg, 
        var(--rw-primary, #2563EB), 
        var(--rw-secondary, #1E3A8A));
    border-radius: 24px;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    box-shadow: 
        0 20px 50px rgba(37, 99, 235, 0.25),
        0 8px 20px rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
}

.ab-cta-box::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.ab-cta-box::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.ab-cta-content {
    position: relative;
    z-index: 2;
}

.ab-cta-title {
    font-family: 'Lalezar-ExtraBold', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff !important;
    margin: 0 0 10px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.ab-cta-desc {
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.8;
}

.ab-cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ab-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Shabnam-Bold-P', Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    white-space: nowrap;
}

.ab-cta-btn i {
    font-size: 15px;
    color: inherit;
    line-height: 1;
}

.ab-cta-btn-primary {
    background: #fff;
    color: var(--rw-primary, #2563EB) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.ab-cta-btn-primary:hover {
    color: var(--rw-primary, #2563EB) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.ab-cta-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ab-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════════
   ۶. ریسپانسیو
   ═══════════════════════════════════════════════════════════ */

/* لپ‌تاپ کوچک */
@media (max-width: 1100px) {
    .ab-hero { padding: 60px 20px 50px; }
    .ab-hero-title { font-size: 38px; }
    .ab-hero-desc { font-size: 15px; }
    
    .ab-section { padding: 55px 0; }
    .ab-row { gap: 35px; }
    .ab-title { font-size: 30px; }
    .ab-content { font-size: 14px; }
    .ab-icon { width: 58px; height: 58px; }
    .ab-icon i { font-size: 26px; }
    
    .ab-team-title { font-size: 34px; }
    .ab-team-grid { gap: 18px; }
    .ab-team-avatar { width: 110px; height: 110px; }
    .ab-team-initial { font-size: 44px; }
    .ab-team-name { font-size: 16px; }
    
    .ab-cta-box { padding: 40px 30px; }
    .ab-cta-title { font-size: 26px; }
}

/* تبلت */
@media (max-width: 900px) {
    .ab-row { grid-template-columns: 1fr; gap: 30px; }
    .ab-row.ab-reverse { direction: rtl; }
    .ab-media { order: -1; aspect-ratio: 16 / 10; }
    .ab-media-graphic { min-height: 260px; }
    .ab-media-icon { width: 100px; height: 100px; }
    .ab-media-icon i { font-size: 46px; }
    
    .ab-team-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    
    .ab-cta-box { grid-template-columns: 1fr; text-align: center; }
    .ab-cta-actions { justify-content: center; }
}

/* موبایل */
@media (max-width: 600px) {
    .ab-hero { padding: 45px 16px 40px; }
    .ab-hero-title { font-size: 28px; }
    .ab-hero-desc { font-size: 13px; }
    .ab-hero-badge { font-size: 11px; padding: 6px 14px; }
    .ab-hero-breadcrumb { font-size: 11px; padding: 8px 16px; }
    
    .ab-section { padding: 45px 0; }
    .ab-row { gap: 24px; }
    .ab-icon { width: 52px; height: 52px; margin-bottom: 16px; }
    .ab-icon i { font-size: 24px; }
    .ab-subtitle { font-size: 11px; }
    .ab-title { font-size: 22px; margin-bottom: 14px; }
    .ab-content { font-size: 13px; line-height: 2; }
    
    .ab-media { aspect-ratio: 4 / 3; border-radius: 18px; }
    .ab-media-graphic { min-height: 220px; }
    .ab-media-icon { width: 85px; height: 85px; border-radius: 22px; }
    .ab-media-icon i { font-size: 38px; }
    
    .ab-team-section { padding: 50px 0 45px; }
    .ab-team-header { margin-bottom: 35px; }
    .ab-team-badge { font-size: 11px; padding: 6px 14px; }
    .ab-team-title { font-size: 24px; }
    .ab-team-subtitle { font-size: 13px; }
    
    .ab-team-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ab-team-card { padding: 18px 12px 16px; border-radius: 16px; }
    .ab-team-avatar { width: 85px; height: 85px; margin-bottom: 12px; }
    .ab-team-initial { font-size: 34px; }
    .ab-team-name { font-size: 14px; }
    .ab-team-role { font-size: 11px; margin-bottom: 6px; }
    .ab-team-bio { font-size: 10px; }
    .ab-team-social a { width: 30px; height: 30px; font-size: 13px; }
    .ab-team-social a i { font-size: 13px; }
    
    .ab-cta { padding: 40px 0 50px; }
    .ab-cta-box { padding: 30px 22px; border-radius: 18px; gap: 22px; }
    .ab-cta-title { font-size: 20px; }
    .ab-cta-desc { font-size: 13px; }
    .ab-cta-actions { flex-direction: column; width: 100%; }
    .ab-cta-btn { justify-content: center; padding: 12px 22px; font-size: 13px; width: 100%; }
}

/* موبایل کوچک */
@media (max-width: 380px) {
    .ab-hero { padding: 35px 12px 30px; }
    .ab-hero-title { font-size: 22px; }
    .ab-hero-desc { font-size: 12px; }
    
    .ab-title { font-size: 20px; }
    .ab-content { font-size: 12px; }
    .ab-media-graphic { min-height: 180px; }
    .ab-media-icon { width: 70px; height: 70px; }
    .ab-media-icon i { font-size: 30px; }
    
    .ab-team-grid { grid-template-columns: 1fr; gap: 12px; }
    .ab-team-title { font-size: 20px; }
    .ab-team-avatar { width: 100px; height: 100px; }
    .ab-team-initial { font-size: 40px; }
    
    .ab-cta-title { font-size: 18px; }
}