/* ============================================
   ABOUT PAGE - COMPLETE STYLES (اصلاح‌شده)
   ============================================ */

/* ===== PAGE HERO - اصلاح کامل ===== */
.about-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('../images/construction-companies-in-vadodara_0_1200.jpg') center center/cover no-repeat;
    padding: 120px 0 80px;
    margin-top: 0;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 20, 46, 0.95) 0%, rgba(6, 20, 46, 0.8) 50%, rgba(6, 20, 46, 0.6) 100%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .page-hero-content {
    max-width: 800px;
    color: var(--white);
}

/* Breadcrumb */
.about-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.about-hero .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    text-decoration: none;
}

.about-hero .breadcrumb a:hover {
    color: var(--primary);
}

.about-hero .breadcrumb i {
    color: var(--primary);
    font-size: 0.75rem;
}

.about-hero .breadcrumb span {
    color: var(--primary);
    font-weight: 700;
}

/* Title */
.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Description */
.about-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    max-width: 700px;
}

/* ===== ABOUT INTRO ===== */
.about-intro {
    padding: 100px 0 80px;
    background: var(--white);
}

.intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content .section-subtitle {
    padding: 0;
    display: inline-block;
}

.intro-content .section-subtitle::before,
.intro-content .section-subtitle::after {
    display: none;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 15px 0 20px;
    line-height: 1.4;
}

.intro-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 20px;
}

.intro-signature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 2px solid var(--border);
}

.signature-info strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 5px;
}

.signature-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.signature-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.intro-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-badge {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: var(--primary);
    color: var(--white);
    padding: 18px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(246, 199, 68, 0.4);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

/* ===== MISSION VISION VALUES ===== */
.mission-vision {
    padding: 100px 0;
    background: var(--bg-light);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mvv-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.mvv-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #94a3b8);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.mvv-card:hover::before {
    transform: scaleX(1);
}

.mvv-card.featured {
    background: var(--dark);
    border-color: var(--dark);
    color: var(--white);
    transform: scale(1.05);
}

.mvv-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.mvv-card.featured h3 {
    color: var(--white);
}

.mvv-card.featured p {
    color: rgba(255, 255, 255, 0.8);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.5s ease;
}

.mvv-card:hover .mvv-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg) scale(1.1);
}

.mvv-card.featured .mvv-icon {
    background: rgba(246, 199, 68, 0.2);
}

.mvv-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.mvv-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== COMPANY STATS ===== */
.company-stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.company-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(246, 199, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 35px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: var(--primary);
}

.stat-icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    background: rgba(246, 199, 68, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.4s ease;
}

.stat-card:hover .stat-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}



.stat-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 6px;
    font-weight: 500;
}

/* ===== FIXED RTL TIMELINE ===== */

