/* About Us page — full redesign (header/footer unchanged) */

.nofal-about-shell {
    --ab-dark: #1c1c35;
    --ab-blue: #25aae1;
    --ab-blue-deep: #1a94c8;
    --ab-navy: #283891;
    --ab-text: #4d5567;
    --ab-soft: #f6faff;
    --ab-border: rgba(28, 28, 53, 0.1);
    --ab-radius: 20px;
    --ab-shadow: 0 18px 50px rgba(28, 28, 53, 0.1);
    color: var(--ab-text);
    overflow-x: clip;
}

.nofal-about-shell *,
.nofal-about-shell *::before,
.nofal-about-shell *::after {
    box-sizing: border-box;
}

.nofal-about-shell .fas,
.nofal-about-shell .far,
.nofal-about-shell .fab,
.nofal-about-shell .fa {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
}

/* ── Hero ── */
.nofal-about-shell .about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1c1c35 0%, #25254d 55%, #25aae1 160%);
    overflow: hidden;
}

.nofal-about-shell .about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 170, 225, 0.22), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 35%);
    pointer-events: none;
}

.nofal-about-shell .about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.35;
    pointer-events: none;
}

.nofal-about-shell .about-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0 72px;
    text-align: center;
    color: #fff;
}

.nofal-about-shell .about-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 22px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.nofal-about-shell .about-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nofal-about-shell .about-breadcrumb a:hover {
    color: #fff;
}

.nofal-about-shell .about-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    margin-bottom: 18px;
}

.nofal-about-shell .about-hero__inner h1 {
    margin: 0 0 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}

.nofal-about-shell .about-hero__inner > p {
    margin: 0 auto 28px;
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.nofal-about-shell .about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
}

.nofal-about-shell .about-hero__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 760px;
    margin: 0 auto;
}

.nofal-about-shell .about-stat {
    padding: 16px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.nofal-about-shell .about-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 4px;
}

.nofal-about-shell .about-stat span {
    display: block;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.4;
}

/* ── Buttons ── */
.nofal-about-shell .about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nofal-about-shell .about-btn--primary {
    background: linear-gradient(135deg, var(--ab-blue), var(--ab-blue-deep));
    color: #fff;
    box-shadow: 0 10px 28px rgba(37, 170, 225, 0.28);
}

.nofal-about-shell .about-btn--primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

.nofal-about-shell .about-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
}

.nofal-about-shell .about-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.nofal-about-shell .about-btn--outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.nofal-about-shell .about-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.nofal-about-shell .about-btn--lg {
    padding: 14px 26px;
    font-size: 1rem;
}

/* ── Sections ── */
.nofal-about-shell .about-section-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.nofal-about-shell .about-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37, 170, 225, 0.1);
    color: var(--ab-blue-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ── Story ── */
.nofal-about-shell .about-story {
    padding: clamp(56px, 8vw, 88px) 0;
    background: linear-gradient(180deg, #fff 0%, var(--ab-soft) 100%);
}

.nofal-about-shell .about-story__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

.nofal-about-shell .about-story__image-wrap {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(28, 28, 53, 0.22);
    border: 1px solid rgba(37, 170, 225, 0.22);
    background:
        radial-gradient(circle at 30% 25%, rgba(37, 170, 225, 0.18), transparent 48%),
        linear-gradient(145deg, #1c1c35 0%, #25254d 55%, #1a3a52 100%);
}

.nofal-about-shell .about-story__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 32px;
    display: block;
}

.nofal-about-shell .about-story__image-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(37, 170, 225, 0.28), transparent 65%);
    pointer-events: none;
    z-index: -1;
}

/* ── Rich content from WP options ── */
.nofal-about-shell .about-rich-content {
    color: var(--ab-text);
    line-height: 1.85;
}

.nofal-about-shell .about-rich-content [style*="text-align"] {
    text-align: inherit !important;
}

