/**
 * About Us & Cooperate Page Styles
 * Figma Node: 6002:14958 - About Us + Cooperate
 *
 * @package Strategic_Club
 * @since   1.0.0
 */

/* ==========================================================================
   CSS Custom Properties — About Page Theme
   ========================================================================== */

.about-page-main,
.cooperate-page-main {
    /* Surface colors */
    --about-bg-base:        #0D0E11;
    --about-bg-surface:     #15171C;
    --about-bg-card:        #1A1C22;
    --about-bg-elevated:    #22252C;
    --about-bg-input:       #1E2027;

    /* Border colors */
    --about-border:         #2A2D35;
    --about-border-focus:   #1081DF;
    --about-border-subtle:  #1F2229;

    /* Text colors */
    --about-text-primary:   #F0F2F5;
    --about-text-secondary: #B0B5BF;
    --about-text-muted:     #7A808C;
    --about-text-accent:    #1081DF;

    /* Accent / brand */
    --about-accent:         #1081DF;
    --about-accent-glow:    rgba(16, 129, 223, 0.15);
    --about-accent-hover:   #1A93F0;

    /* Typography */
    --about-font:           'Vazir', Tahoma, Arial, sans-serif;
    --about-font-size-base: 15px;
    --about-line-height:    1.75;

    /* Spacing scale */
    --about-space-xs:       6px;
    --about-space-sm:       12px;
    --about-space-md:       20px;
    --about-space-lg:       32px;
    --about-space-xl:       48px;
    --about-space-2xl:      64px;
    --about-space-3xl:      80px;

    /* Border radius */
    --about-radius-sm:      6px;
    --about-radius-md:      10px;
    --about-radius-lg:      14px;

    /* Transitions */
    --about-transition:     0.2s ease;
}


/* ==========================================================================
   Body Background Fix — eliminates white corners above rounded footer
   ========================================================================== */

body.page-template-page-about {
    background-color: var(--about-bg-base);
}


/* ==========================================================================
   Page Hero / Banner Section
   Figma Node: 6002:14961 - Frame 2147224859
   ========================================================================== */

.about-hero {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--about-space-lg) var(--about-space-xl);
    border-bottom: 1px solid var(--about-border);
    border-radius: 0 0 var(--about-radius-lg) var(--about-radius-lg);
    overflow: hidden;
    direction: rtl;
}

/* Background Image */
.about-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.about-hero-bg img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 var(--about-radius-lg) var(--about-radius-lg);
    /* Subtle desaturation for military feel */
    filter: brightness(0.7) saturate(0.8);
}

/* Dark Overlay — improved contrast for text readability */
.about-hero-overlay {
    position: absolute;
    inset: 0;
    border-radius: 0 0 var(--about-radius-lg) var(--about-radius-lg);
    /* background: linear-gradient(
        180deg,
        rgba(10, 11, 15, 0.75) 0%,
        rgba(10, 11, 15, 0.88) 50%,
        rgba(13, 14, 17, 0.95) 100%
    ); */
    z-index: 1;
}

/* Hero Content */
.about-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--about-space-md);
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    flex-shrink: 0;
}

/* Title Wrap */
.about-hero-title-wrap {
    display: flex;
    gap: 8px;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 100%;
    text-align: center;
}

/* English watermark text */
.about-hero-title-en {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: rgba(143, 150, 163, 0.12);
    font-family: iransans;
    font-size: 72px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
    color: transparent;
    white-space: nowrap;
    pointer-events: none;
    z-index: -1;
    letter-spacing: 6px;
    text-rendering: optimizeLegibility;
    user-select: none;
}

/* Persian main title */
.about-hero-title-fa {
    font-family: var(--about-font);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.3;
    color: var(--about-text-primary);
    position: relative;
    flex-shrink: 0;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Breadcrumb */
.about-hero-breadcrumb {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    direction: rtl;
}

.about-hero-breadcrumb-current {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--about-text-muted);
    text-align: center;
}

.about-hero-breadcrumb-sep {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.about-hero-breadcrumb-sep img {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(0.5);
}

.about-hero-breadcrumb-home {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--about-text-muted);
    text-align: center;
    text-decoration: none;
    transition: color var(--about-transition);
}

