/* About Us New Page Styles */
/* تنظیمات کلی */
.vertuka-about-new {
    /* font-family: 'IRANYekanXFaNum', sans-serif; */
    overflow-x: hidden;
}

/* سکشن‌های اصلی */
.about-section {
    padding: 35px 0px;
    position: relative;
}

.about-section:nth-child(even) {
    background-color: #f8f9fa;
}

/* تایتل‌ها */
.about-title {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f9f0 100%);
    border-radius: 12px;
    border: 2px solid #1f9a17;
    transition: all 0.3s ease;
}

.title-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(31, 154, 23, 0.3);
}

.title-icon svg {
    transition: transform 0.3s ease;
}

.title-icon:hover svg {
    transform: scale(1.2);
}

.about-title .highlight {
    color: #1f9a17;
    font-size: 1.2em;
    font-weight: 800;
}

/* متن‌ها */
.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555555;
    text-align: justify;
    margin: 0;
}

/* لیست‌ها */
.about-list {
    padding: 0;
    list-style: none;
}

.about-list li {
    position: relative;
    line-height: 1.7;
    color: #444444;
    margin-bottom: 12px;
    border: 2px dashed #1f9a17;
    border-radius: 8px;
    background: rgba(31, 154, 23, 0.02);
    transition: all 0.3s ease;
    padding-right: 30px !important;
}

.about-list li:hover {
    background: rgba(31, 154, 23, 0.05);
    transform: translateX(-5px);
}

.about-list li::before {
    content: '✓';
    position: absolute;
    right: 10px;
    color: #1f9a17;
    font-weight: bold;
    font-size: 18px;
}

/* هدر سکشن */
.section-header {
    margin-bottom: 50px;
}

.section-description {
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #555555;
    text-align: justify;
}

/* تصاویر */
.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.about-image-desktop {
    display: block;
}

.about-image-mobile {
    display: none;
}

.about-image:hover::before {
    opacity: 0.15;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    position: relative;
    z-index: 0;
}

/* Section 2 - آمار باکس‌ها */
.stat-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
    border-radius: 20px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 8px 25px rgba(31, 154, 23, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(31, 154, 23, 0.15);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #1f9a17 0%, #27c123 50%, #32d730 100%);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(31, 154, 23, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-box:hover::before {
    transform: scaleX(1);
}

.stat-box:hover::after {
    opacity: 1;
}

.stat-box:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 24px 48px rgba(31, 154, 23, 0.12);
    border-color: #1f9a17;
}

.stat-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f9a17 0%, #27c123 50%, #32d730 100%);
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 6px 18px rgba(31, 154, 23, 0.3);
    flex-shrink: 0;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #1f9a17 0%, #27c123 50%, #32d730 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-box:hover .stat-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 12px 36px rgba(31, 154, 23, 0.35);
}

.stat-box:hover .stat-icon::before {
    opacity: 0.3;
}

