﻿
.about-hero-image {
    position: relative;
    margin-bottom: 30px;
}

.experience-badge {
    position: absolute;
    bottom: -15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 10px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    text-align: center;
    width: 110px;
    z-index: 2;
}

    .experience-badge .years {
        font-size: 2rem;
        font-weight: bold;
        display: block;
        line-height: 1;
    }

    .experience-badge .text {
        font-size: 0.75rem;
        display: block;
        margin-top: 5px;
        line-height: 1.2;
    }

.rounded-shadow {
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

/* ویژگی‌های برجسته */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-wrap: wrap;
}

.feature-item {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-size: 0.9rem;
}

    .feature-item i {
        color: #667eea;
        font-size: 1.1rem;
        min-width: 24px;
    }

/* لیست واقعیت‌ها */
.reality-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .reality-list li {
        padding: 10px 0;
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 0.9rem;
        border-bottom: 1px solid #eee;
    }

        .reality-list li:last-child {
            border-bottom: none;
        }

    .reality-list i {
        margin-top: 3px;
        font-size: 1rem;
    }

/* تایم لاین - بهینه‌سازی برای موبایل */
.timeline-story {
    position: relative;
    padding-left: 0;
    margin-left: 15px;
}

.timeline-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 35px;
}

.timeline-marker {
    position: absolute;
    left: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
    z-index: 1;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 4px solid #667eea;
}

    .timeline-content h5 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .timeline-content p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

/* نمایش محصول - بهینه‌سازی موبایل */
.product-showcase {
    position: relative;
    margin-top: 30px;
}

.main-product {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

    .main-product img {
        width: 100%;
        height: auto;
    }

.product-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: rgba(255,255,255,0.95);
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .product-badge span {
        display: block;
        font-size: 0.8rem;
        color: #667eea;
        font-weight: 600;
        margin-bottom: 5px;
    }

    .product-badge h5 {
        font-size: 1rem;
        margin: 0;
    }

.product-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.feature-box {
    text-align: center;
    padding: 12px 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    width: calc(50% - 5px);
    margin-bottom: 10px;
}

    .feature-box i {
        font-size: 1.5rem;
        color: #667eea;
        display: block;
        margin-bottom: 8px;
    }

    .feature-box span {
        font-size: 0.8rem;
        display: block;
        line-height: 1.3;
    }

/* کارت محصولات - بهینه موبایل */
.product-card {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

    .product-card:hover {
        transform: translateY(-5px);
    }

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: white;
}

.product-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

    .product-features li {
        padding: 6px 0;
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 0.85rem;
    }

.product-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

/* خدمات - بهینه موبایل */
.service-item {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 12px;
    transition: background 0.3s ease;
    background: #f8f9fa;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.service-text h5 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.service-text p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

/* بخش چشم‌انداز */
.vision-quote {
    border-right: 4px solid #FFC107;
    padding-right: 20px;
    margin-right: 0;
    text-align: right;
    font-size: 1rem !important;
    line-height: 1.6;
}

.vision-stats {
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px 10px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

.cta-box {
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

    .cta-box h3 {
        font-size: 1.3rem;
    }

    .cta-box p {
        font-size: 0.95rem;
    }

/* CTA پایانی */
.team-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px 0;
}

.cta-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* تایپوگرافی موبایل */
.section-subtitle {
    color: #667eea;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: block;
}

    .section-subtitle.light {
        color: #FFC107;
    }

.section-title {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.8rem;
    line-height: 1.3;
}

    .section-title.light {
        color: white;
    }

.section-desc {
    color: #6c757d;
    font-size: 1rem;
    max-width: 100%;
}

.display-4 {
    font-size: 2.2rem !important;
}

.lead {
    font-size: 1.1rem !important;
}

.fs-5 {
    font-size: 1rem !important;
}

/* رنگ‌های کلی */
.text-primary {
    color: #667eea !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-dark {
    background-color: #1a1a2e !important;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 1rem;
    width: 100%;
}

.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
    padding: 12px 25px;
    font-size: 1rem;
    width: 100%;
}

.btn-lg {
    padding: 12px 25px !important;
    font-size: 1rem !important;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

/* پدینگ‌های بخش‌ها - بهینه موبایل */
.py-80 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

.py-60 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.pt-100 {
    padding-top: 70px !important;
}

.pb-70 {
    padding-bottom: 50px !important;
}

.mb-60 {
    margin-bottom: 40px !important;
}

.mb-4 {
    margin-bottom: 1.2rem !important;
}

.mb-5 {
    margin-bottom: 2rem !important;
}

/* تیتر صفحه */
.page-title-content h2 {
    font-size: 1.8rem;
}

/* حذف عکس در موبایل برای برخی بخش‌ها */
@media (max-width: 768px) {
    .services-visual {
        display: none;
    }

    .about-hero-image {
        margin-bottom: 40px;
    }

    .experience-badge {
        bottom: -20px;
        right: 10px;
    }

    .product-showcase .main-product img {
        max-height: 250px;
        object-fit: cover;
    }
}

/* بهبود اسکرول در موبایل */
html {
    scroll-behavior: smooth;
}

/* انیمیشن‌های موبایل */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* بهبود لینک‌ها برای تاچ */
a, button {
    touch-action: manipulation;
}

/* بهینه‌سازی برای آیفون */
@supports (-webkit-touch-callout: none) {
    .btn-primary, .btn-outline-primary {
        padding: 14px 25px;
    }
}

/* بهبود خوانایی در موبایل */
p, li, span {
    line-height: 1.6;
}

/* سایز فونت‌های عمومی */
body {
    font-size: 16px;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.75rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.1rem;
}

/* مارجین و پدینگ‌های عمومی */
.container {
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    margin-left: -8px;
    margin-right: -8px;
}

.col, [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

/* بهبود grid در موبایل */
@media (max-width: 576px) {
    .product-features .feature-box {
        width: calc(50% - 5px);
    }

    .features-grid {
        flex-direction: column;
    }

    .feature-item {
        width: 100%;
    }

    .vision-stats .col-6 {
        width: 50%;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .product-card:hover {
        transform: none;
    }

    .service-item:hover {
        background: #f8f9fa;
    }
}


@media (max-width: 768px) {
    .team-cta .row {
        flex-direction: column;
        text-align: center;
    }

    .cta-action {
        text-align: center !important;
        margin-top: 20px;
    }

        .cta-action .btn {
            width: 100%;
        }
}