.about-hero-breadcrumb-home:hover {
    color: var(--about-text-primary);
}


/* ==========================================================================
   Main Content Area
   Figma Node: 6002:14960 - Frame 2147224908
   ========================================================================== */

.about-page-main {
    background-color: var(--about-bg-base);
    padding: 0 0 var(--about-space-3xl);
    direction: rtl;
    min-height: 100vh;
}

.about-page-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--about-space-lg);
}

.about-content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--about-space-xl);
    padding-top: var(--about-space-2xl);
}


/* ==========================================================================
   About Section — Logo + Description
   Figma Node: 6002:14968 - Frame 1261156389
   ========================================================================== */

.about-intro-section {
    background-color: var(--about-bg-card);
    border: 1px solid var(--about-border-subtle);
    border-radius: var(--about-radius-md);
    padding: var(--about-space-lg) var(--about-space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--about-space-md);
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.about-logo {
    width: 60px;
    height: 55px;
    position: relative;
    flex-shrink: 0;
    margin-bottom: var(--about-space-xs);
}

.about-logo img {
    width: 100%;
    height: 100%;
    display: block;
}

.about-description {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: var(--about-font-size-base);
    line-height: var(--about-line-height);
    color: var(--about-text-secondary);
    text-align: justify;
    direction: rtl;
    width: 100%;
    max-width: 900px;
}

.about-description p {
    margin-bottom: var(--about-space-md);
    text-indent: 0;
}

.about-description p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   Achievements Section
   Figma Node: 6002:14979 - Frame 2147224875
   ========================================================================== */

.about-achievements-section {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-lg);
    align-items: center;
    width: 100%;
}

.about-achievements-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: auto;
    flex-shrink: 0;
    padding-top: 5px; /* space for icon above */
}

.about-achievements-title {
    font-family: var(--about-font);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.4;
    color: var(--about-text-primary);
    width: 100%;
    text-align: center;
    direction: rtl;
    margin: 0;
    white-space: nowrap;
}

.about-achievements-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    pointer-events: none;
    opacity: 0.9;
}

.about-achievements-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Info Cards Row */
.about-info-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--about-space-md);
    width: 100%;
    direction: ltr;
}

/* Info Card */
.about-info-card {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-sm);
    align-items: center;
    overflow: hidden;
    padding: var(--about-space-md) var(--about-space-sm);
    border-radius: var(--about-radius-md);
    flex-shrink: 0;
    width: 100%;
    background-color: var(--about-bg-card);
    border: 1px solid var(--about-border-subtle);
    transition: border-color var(--about-transition), transform var(--about-transition);
}

.about-info-card:hover {
    border-color: var(--about-border);
    transform: translateY(-2px);
}

.about-info-card-icon {
    width: 36px;
    height: 36px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-info-card-icon img {
    width: 100%;
    height: 100%;
    display: block;
    filter: brightness(1.1);
}

.about-info-card-title {
    font-family: var(--about-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    color: var(--about-text-primary);
    text-align: center;
    width: 100%;
    white-space: normal;
    margin: 0;
    direction: rtl;
}

.about-info-card-body {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.5;
    color: var(--about-text-muted);
    text-align: center;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    margin: 0;
}


/* ==========================================================================
   Our Story Section
   Figma Node: 6255:17157 - Frame 2147224905
   ========================================================================== */

.about-story-section {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-md);
    align-items: flex-start;
    width: 100%;
}

.about-story-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-shrink: 0;
}

/* Slider Counter / Navigation */
.about-story-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.about-story-nav-btn {
    background-color: var(--about-bg-elevated);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4px;
    flex-shrink: 0;
    cursor: pointer;
    border: 1px solid var(--about-border-subtle);
    width: 34px;
    height: 34px;
    transition: background-color var(--about-transition), border-color var(--about-transition);
}

.about-story-nav-btn:first-child {
    border-radius: 0 var(--about-radius-sm) var(--about-radius-sm) 0;
}

.about-story-nav-btn:last-child {
    border-radius: var(--about-radius-sm) 0 0 var(--about-radius-sm);
}

.about-story-nav-btn:hover {
    background-color: var(--about-bg-input);
    border-color: var(--about-border);
}

.about-story-nav-btn img {
    width: 24px;
    height: 24px;
    display: block;
    filter: invert(0.7);
}