.nofal-about-shell .about-rich-content h2,
.nofal-about-shell .about-rich-content h3 {
    margin: 0 0 16px;
    color: var(--ab-dark) !important;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.nofal-about-shell .about-rich-content p {
    margin: 0 0 16px;
    color: var(--ab-text) !important;
    font-size: 1.02rem;
    line-height: 1.85;
}

.nofal-about-shell .about-rich-content p:last-child {
    margin-bottom: 0;
}

.nofal-about-shell .about-rich-content strong {
    color: var(--ab-dark);
}

.nofal-about-shell .about-rich-content ul.checklist {
    margin: 18px 0 20px;
    padding: 0;
    list-style: none;
}

.nofal-about-shell .about-rich-content ul.checklist li {
    position: relative;
    margin: 0 0 12px;
    padding: 12px 16px 12px 44px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--ab-border);
    box-shadow: 0 4px 16px rgba(28, 28, 53, 0.04);
    color: var(--ab-dark);
    font-weight: 600;
    line-height: 1.6;
}

html[dir="rtl"] .nofal-about-shell .about-rich-content ul.checklist li {
    padding: 12px 44px 12px 16px;
}

.nofal-about-shell .about-rich-content ul.checklist.arrow-icons li::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(37, 170, 225, 0.15);
    color: var(--ab-blue);
    font-size: 12px;
    font-weight: 800;
    font-family: inherit !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

html[dir="rtl"] .nofal-about-shell .about-rich-content ul.checklist.arrow-icons li::before {
    left: auto;
    right: 16px;
}

html[dir="ltr"] .nofal-about-shell .about-rich-content ul.checklist li {
    padding: 12px 16px 12px 44px;
}

html[dir="ltr"] .nofal-about-shell .about-rich-content ul.checklist.arrow-icons li::before {
    left: 16px;
    right: auto;
}

/* ── Video ── */
.nofal-about-shell .about-video {
    padding: clamp(56px, 8vw, 88px) 0;
    background: #fff;
}

.nofal-about-shell .about-video__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}

html[dir="rtl"] .nofal-about-shell .about-video__grid {
    direction: rtl;
}

html[dir="rtl"] .nofal-about-shell .about-video__grid > * {
    direction: rtl;
}

.nofal-about-shell .about-video__frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--ab-dark);
    box-shadow: 0 24px 60px rgba(28, 28, 53, 0.18);
    border: 1px solid rgba(40, 56, 145, 0.12);
}

.nofal-about-shell .about-video__frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 1;
}

.nofal-about-shell .about-video__frame video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #0e0e1c;
}

/* ── CTA ── */
.nofal-about-shell .about-cta {
    padding: clamp(56px, 8vw, 80px) 20px;
    background: linear-gradient(135deg, #121a42 0%, #283891 55%, #1a6fa8 100%);
}

.nofal-about-shell .about-cta__inner {
    width: min(820px, 100%);
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.nofal-about-shell .about-cta__inner h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

.nofal-about-shell .about-cta__inner p {
    margin: 0 auto 28px;
    max-width: 620px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}

.nofal-about-shell .about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ── Clients & team (homepage modules on about page) ── */
.nofal-about-page .nofal-clients-showcase {
    padding: clamp(48px, 7vw, 72px) 0 clamp(40px, 6vw, 64px);
}

.nofal-about-page .nofal-team-showcase {
    padding-bottom: clamp(56px, 8vw, 88px);
    background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
}

.nofal-about-page .nofal-clients-showcase + .nofal-team-showcase {
    margin-top: 0;
}

html[dir="ltr"] .nofal-about-page .nofal-team-leader__cta::after {
    content: "→";
}

html[dir="ltr"] .nofal-about-page .nofal-team-slider-pro__arrow {
    transform: none;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .nofal-about-shell .about-story__grid,
    .nofal-about-shell .about-video__grid {
        grid-template-columns: 1fr;
    }

    .nofal-about-shell .about-video__media {
        order: -1;
    }

    .nofal-about-shell .about-hero__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .nofal-about-shell .about-hero__inner {
        padding: 44px 0 56px;
    }

    .nofal-about-shell .about-hero__actions,
    .nofal-about-shell .about-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .nofal-about-shell .about-btn {
        width: 100%;
    }

    .nofal-about-shell .about-story__image-wrap {
        max-width: 300px;
    }

    .nofal-about-page .nofal-team-showcase__layout {
        gap: 20px;
    }

    .nofal-about-page .nofal-team-carousel {
        padding: 18px 14px;
    }
}

@media (max-width: 420px) {
    .nofal-about-shell .about-hero__stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .nofal-about-shell .about-stat {
        padding: 12px 8px;
    }
}
