/* ==========================================================================
   TrustHost.ir — About Us Page Modern Redesign Stylesheet
   Direction: RTL | Scoped: .th-about-page
   ========================================================================== */

.page-id-672 #content > .page-header,
.post-672 #content > .page-header,
.page-id-672 .entry-header,
.post-672 .entry-header {
    display: none !important;
}

.th-about-page {
    --th-primary: #0066cc;
    --th-primary-dark: #01274d;
    --th-primary-light: #0284c7;
    --th-accent: #0ea5e9;
    --th-accent-subtle: #f0f7ff;
    --th-text-main: #1e293b;
    --th-text-muted: #64748b;
    --th-text-heading: #0f172a;
    --th-bg-white: #ffffff;
    --th-bg-slate: #f8fafc;
    --th-border: #e2e8f0;
    --th-border-hover: #cbd5e1;
    --th-radius-sm: 8px;
    --th-radius-md: 14px;
    --th-radius-lg: 20px;
    --th-radius-xl: 28px;
    --th-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --th-shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
    --th-shadow-lg: 0 16px 36px -6px rgba(1, 39, 77, 0.12);
    --th-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

    direction: rtl !important;
    text-align: right !important;
    font-family: Vazirmatn, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Tahoma, sans-serif;
    color: var(--th-text-main);
    line-height: 1.85;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px 60px;
    box-sizing: border-box;
}

.th-about-page *,
.th-about-page *::before,
.th-about-page *::after {
    box-sizing: border-box;
}

/* 1. Hero Section */
.th-about-hero {
    position: relative;
    background: radial-gradient(circle at 80% 20%, #033c75 0%, #01274d 60%, #001730 100%);
    color: #ffffff;
    border-radius: var(--th-radius-xl);
    padding: 64px 36px 48px;
    margin-bottom: 40px;
    box-shadow: var(--th-shadow-lg);
    overflow: hidden;
}

.th-about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

.th-about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.th-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #bae6fd;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.th-about-badge-dot {
    width: 8px;
    height: 8px;
    background-color: #38bdf8;
    border-radius: 50%;
    box-shadow: 0 0 10px #38bdf8;
}

.th-about-hero h1 {
    color: #ffffff !important;
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.th-about-hero-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.22rem);
    color: #e2e8f0;
    line-height: 1.95;
    margin: 0 auto 36px;
    max-width: 840px;
    text-align: justify;
    text-align-last: center;
}

.th-about-hero-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px;
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.th-about-hero-stat {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--th-radius-md);
    padding: 16px 14px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.th-about-hero-stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-radius: 10px;
    margin: 0 auto 10px;
}

.th-about-hero-stat-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.th-about-hero-stat-desc {
    color: #cbd5e1;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Section Common */
.th-about-section {
    margin-bottom: 50px;
}

.th-about-section-header {
    margin-bottom: 28px;
    text-align: right;
}

.th-about-section-label {
    display: inline-block;
    color: var(--th-primary);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.th-about-section-title {
    color: var(--th-text-heading);
    font-size: clamp(1.45rem, 2.2vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.4;
}

.th-about-section-subtitle {
    color: var(--th-text-muted);
    font-size: 1.02rem;
    margin: 0;
    line-height: 1.8;
}

/* 2. Who We Are */
.th-about-editorial-card {
    background: var(--th-bg-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--th-shadow-sm);
    position: relative;
    overflow: hidden;
}

.th-about-editorial-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--th-primary) 0%, var(--th-primary-light) 100%);
}

.th-about-editorial-text p {
    font-size: 1.05rem;
    color: #334155;
    line-height: 2;
    margin-bottom: 18px;
    text-align: justify;
}

.th-about-editorial-text p:last-child {
    margin-bottom: 0;
}

/* 3. Mission & Vision Grid */
.th-about-mv-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
    margin-top: 16px;
}