.about-story-counter {
    background-color: var(--about-bg-elevated);
    border: 1px solid var(--about-border-subtle);
    display: flex;
    gap: 6px;
    height: 34px;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    width: auto;
    min-width: 56px;
    flex-shrink: 0;
}

.about-story-counter-num {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--about-text-secondary);
    white-space: nowrap;
}

.about-story-counter-sep {
    width: 5px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.4;
}

.about-story-counter-sep img {
    display: block;
    width: 100%;
    height: 100%;
    filter: invert(0.6);
}

/* Story Title Area */
.about-story-title-area {
    display: flex;
    gap: var(--about-space-sm);
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.about-story-step-label {
    font-family: var(--about-font);
    font-weight: 500;
    font-size: 17px;
    line-height: 1.5;
    color: var(--about-text-secondary);
    direction: rtl;
    margin: 0;
}

.about-story-divider {
    width: 0;
    height: 22px;
    border-right: 1px solid var(--about-border);
    flex-shrink: 0;
}

.about-story-title-group {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.about-story-title {
    font-family: var(--about-font);
    font-weight: 600;
    font-size: 17px;
    line-height: 1.5;
    color: var(--about-text-primary);
    direction: rtl;
    margin: 0;
}

.about-story-title-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
}

.about-story-title-icon img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.8;
}

/* Story Slides Wrapper */
.about-story-slides-wrapper {
    width: 100%;
    flex-shrink: 0;
}

.about-story-slide {
    display: none;
    width: 100%;
}

.about-story-slide.active {
    display: block;
}

/* Story Content Box */
.about-story-content {
    background-color: var(--about-bg-card);
    border: 1px solid var(--about-border-subtle);
    display: flex;
    gap: var(--about-space-md);
    align-items: stretch;
    overflow: hidden;
    padding: var(--about-space-lg);
    border-radius: var(--about-radius-md);
    flex-shrink: 0;
    width: 100%;
    flex-direction: row-reverse;
}

.about-story-roadmap {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-sm);
    align-items: flex-start;
    flex-shrink: 0;
    width: 380px;
    align-self: stretch;
    direction: ltr;
}

/* Roadmap Card */
.about-roadmap-card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    overflow: hidden;
    padding: var(--about-space-sm) var(--about-space-sm);
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    width: 100%;
    background-color: var(--about-bg-elevated);
    border: 1px solid var(--about-border-subtle);
    transition: border-color var(--about-transition);
}

.about-roadmap-card:hover {
    border-color: var(--about-border);
}

.about-roadmap-card-inner {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    flex-shrink: 0;
}

.about-roadmap-card-text {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--about-text-secondary);
    text-align: right;
    direction: rtl;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1 0 0;
    min-width: 0;
    margin: 0;
}

.about-roadmap-card-icon-wrap {
    background-color: var(--about-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 7px;
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: 1px solid var(--about-border-subtle);
}

.about-roadmap-card-icon {
    flex: 1 0 0;
    height: 30px;
    min-height: 1px;
    min-width: 1px;
    position: relative;
}

.about-roadmap-card-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Badge on Roadmap Card */
.about-roadmap-card-badge {
    background-color: #F03900;
    display: flex;
    gap: 4px;
    height: 24px;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 4px;
    flex-shrink: 0;
}

.about-roadmap-card-badge span {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #FFFFFF;
    white-space: nowrap;
    direction: rtl;
    margin: 0;
}


/* Story Text */
.about-story-text {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: var(--about-font-size-base);
    line-height: var(--about-line-height);
    color: var(--about-text-secondary);
    text-align: right;
    direction: rtl;
    flex: 1 1 0;
    min-height: 1px;
    min-width: 0;
    white-space: pre-wrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-story-text p {
    margin-bottom: var(--about-space-md);
}

.about-story-text p:last-child {
    margin-bottom: 0;
}


/* ==========================================================================
   Contact / Cooperate Section
   Figma Node: 6255:19260 - Contact Section
   ========================================================================== */

.about-contact-section {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-md);
    align-items: stretch;
    width: 100%;
}

.about-contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--about-space-md);
    width: 100%;
    flex-shrink: 0;
}