.stat-icon img {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.stat-box:hover .stat-icon img {
    transform: scale(1.1);
}

.stat-info {
    flex: 1;
    text-align: right;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    color: #1f9a17;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 13px;
    color: #666666;
    font-weight: 500;
    line-height: 1;
}

/* انیمیشن شمارنده */
.counter {
    display: inline-block;
    transition: all 0.5s ease;
}

/* Responsive Design */

/* بزرگ - بیش از 1400px */
@media (min-width: 1400px) {
    .section-header .about-title {
        justify-content: center;
        margin-bottom: 24px;
    }

    .stats-container {
        padding: 0px 0px 28px 0px;
    }

    .about-list {
        margin: 24px 0;
    }

    .about-section {
        margin: 30px 0px;
    }

    .img-fluid.about-image-mobile {
        display: none;
    }

    .about-title {
        font-size: 30px;
    }

    .about-text {
        font-size: 17px;
    }

    .about-list li {
        font-size: 16px;
        padding: 6px 0 6px 28px;
    }

    .stat-box {
        padding: 22px 18px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-icon {
        width: 58px;
        height: 58px;
    }

    .stat-icon img {
        width: 30px;
        height: 30px;
    }
}

/* متوسط - بین 900px تا 1400px */
@media (max-width: 1399px) and (min-width: 900px) {
    .section-header .about-title {
        justify-content: center;
        margin-bottom: 24px;
    }

    .stats-container {
        padding: 0px 0px 28px 0px;
    }

    .about-list {
        margin: 24px 0;
    }

    .about-section {
        margin: 30px 0px;
    }

    .img-fluid.about-image-mobile {
        display: none;
    }

    .about-title {
        font-size: 28px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-list li {
        font-size: 15px;
        padding: 6px 0 6px 26px;
    }

    .stat-box {
        padding: 18px 14px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-icon {
        width: 52px;
        height: 52px;
    }

    .stat-icon img {
        width: 26px;
        height: 26px;
    }
}

/* Tablet - بین 768px تا 900px */
@media (max-width: 899px) and (min-width: 768px) {
    .about-list {
        margin: 24px 0;
    }

    .about-section {
        margin: 5px 0px;
        padding: 0px 10px;
    }

    .img-fluid.about-image-desktop {
        display: none;
    }

    .about-title {
        font-size: 26px;
    }

    .about-text {
        font-size: 16px;
    }

    .about-list li {
        font-size: 15px;
        padding: 6px 0 6px 26px;
    }

    .stat-box {
        padding: 16px 12px;
    }

    .stat-number {
        font-size: 20px;
    }

    .stat-label {
        font-size: 11px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
    }

    .stat-icon img {
        width: 24px;
        height: 24px;
    }
}

/* Mobile - کمتر از 768px */
@media (max-width: 767px) {
    .section-header .about-title {
        justify-content: right;
        margin-bottom: 16px;
    }

    section.about-section.about-section-3.in-view {
        padding: 20px 5px;
    }

    section.about-section.about-section-2.in-view {
        padding: 20px 5px;
    }

    .about-list {
        margin: 10px 0;
    }

    .img-fluid.about-image-desktop {
        display: none;
    }

    .about-section {
        margin: 5px 0px;
        padding: 0px 10px;
    }

    .about-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 20px;
        justify-content: right;
    }

    .title-icon {
        width: 36px;
        height: 36px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-list {
        text-align: right;
    }

    .about-list li {
        font-size: 14px;
        padding: 10px 12px 10px 40px;
    }

    .about-image {
        margin: 15px 0px 32px 0px;
        border-radius: 10px;
    }

    .about-image-desktop {
        display: none;
    }

    .about-image-mobile {
        display: block;
    }


    .stats-container .row {
        display: flex;
        flex-wrap: wrap;
    }

    .stats-container .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .stats-container {
        margin-top: -15px;
    }

    .stat-box {
        padding: 12px;
        margin-bottom: 12px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .stat-info {
        text-align: center;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

    .stat-icon img {
        width: 23px;
        height: 23px;
    }

    .stat-number {
        font-size: 18px;
    }

    .stat-label {
        font-size: 11px;
    }
}

/* بهینه‌سازی برای موبایل‌های کوچک */
@media (max-width: 480px) {
    .about-title {
        font-size: 20px;
    }

    .title-icon {
        width: 32px;
        height: 32px;
    }

    .about-text {
        font-size: 14px;
    }

    .about-list li {
        font-size: 15px;
        padding: 8px 10px 8px 35px;
    }

    .stats-container .row .col-4 {
        margin-bottom: 12px;
    }

    .stat-box {
        padding: 10px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
    }

    .stat-icon img {
        width: 20px;
        height: 20px;
    }

    .stat-number {
        font-size: 16px;
    }

    .stat-label {
        font-size: 10px;
    }
}

/* بهبود کنتراست و خوانایی */
/* .about-section-1,
.about-section-3 {
    background: linear-gradient(135deg, #ffffff 0%, #f8fffe 100%);
} */

/* تنظیمات RTL */
.vertuka-about-new [dir="rtl"] .cta-buttons {
    direction: rtl;
}

/* تنظیمات container */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}