/* ========================================================================
   ABOUT PAGE STYLES
   Organized by section order as they appear in About.cshtml
   Hero section styles are in shared.css
   ======================================================================== */

/* ============================================
   1. HERO SLOGAN
   Note: .hero-slogan styles moved to shared.css
   ============================================ */

/* ============================================
   2. COMPANY STORY SECTION
   ============================================ */

.company-story-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.story-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
}

/* --------------------------------------------
   2.1 Story Brand (Left Side)
   -------------------------------------------- */

.story-brand {
    text-align: center;
    position: sticky;
    top: 100px;
}

.brand-frame {
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-lighter) 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.brand-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.brand-letters-large {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
    position: relative;
}

.brand-letters-large .letter {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-color);
    text-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.4);
    transition: transform 0.3s ease;
}

.brand-letters-large .letter:hover {
    transform: translateY(-10px) scale(1.1);
}

.brand-tagline-large {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Story Stats */
.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-card {
    background: #fff;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 3px solid var(--accent-color);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.75rem;
    background: rgba(var(--accent-color-rgb), 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--main-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--color-neutral-gray);
    margin-top: 0.25rem;
}

/* --------------------------------------------
   2.2 Story Content (Right Side)
   -------------------------------------------- */

.story-content .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(var(--accent-color-rgb), 0.15);
    color: var(--main-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.story-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.story-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

[dir="rtl"] .story-title::after {
    left: auto;
    right: 0;
}

.story-text p {
    color: #424a54;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-intro-team {
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.1) 0%, rgba(var(--main-color-rgb), 0.05) 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    margin-top: 1.5rem;
    font-weight: 500;
    color: var(--main-color) !important;
}

[dir="rtl"] .about-intro-team {
    border-left: none;
    border-right: 4px solid var(--accent-color);
}

.quick-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--main-color);
    font-weight: 600;
}

.feature-item i {
    color: var(--color-success-green);
}

/* ============================================
   3. MISSION & VISION SECTION
   ============================================ */

.mission-vision-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.mv-engineering-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 0;
}

.mv-wrapper {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: stretch;
}

/* Mission/Vision Cards */
.mv-card {
    perspective: 1000px;
}

.mv-card-inner {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-top: 4px solid var(--accent-color);
}

.mv-card:hover .mv-card-inner {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.mv-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.mv-icon-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd54f 100%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.mv-icon {
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    color: var(--main-color);
    line-height: 100px;
}

.mv-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.mv-text {
    color: var(--color-neutral-gray);
    font-size: 1rem;
    line-height: 1.7;
}

.mv-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.decoration-line {
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.mv-decoration i {
    color: var(--accent-color);
}

/* Center Divider */
.mv-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.divider-line {
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
}

.divider-icon {
    width: 60px;
    height: 60px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(var(--main-color-rgb), 0.3);
}

/* ============================================
   4. VALUES TIMELINE SECTION
   ============================================ */

.values-section-timeline {
    padding: 5rem 0;
    background: #fff;
}

.values-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.values-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-color) 0%, var(--main-color) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-left .timeline-content {
    padding-right: 4rem;
    text-align: right;
}

.timeline-right .timeline-content {
    padding-left: 4rem;
    margin-left: auto;
}

[dir="rtl"] .timeline-left .timeline-content {
    padding-right: 0;
    padding-left: 4rem;
    text-align: left;
}

[dir="rtl"] .timeline-right .timeline-content {
    padding-left: 0;
    padding-right: 4rem;
    margin-left: 0;
    margin-right: auto;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(var(--accent-color-rgb), 0.4);
}

.marker-number {
    font-size: 1rem;
    font-weight: 800;
    color: var(--main-color);
}

.timeline-content {
    width: 45%;
}

.timeline-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

[dir="rtl"] .timeline-card {
    border-left: none;
    border-right: 4px solid var(--accent-color);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.timeline-card .card-icon {
    width: 50px;
    height: 50px;
    background: rgba(var(--accent-color-rgb), 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.timeline-card .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 0.75rem;
}

.timeline-card .card-desc {
    color: var(--color-neutral-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   5. OUR STRENGTHS SECTION (About Page)
   ============================================ */

.strengths-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.strengths-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--main-color) 0%, var(--main-color-lighter) 100%);
    z-index: 0;
}

.strengths-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.strength-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.strength-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.strength-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--main-color);
}

.strength-card h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.strength-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   6. CTA SECTION (About Page Specific)
   ============================================ */

.about-cta-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.about-cta-section .cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 0;
}

.about-cta-section .floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.about-cta-section .floating-shape.shape-1 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 10%;
    left: 10%;
}

.about-cta-section .floating-shape.shape-2 {
    width: 150px;
    height: 150px;
    background: var(--main-color);
    bottom: 20%;
    right: 15%;
    animation-delay: 2s;
}


/* ============================================
   7. ANIMATIONS
   ============================================ */

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(var(--accent-color-rgb), 0.4);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(var(--accent-color-rgb), 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ============================================
   8. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 991px) {
    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .story-brand {
        position: static;
    }

    .mv-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .mv-divider {
        display: none;
    }

    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {

    .company-story-section,
    .mission-vision-section,
    .values-section-timeline,
    .strengths-section,
    .about-cta-section {
        padding: 3rem 0;
    }

    .story-title {
        font-size: 1.75rem;
    }

    .brand-letters-large .letter {
        font-size: 2.5rem;
    }

    .values-timeline::before {
        left: 20px;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row;
    }

    .timeline-left .timeline-content,
    .timeline-right .timeline-content {
        padding-left: 4rem;
        padding-right: 0;
        text-align: left;
        margin-left: 0;
        width: 100%;
    }

    [dir="rtl"] .timeline-left .timeline-content,
    [dir="rtl"] .timeline-right .timeline-content {
        padding-right: 4rem;
        padding-left: 0;
        text-align: right;
        margin-right: 0;
    }

    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}