/* Tabs */
.about-contact-tabs {
    display: flex;
    gap: var(--about-space-xs);
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    flex-wrap: wrap;
    flex-direction: row-reverse;
}

.about-contact-tab {
    display: flex;
    gap: 8px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: border-color var(--about-transition), background-color var(--about-transition);
}

.about-contact-tab:hover,
.about-contact-tab:focus-visible {
    background-color: var(--about-bg-elevated);
    border-bottom-color: rgba(16, 129, 223, 0.4);
    outline: none;
}

.about-contact-tab.active {
    border-bottom-color: var(--about-accent);
    cursor: default;
    background-color: var(--about-bg-elevated);
}

.about-contact-tab-text {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
    color: var(--about-text-muted);
    white-space: nowrap;
    direction: rtl;
    transition: color var(--about-transition);
}

.about-contact-tab:hover .about-contact-tab-text,
.about-contact-tab:focus-visible .about-contact-tab-text,
.about-contact-tab.active .about-contact-tab-text {
    color: var(--about-text-primary);
}

.about-contact-tab-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
}

.about-contact-tab-icon img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.5;
    transition: opacity var(--about-transition);
}

.about-contact-tab:hover .about-contact-tab-icon img,
.about-contact-tab:focus-visible .about-contact-tab-icon img,
.about-contact-tab.active .about-contact-tab-icon img {
    opacity: 1;
    filter: brightness(1.1);
}

/* Contact Title */
.about-contact-title-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.about-contact-title {
    font-family: var(--about-font);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--about-text-primary);
    direction: rtl;
    margin: 0;
}

.about-contact-title-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
}

.about-contact-title-icon img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.8;
}

/* Contact Form Box */
.about-contact-box {
    background-color: var(--about-bg-card);
    border: 1px solid var(--about-border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding: var(--about-space-lg);
    border-radius: var(--about-radius-md);
    flex-shrink: 0;
    width: 100%;
}

.about-contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-md);
    align-items: flex-start;
    width: 100%;
}

.about-contact-fields-row {
    display: flex;
    gap: var(--about-space-sm);
    align-items: stretch;
    width: 100%;
    flex-shrink: 0;
}

/* Form Input */
.about-form-input {
    background-color: var(--about-bg-input);
    border: 1.5px solid var(--about-border);
    display: flex;
    flex: 1 0 0;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: var(--about-radius-sm);
    cursor: text;
    transition: border-color var(--about-transition), box-shadow var(--about-transition);
    width: 100%;
}

.about-form-input:focus-within {
    border-color: var(--about-accent);
    box-shadow: 0 0 0 3px var(--about-accent-glow);
}

.about-form-input input,
.about-form-input textarea {
    flex: 1 1 auto;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--about-text-primary);
    text-align: right;
    direction: rtl;
    min-height: 24px;
    min-width: 0;
    white-space: nowrap;
    resize: none;
}

.about-form-input input::placeholder,
.about-form-input textarea::placeholder {
    color: var(--about-text-muted);
}

.about-form-input input:focus,
.about-form-input textarea:focus,
.about-form-textarea-wrap textarea:focus {
    background-color: transparent !important;
    color: var(--about-text-primary) !important;
    box-shadow: none !important;
}

/* Autofill fix for dark theme */
.about-form-input input:-webkit-autofill,
.about-form-input input:-webkit-autofill:hover,
.about-form-input input:-webkit-autofill:focus,
.about-form-input input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--about-bg-input) inset !important;
    -webkit-text-fill-color: var(--about-text-primary) !important;
    caret-color: var(--about-text-primary);
    transition: background-color 9999s ease-in-out 0s;
}

.about-form-input-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
    opacity: 0.5;
}

.about-form-input-icon img {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(0.6);
}

/* Textarea Wrapper */
.about-form-textarea-wrap {
    background-color: var(--about-bg-input);
    border: 1.5px solid var(--about-border);
    display: flex;
    height: 180px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px 16px;
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
    cursor: text;
    transition: border-color var(--about-transition), box-shadow var(--about-transition);
}

.about-form-textarea-wrap:focus-within {
    border-color: var(--about-accent);
    box-shadow: 0 0 0 3px var(--about-accent-glow);
}

