.about-page-hero {
    padding: 240px 0 120px;
    text-align: center;
    position: relative;
    z-index: 1;
    background: url('/assets/imgs/bg.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.3) 0%, rgba(5, 5, 16, 0.95) 100%);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: var(--pearl);
}

.about-hero-title em {
    color: var(--purple-light);
    font-style: italic;
}

.about-story-section {
    padding: 100px 0;
    background: var(--pearl);
    position: relative;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(17, 16, 16, 0.05);
}

.story-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.story-image-wrapper:hover img {
    transform: scale(1.03);
}

.story-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--midnight);
    margin-bottom: 30px;
    line-height: 1.3;
}

.story-content p {
    font-size: 1.1rem;
    color: rgba(17, 16, 16, 0.7);
    line-height: 1.9;
    margin-bottom: 24px;
    font-weight: 400;
}

.pillars-section {
    padding: 80px 0 140px;
    background: var(--pearl);
    position: relative;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid rgba(79, 84, 216, 0.08);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(109, 117, 255, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    border-color: rgba(109, 117, 255, 0.2);
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 35px !important;
    background: #F8F9FF;
    border: 1px solid rgba(109, 117, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
}

.pillar-card:hover .pillar-icon {
    background: var(--purple);
    color: #fff;
    transform: scale(1.1);
}

.pillar-title {
    font-size: 1.3rem;
    color: var(--midnight);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.pillar-text {
    color: rgba(17, 16, 16, 0.6);
    line-height: 1.7;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-image-wrapper {
        order: -1;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* RTL Support */
[dir="rtl"] .about-page {
    text-align: right;
    font-family: 'Cairo', sans-serif;
}

[dir="rtl"] .about-hero-title {
    letter-spacing: 0;
}

[dir="rtl"] .story-content h3,
[dir="rtl"] .story-content p {
    text-align: right;
}

[dir="rtl"] .about-page-hero {
    text-align: center; 
}

[dir="rtl"] .pillars-section h2, 
[dir="rtl"] .pillars-section p {
    text-align: center; 
}

/* Pillar Card Centering (Global) */
.pillar-card, [dir="rtl"] .pillar-card {
    text-align: center !important;
}

.pillar-text, [dir="rtl"] .pillar-text {
    text-align: center !important;
}

/* New Classes for About Page */
.about-eyebrow {
    color: var(--purple-light);
    letter-spacing: 5px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

[dir="rtl"] .about-eyebrow {
    letter-spacing: 1px;
}

.about-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.story-excellence-tag {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.excellence-line {
    width: 50px;
    height: 1px;
    background: var(--purple);
}

.excellence-text {
    color: var(--purple);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
}

[dir="rtl"] .excellence-text {
    letter-spacing: 1px;
}

.pillars-header {
    text-align: center;
    margin-bottom: 70px;
}

.pillars-main-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--midnight);
    margin-bottom: 15px;
}

.pillars-subtitle {
    color: rgba(17, 16, 16, 0.6);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.05rem;
}

[dir="rtl"] .story-excellence-tag {
    flex-direction: row; 
}