.history-timeline{padding:100px 0;background:#fff;}
.timeline{position:relative;max-width:1000px;margin:70px auto 0;padding:0;}
.timeline::before{content:"";position:absolute;top:0;bottom:0;right:50%;width:3px;background:linear-gradient(to bottom,var(--primary),var(--primary-light),var(--primary));transform:translateX(50%);}
.timeline-item{position:relative;width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:70px;}
.timeline-year{position:absolute;right:50%;transform:translateX(50%);width:90px;height:90px;display:flex;align-items:center;justify-content:center;background:var(--primary);color:#fff;border-radius:50%;font-size:1.2rem;font-weight:900;z-index:5;box-shadow:0 10px 30px rgba(246,199,68,.35);}
.timeline-content{width:42%;background:#fff;padding:35px;border-radius:16px;border:1px solid var(--border);box-shadow:0 10px 35px rgba(0,0,0,.08);transition:.35s;}
.timeline-item:nth-child(odd) .timeline-content{margin-left:auto;}
.timeline-item:nth-child(even) .timeline-content{margin-right:auto;}
.timeline-content:hover{transform:translateY(-8px);border-color:var(--primary);}
.timeline-content h3{font-size:1.35rem;font-weight:900;color:var(--dark);margin-bottom:12px;}
.timeline-content p{color:var(--text-light);line-height:2;font-size:.95rem;}
@media(max-width:900px){.timeline::before{right:35px;transform:none}.timeline-item,.timeline-item:nth-child(odd){display:block}.timeline-year{right:35px;transform:translateX(50%);width:65px;height:65px;font-size:.9rem}.timeline-content,.timeline-item:nth-child(even) .timeline-content,.timeline-item:nth-child(odd) .timeline-content{width:calc(100% - 90px);margin-right:90px;margin-left:0;padding:25px;}}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: bottom 0.4s ease;
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}

.team-position {
    display: block;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.team-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== WHY CHOOSE US (About) ===== */
.why-choose-about {
    padding: 100px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-light);
    color: var(--primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
}

.why-icon {
    width: 75px;
    height: 75px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.5s ease;
}

.why-card:hover .why-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg);
}

.why-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== CERTIFICATIONS ===== */
.certifications {
    padding: 100px 0;
    background: var(--bg-light);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.cert-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.5s ease;
}

.cert-card:hover .cert-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg) scale(1.1);
}

.cert-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 0.92rem;
    color: var(--text-light);
}

/* ===== CLIENTS SECTION ===== */
.clients {
    padding: 100px 0;
    background: var(--bg-light);
}

.clients .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.clients .section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.client-logo {
    background: var(--white);
    padding: 35px 20px;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), #94a3b8);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.client-logo:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(246, 199, 68, 0.2);
}

.client-logo:hover::before {
    transform: scaleX(1);
}

.logo-icon {
    width: 75px;
    height: 75px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.5s ease;
}

.client-logo:hover .logo-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(360deg) scale(1.1);
}

.client-logo h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.client-logo:hover h4 {
    color: var(--primary);
}

.logo-category {
    display: inline-block;
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.client-logo:hover .logo-category {
    background: var(--primary-light);
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .clients-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .clients {
        padding: 70px 0;
    }

    .clients-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .client-logo {
        padding: 25px 15px;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .client-logo h4 {
        font-size: 1rem;
        font-weight: 800;
        color: var(--dark);
        margin-bottom: 8px;
        transition: color 0.3s ease;
        white-space: nowrap;          /* ← این خط را اضافه کنید */
        overflow: hidden;             /* ← این خط را اضافه کنید */
        text-overflow: ellipsis;      /* ← این خط را اضافه کنید */
    }

    .logo-category {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .clients-logos {
        grid-template-columns: 1fr;
    }

    .client-logo {
        padding: 35px 15px;
    }
}
/* Responsive */
@media (max-width: 768px) {
    .clients-logos {
        gap: 20px;
    }

    .client-logo {
        min-width: 150px;
        padding: 20px;
    }

    .logo-wrapper i {
        font-size: 2rem;
    }

    .logo-wrapper span {
        font-size: 0.8rem;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-hero h1 {
        font-size: 2.8rem;
    }

    .intro-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .mvv-card.featured {
        transform: scale(1);
    }

    .mvv-card.featured:hover {
        transform: translateY(-10px);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        right: 30px;
        transform: none;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .timeline-year {
        right: 30px;
        transform: translateX(50%);
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-right: 80px;
        margin-left: 0;
        text-align: right;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 380px;
        padding: 100px 0 60px;
    }

    .about-hero h1 {
        font-size: 2.2rem;
    }

    .about-hero p {
        font-size: 1rem;
    }

    .intro-content h2 {
        font-size: 1.8rem;
    }

    .intro-image img {
        height: 350px;
    }

    .intro-signature {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 25px 18px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-content h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        min-height: 350px;
        padding: 90px 0 50px;
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .intro-badge {
        padding: 12px 18px;
    }

    .badge-number {
        font-size: 2rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .timeline-content {
        padding: 20px;
    }
}