.about-form-textarea-wrap textarea {
    flex: 1 0 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: var(--about-text-primary);
    text-align: right;
    direction: rtl;
    min-height: 1px;
    min-width: 1px;
    white-space: pre-wrap;
    resize: none;
    height: 100%;
    width: 100%;
}

.about-form-textarea-wrap textarea::placeholder {
    color: var(--about-text-muted);
}

.about-form-textarea-wrap textarea:-webkit-autofill,
.about-form-textarea-wrap textarea:-webkit-autofill:hover,
.about-form-textarea-wrap textarea:-webkit-autofill:focus,
.about-form-textarea-wrap textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--about-bg-input) inset !important;
    -webkit-text-fill-color: var(--about-text-primary) !important;
    caret-color: var(--about-text-primary);
    transition: background-color 9999s ease-in-out 0s;
}

/* Submit Button */
.about-form-submit-btn {
    background: linear-gradient(135deg, var(--about-accent), #0B6CBF);
    display: flex;
    gap: 8px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    width: auto;
    min-width: 180px;
    cursor: pointer;
    border: none;
    transition: transform var(--about-transition), box-shadow var(--about-transition), opacity var(--about-transition);
    box-shadow: 0 2px 12px rgba(16, 129, 223, 0.25);
}

.about-form-submit-btn:hover,
.about-form-submit-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(16, 129, 223, 0.35);
    outline: none;
}

.about-form-submit-btn:active {
    transform: translateY(0);
}

.about-form-submit-btn span {
    font-family: var(--about-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: #FFFFFF;
    white-space: nowrap;
    direction: rtl;
}

/* Submit Button Loading State */
.about-form-submit-btn.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

/* Contact Form Success/Error Message */
.about-contact-message {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 18px;
    border-radius: var(--about-radius-sm);
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
    margin: 0 0 var(--about-space-sm);
}

.about-contact-message--success {
    background-color: rgba(16, 200, 100, 0.1);
    border: 1px solid rgba(16, 200, 100, 0.3);
    color: #34c770;
}

.about-contact-message--error {
    background-color: rgba(214, 54, 56, 0.1);
    border: 1px solid rgba(214, 54, 56, 0.3);
    color: #e85557;
}

/* Tab panels */
.about-contact-panel {
    display: none;
    width: 100%;
}

.about-contact-panel.active {
    display: block;
}


/* ==========================================================================
   Cooperate Page Hero
   ========================================================================== */

.cooperate-hero {
    position: relative;
    width: 100%;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--about-space-lg) var(--about-space-xl);
    border-bottom: 1px solid var(--about-border);
    border-radius: 0 0 var(--about-radius-lg) var(--about-radius-lg);
    overflow: hidden;
    direction: rtl;
}

.cooperate-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cooperate-hero-bg img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 var(--about-radius-lg) var(--about-radius-lg);
    filter: brightness(0.7) saturate(0.8);
}

.cooperate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 11, 15, 0.75) 0%,
        rgba(10, 11, 15, 0.88) 50%,
        rgba(13, 14, 17, 0.95) 100%
    );
    border-radius: 0 0 var(--about-radius-lg) var(--about-radius-lg);
    z-index: 1;
}

.cooperate-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--about-space-md);
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
    flex-shrink: 0;
}

.cooperate-hero-title-wrap {
    display: flex;
    gap: 8px;
    height: auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    width: 100%;
    text-align: center;
}

.cooperate-hero-title-en {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Vazir', sans-serif;
    font-weight: 500;
    font-size: 72px;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    letter-spacing: 6px;
}

.cooperate-hero-title-fa {
    font-family: var(--about-font);
    font-weight: 700;
    font-size: 44px;
    line-height: 1.3;
    color: var(--about-text-primary);
    position: relative;
    flex-shrink: 0;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.cooperate-hero-breadcrumb {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    direction: rtl;
}

.cooperate-hero-breadcrumb-current {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--about-text-muted);
    text-align: center;
}

.cooperate-hero-breadcrumb-sep {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.cooperate-hero-breadcrumb-sep img {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(0.5);
}

.cooperate-hero-breadcrumb-home {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--about-text-muted);
    text-align: center;
    text-decoration: none;
    transition: color var(--about-transition);
}

.cooperate-hero-breadcrumb-home:hover {
    color: var(--about-text-primary);
}


/* ==========================================================================
   Cooperate Page — Work With Us Form
   ========================================================================== */