.th-about-mv-card {
    background: var(--th-bg-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    padding: 32px 28px;
    box-shadow: var(--th-shadow-sm);
    transition: var(--th-transition);
    display: flex;
    flex-direction: column;
}

.th-about-mv-card:hover {
    border-color: var(--th-primary-light);
    box-shadow: var(--th-shadow-md);
    transform: translateY(-2px);
}

.th-about-mv-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--th-radius-md);
    background: var(--th-accent-subtle);
    color: var(--th-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.th-about-mv-title {
    color: var(--th-text-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.th-about-mv-desc {
    color: var(--th-text-muted);
    font-size: 0.98rem;
    line-height: 1.9;
    margin: 0;
    text-align: justify;
}

/* 4. Core Values */
.th-about-values-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px;
}

.th-about-value-card {
    background: var(--th-bg-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-md);
    padding: 26px 22px;
    box-shadow: var(--th-shadow-sm);
    transition: var(--th-transition);
}

.th-about-value-card:hover {
    border-color: var(--th-primary-light);
    box-shadow: var(--th-shadow-md);
    transform: translateY(-2px);
}

.th-about-value-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.th-about-value-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0f9ff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.th-about-value-title {
    color: var(--th-text-heading);
    font-size: 1.08rem;
    font-weight: 700;
    margin: 0;
}

.th-about-value-desc {
    color: var(--th-text-muted);
    font-size: 0.92rem;
    line-height: 1.85;
    margin: 0;
    text-align: justify;
}

/* 5. What We Provide */
.th-about-services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 22px;
}

.th-about-service-card {
    background: var(--th-bg-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-lg);
    padding: 28px 24px;
    box-shadow: var(--th-shadow-sm);
    transition: var(--th-transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.th-about-service-card:hover {
    border-color: var(--th-primary);
    box-shadow: var(--th-shadow-md);
    transform: translateY(-2px);
}

.th-about-service-top {
    margin-bottom: 20px;
}

.th-about-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--th-accent-subtle);
    color: var(--th-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.th-about-service-title {
    color: var(--th-text-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.th-about-service-desc {
    color: var(--th-text-muted);
    font-size: 0.94rem;
    line-height: 1.85;
    margin: 0 0 14px;
    text-align: justify;
}

.th-about-service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--th-primary);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: var(--th-transition);
    margin-top: auto;
}

.th-about-service-link:hover {
    color: #004080;
    gap: 10px;
}

.th-about-service-link svg {
    transition: transform 0.2s ease;
}

.th-about-service-link:hover svg {
    transform: translateX(-4px);
}

/* 6. Why TrustHost */
.th-about-why-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
}

.th-about-why-card {
    background: var(--th-bg-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-md);
    padding: 24px;
    box-shadow: var(--th-shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: var(--th-transition);
}

.th-about-why-card:hover {
    border-color: var(--th-primary-light);
    box-shadow: var(--th-shadow-md);
}

.th-about-why-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--th-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.th-about-why-body h3 {
    color: var(--th-text-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px;
}

.th-about-why-body p {
    color: var(--th-text-muted);
    font-size: 0.91rem;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* 7. Customer Commitment */
.th-about-commitment-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: var(--th-radius-lg);
    padding: 36px 32px;
    box-shadow: var(--th-shadow-sm);
}

.th-about-commitment-card p {
    font-size: 1.04rem;
    color: #334155;
    line-height: 2;
    margin-bottom: 16px;
    text-align: justify;
}

.th-about-commitment-card p:last-child {
    margin-bottom: 0;
}

.th-about-commitment-points {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed #cbd5e1;
}

.th-about-point-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.94rem;
    color: #1e293b;
    font-weight: 500;
}

.th-about-point-icon {
    color: #0284c7;
    flex-shrink: 0;
    margin-top: 3px;
}

/* 8. Brand Statement */
.th-about-trust-statement {
    background: linear-gradient(135deg, #01274d 0%, #034586 100%);
    color: #ffffff;
    border-radius: var(--th-radius-lg);
    padding: 44px 36px;
    text-align: center;
    box-shadow: var(--th-shadow-md);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.th-about-trust-statement h2 {
    color: #ffffff !important;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.4;
}

.th-about-trust-statement p {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.9;
    max-width: 820px;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
}

/* 9. Final CTA */
.th-about-cta {
    background: var(--th-bg-white);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-xl);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--th-shadow-md);
}

.th-about-cta h2 {
    color: var(--th-text-heading);
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    font-weight: 800;
    margin: 0 0 12px;
}

.th-about-cta p {
    color: var(--th-text-muted);
    font-size: 1.04rem;
    max-width: 680px;
    margin: 0 auto 32px;
}

.th-about-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.th-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--th-primary);
    color: #ffffff !important;
    padding: 13px 28px;
    border-radius: var(--th-radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
    transition: var(--th-transition);
}

.th-btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    color: #ffffff !important;
}

.th-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: var(--th-text-heading) !important;
    border: 1px solid var(--th-border-hover);
    padding: 13px 28px;
    border-radius: var(--th-radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--th-transition);
}

.th-btn-secondary:hover {
    background: var(--th-bg-slate);
    border-color: #94a3b8;
    color: var(--th-primary) !important;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .th-about-hero-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .th-about-values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .th-about-page {
        padding: 6px 12px 40px;
    }
    .th-about-hero {
        padding: 40px 20px 32px;
        border-radius: var(--th-radius-lg);
        margin-bottom: 30px;
    }
    .th-about-hero-lead {
        text-align: right;
        text-align-last: right;
    }
    .th-about-mv-grid,
    .th-about-values-grid,
    .th-about-services-grid,
    .th-about-why-grid,
    .th-about-commitment-points {
        grid-template-columns: 1fr !important;
    }
    .th-about-editorial-card,
    .th-about-commitment-card,
    .th-about-trust-statement,
    .th-about-cta {
        padding: 26px 20px;
    }
    .th-about-trust-statement p {
        text-align: right;
        text-align-last: right;
    }
    .th-about-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .th-btn-primary,
    .th-btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .th-about-hero-grid {
        grid-template-columns: 1fr !important;
    }
    .th-about-hero h1 {
        font-size: 1.6rem;
    }
}