.cooperate-page-main {
    background-color: var(--about-bg-base);
    padding: 0 0 var(--about-space-3xl);
    direction: rtl;
    min-height: 100vh;
}

.cooperate-page-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--about-space-lg);
}

.cooperate-content-wrapper {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: var(--about-space-2xl);
}

/* Cooperate Contact Section */
.cooperate-contact-section {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-md);
    align-items: stretch;
    width: 100%;
}

.cooperate-contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-shrink: 0;
}

.cooperate-contact-tabs {
    display: flex;
    gap: var(--about-space-xs);
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cooperate-contact-tab {
    display: flex;
    gap: 8px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    cursor: pointer;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: border-color var(--about-transition), background-color var(--about-transition);
}

.cooperate-contact-tab:hover,
.cooperate-contact-tab:focus-visible {
    background-color: var(--about-bg-elevated);
    border-bottom-color: rgba(16, 129, 223, 0.4);
    outline: none;
}

.cooperate-contact-tab.active {
    border-bottom-color: var(--about-accent);
    cursor: default;
    background-color: var(--about-bg-elevated);
}

.cooperate-contact-tab-text {
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
    color: var(--about-text-muted);
    white-space: nowrap;
    direction: rtl;
    transition: color var(--about-transition);
}

.cooperate-contact-tab:hover .cooperate-contact-tab-text,
.cooperate-contact-tab:focus-visible .cooperate-contact-tab-text,
.cooperate-contact-tab.active .cooperate-contact-tab-text {
    color: var(--about-text-primary);
}

.cooperate-contact-tab-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
}

.cooperate-contact-tab-icon img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.5;
    transition: opacity var(--about-transition);
}

.cooperate-contact-tab:hover .cooperate-contact-tab-icon img,
.cooperate-contact-tab:focus-visible .cooperate-contact-tab-icon img,
.cooperate-contact-tab.active .cooperate-contact-tab-icon img {
    opacity: 1;
    filter: brightness(1.1);
}

.cooperate-contact-title-group {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.cooperate-contact-title {
    font-family: var(--about-font);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: var(--about-text-primary);
    direction: rtl;
    margin: 0;
}

.cooperate-contact-title-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
}

.cooperate-contact-title-icon img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.8;
}

.cooperate-contact-box {
    background-color: var(--about-bg-card);
    border: 1px solid var(--about-border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: visible;
    padding: var(--about-space-lg);
    border-radius: var(--about-radius-md);
    flex-shrink: 0;
    width: 100%;
}

.cooperate-contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--about-space-md);
    align-items: flex-start;
    width: 100%;
}

.cooperate-contact-fields-row {
    display: flex;
    gap: var(--about-space-sm);
    align-items: stretch;
    width: 100%;
    flex-shrink: 0;
}

.cooperate-form-input {
    background-color: var(--about-bg-input);
    border: 1.5px solid var(--about-border);
    display: flex;
    flex: 1 0 0;
    gap: 10px;
    align-items: center;
    min-height: 52px;
    min-width: 0;
    padding: 14px 16px;
    border-radius: var(--about-radius-sm);
    cursor: text;
    transition: border-color var(--about-transition), box-shadow var(--about-transition);
    width: 100%;
}

.cooperate-form-input:focus-within {
    border-color: var(--about-accent);
    box-shadow: 0 0 0 3px var(--about-accent-glow);
}

.cooperate-form-input input {
    flex: 1 1 auto;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: var(--about-text-primary);
    text-align: right;
    direction: rtl;
    min-height: 24px;
    min-width: 0;
    white-space: nowrap;
}

.cooperate-form-input input::placeholder {
    color: var(--about-text-muted);
}

.cooperate-form-input input:focus,
.cooperate-form-textarea-wrap textarea:focus {
    background-color: transparent !important;
    color: var(--about-text-primary) !important;
    box-shadow: none !important;
}

.cooperate-form-input input:-webkit-autofill,
.cooperate-form-input input:-webkit-autofill:hover,
.cooperate-form-input input:-webkit-autofill:focus,
.cooperate-form-input input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--about-bg-input) inset !important;
    -webkit-text-fill-color: var(--about-text-primary) !important;
    caret-color: var(--about-text-primary);
    transition: background-color 9999s ease-in-out 0s;
}

.cooperate-form-input-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    position: relative;
    opacity: 0.5;
}

.cooperate-form-input-icon img {
    width: 100%;
    height: 100%;
    display: block;
    filter: invert(0.6);
}

.cooperate-form-textarea-wrap {
    background-color: var(--about-bg-input);
    border: 1.5px solid var(--about-border);
    display: flex;
    height: 180px;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 14px 16px;
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    width: 100%;
    min-width: 0;
    cursor: text;
    transition: border-color var(--about-transition), box-shadow var(--about-transition);
}

.cooperate-form-textarea-wrap:focus-within {
    border-color: var(--about-accent);
    box-shadow: 0 0 0 3px var(--about-accent-glow);
}

.cooperate-form-textarea-wrap textarea {
    flex: 1 0 0;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--about-font);
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: var(--about-text-primary);
    text-align: right;
    direction: rtl;
    min-height: 1px;
    min-width: 1px;
    white-space: pre-wrap;
    resize: none;
    height: 100%;
    width: 100%;
}

.cooperate-form-textarea-wrap textarea::placeholder {
    color: var(--about-text-muted);
}

.cooperate-form-textarea-wrap textarea:-webkit-autofill,
.cooperate-form-textarea-wrap textarea:-webkit-autofill:hover,
.cooperate-form-textarea-wrap textarea:-webkit-autofill:focus,
.cooperate-form-textarea-wrap textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px var(--about-bg-input) inset !important;
    -webkit-text-fill-color: var(--about-text-primary) !important;
    caret-color: var(--about-text-primary);
    transition: background-color 9999s ease-in-out 0s;
}

.cooperate-form-submit-btn {
    background: linear-gradient(135deg, var(--about-accent), #0B6CBF);
    display: flex;
    gap: 8px;
    height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: var(--about-radius-sm);
    flex-shrink: 0;
    width: auto;
    min-width: 180px;
    cursor: pointer;
    border: none;
    transition: transform var(--about-transition), box-shadow var(--about-transition), opacity var(--about-transition);
    box-shadow: 0 2px 12px rgba(16, 129, 223, 0.25);
}

.cooperate-form-submit-btn:hover,
.cooperate-form-submit-btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(16, 129, 223, 0.35);
    outline: none;
}

.cooperate-form-submit-btn:active {
    transform: translateY(0);
}

.cooperate-form-submit-btn span {
    font-family: var(--about-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
    color: #FFFFFF;
    white-space: nowrap;
    direction: rtl;
}


/* ==========================================================================
   Footer Integration — Ensure dark background connects
   ========================================================================== */

body.page-template-page-about .sc-footer,
body.page-template-page-about .sc-footer__inner,
body.page-template-page-cooperate .sc-footer,
body.page-template-page-cooperate .sc-footer__inner {
    background-color: var(--about-bg-base);
}


/* ==========================================================================
   Responsive — Tablet Landscape (max-width: 1200px)
   ========================================================================== */

@media (max-width: 1200px) {
    .about-info-cards-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-story-roadmap {
        width: 320px;
    }
}


/* ==========================================================================
   Responsive — Tablet (max-width: 992px)
   ========================================================================== */

@media (max-width: 992px) {
    .about-hero,
    .cooperate-hero {
        padding: var(--about-space-lg) var(--about-space-md);
        height: auto;
        min-height: 220px;
    }

    .about-hero-title-en,
    .cooperate-hero-title-en {
        font-size: 48px;
        letter-spacing: 4px;
    }

    .about-hero-title-fa,
    .cooperate-hero-title-fa {
        font-size: 32px;
    }

    .about-story-content {
        flex-direction: column-reverse;
        overflow: visible;
    }

    .about-story-text {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }

    .about-story-roadmap {
        width: 100%;
        flex-shrink: 0;
    }

    .about-contact-fields-row,
    .cooperate-contact-fields-row {
        flex-direction: column;
    }

    .about-story-header {
        /* Keep row layout — Figma mobile design keeps header in one row */
    }

    .about-story-title-area {
        flex-direction: column;
        gap: 8px;
        /* align-items: flex-end; */
        justify-content: flex-end;
    }

    .about-story-divider {
        display: none;
    }

    .about-story-nav {
        justify-content: flex-end;
    }
}


/* ==========================================================================
   Responsive — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    .about-page-inner,
    .cooperate-page-inner {
        padding: 0 var(--about-space-sm);
    }

    .about-content-wrapper,
    .cooperate-content-wrapper {
        padding-top: var(--about-space-lg);
        gap: var(--about-space-lg);
    }

    .about-intro-section {
        padding: var(--about-space-md);
    }

    .about-description {
        text-align: right;
        font-size: 14px;
    }

    .about-achievements-title {
        font-size: 18px;
    }

    .about-info-cards-row {
        grid-template-columns: 1fr 1fr;
        gap: var(--about-space-sm);
    }

    .about-info-card {
        width: 100%;
        padding: var(--about-space-sm);
    }

    .about-info-card-title {
        font-size: 13px;
    }

    .about-info-card-body {
        font-size: 12px;
    }

    .about-story-content {
        padding: 12px;
        gap: 12px;
        flex-direction: column-reverse;
        overflow: visible;
    }

    .about-story-text {
        width: 100%;
        min-width: 0;
        flex: 1 1 auto;
    }

    .about-story-roadmap {
        width: 100%;
        flex-shrink: 0;
    }

    .about-story-title {
        font-size: 16px;
    }

    .about-story-step-label {
        font-size: 16px;
    }

    .about-story-title-icon {
        width: 24px;
        height: 24px;
    }

    .about-story-nav-btn {
        width: 32px;
        height: 32px;
        padding: 4px;
    }

    .about-story-counter {
        height: 32px;
        padding: 4px 8px;
        min-width: 48px;
    }

    .about-story-counter-num {
        font-size: 14px;
    }

    .about-roadmap-card-icon-wrap {
        width: 32px;
        height: 32px;
        padding: 4px;
    }

    .about-roadmap-card-icon {
        height: 24px;
    }

    .about-roadmap-card {
        padding: 8px;
    }

    .about-roadmap-card-text {
        font-size: 14px;
    }

    .about-story-text {
        font-size: 14px;
    }

    .about-contact-header,
    .cooperate-contact-header {
        flex-direction: column;
        gap: var(--about-space-sm);
        align-items: stretch;
        /* direction: ltr; */
    }

    .about-contact-tabs,
    .cooperate-contact-tabs,
    .about-contact-title-group,
    .cooperate-contact-title-group {
        width: 100%;
        justify-content: center;
    }

    .about-contact-tab,
    .cooperate-contact-tab {
        flex: 0 1 auto;
    }

    .about-form-submit-btn,
    .cooperate-form-submit-btn {
        width: 100%;
    }

    .about-hero-content,
    .cooperate-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .about-hero-title-fa,
    .cooperate-hero-title-fa {
        font-size: 28px;
    }

    .about-hero-title-en,
    .cooperate-hero-title-en {
        font-size: 36px;
        letter-spacing: 3px;
    }

    .about-hero,
    .cooperate-hero {
        height: auto;
        min-height: 180px;
        padding: var(--about-space-md) var(--about-space-sm);
    }
}


/* ==========================================================================
   Responsive — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    .about-info-cards-row {
        grid-template-columns: 1fr;
    }

    .about-contact-tabs,
    .cooperate-contact-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .about-contact-tab,
    .cooperate-contact-tab {
        /* justify-content: flex-end; */
    }

    .about-hero-title-fa,
    .cooperate-hero-title-fa {
        font-size: 24px;
    }

    .about-hero-title-en,
    .cooperate-hero-title-en {
        font-size: 28px;
    }
}


/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .about-hero-bg,
    .about-hero-overlay,
    .cooperate-hero-bg,
    .cooperate-hero-overlay {
        display: none;
    }

    .about-page-main,
    .cooperate-page-main {
        background: #fff;
    }

    .about-hero,
    .cooperate-hero {
        height: auto;
        padding: 20px;
        border-bottom: 2px solid #333;
    }

    .about-hero-title-fa,
    .cooperate-hero-title-fa,
    .about-description,
    .about-story-text,
    .about-info-card-title,
    .about-roadmap-card-text,
    .about-contact-title,
    .about-story-title,
    .about-story-step-label {
        color: #000 !important;
    }
}
