/* ============================================
   ABOUT PAGE — about-style.css
   Upload to: wp-content/themes/hello-elementor-child/
   ============================================ */

/* ── Fade-in animation (matches insights-style.css) ── */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0);     }
}

/* Hero background stays instant — no animation */
.aboutpage-hero { animation: none !important; opacity: 1 !important; }

/* Hero text fades in with a stagger */
.aboutpage-label   { animation: fadeIn 0.6s ease-out 0.05s forwards; opacity: 0; }
.aboutpage-title   { animation: fadeIn 0.6s ease-out 0.15s forwards; opacity: 0; }
.aboutpage-tagline { animation: fadeIn 0.6s ease-out 0.25s forwards; opacity: 0; }

/* Everything below the hero fades in */
.aboutpage-body { animation: fadeIn 0.6s ease-out forwards; }


/* ══════════════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════════════ */
.aboutpage-wrap {
    background: #f5f5f5;
    color: #0a1f44;
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    width: 100%;
}

.aboutpage-wrap * {
    box-sizing: border-box;
}

.aboutpage-wrap p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.75;
    color: #555555;
    margin: 0 0 14px;
}

.aboutpage-wrap h2,
.aboutpage-wrap h3 {
    font-family: 'Poppins', sans-serif;
}


/* ══════════════════════════════════════════════
   HERO  (mirrors ipage-hero exactly)
══════════════════════════════════════════════ */
.aboutpage-hero {
    background-image: url(https://perluxi.com/wp-content/uploads/2025/04/herobg.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #e0e0e0;
    padding: 128px 60px 48px;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 400px;
}

.aboutpage-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.0) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.aboutpage-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
    display: block;
    position: relative;
    z-index: 1;
}

.aboutpage-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(48px, 7vw, 88px) !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
    letter-spacing: -1px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    background: none !important;
    text-shadow: none !important;
    position: relative;
    z-index: 1;
}

.aboutpage-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #dddddd;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}


/* ══════════════════════════════════════════════
   BODY  (mirrors ipage-body exactly)
══════════════════════════════════════════════ */
.aboutpage-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 60px 80px;
}


/* ══════════════════════════════════════════════
   SHARED SECTION STYLES
══════════════════════════════════════════════ */
.aboutpage-section {
    margin-bottom: 72px;
}

.aboutpage-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #0F67CF;
    margin-bottom: 10px;
    display: block;
}

.aboutpage-eyebrow-center { text-align: center; }
.aboutpage-eyebrow-light  { color: rgba(255, 255, 255, 0.6); }

.aboutpage-section-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(22px, 2.8vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #0a1f44 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: none !important;
}

.aboutpage-centered { text-align: center; }

.aboutpage-section-intro {
    font-size: 14px;
    color: #777777;
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}


/* ══════════════════════════════════════════════
   TWO-COLUMN LAYOUT
══════════════════════════════════════════════ */
.aboutpage-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.aboutpage-two-col-reverse {
    direction: rtl;
}
.aboutpage-two-col-reverse > * {
    direction: ltr;
}

.aboutpage-two-col-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #555555;
}

/* Pull quote */
.aboutpage-pullquote {
    border-left: 3px solid #0F67CF;
    padding: 12px 20px;
    margin: 24px 0 0;
    background: rgba(15, 103, 207, 0.05);
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-style: italic;
    color: #0a1f44;
    line-height: 1.65;
}

/* Image placeholder */
.aboutpage-col-image img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    display: block;
}

.aboutpage-img-placeholder span {
    font-size: 13px;
    font-weight: 600;
    color: #0F67CF;
}
.aboutpage-img-placeholder small {
    font-size: 11px;
    text-align: center;
    opacity: 0.65;
    line-height: 1.5;
}


/* ══════════════════════════════════════════════
   NAME ETYMOLOGY BANNER
══════════════════════════════════════════════ */
.aboutpage-name-banner {
    background: #0a1f44;
    border-radius: 6px;
    padding: 48px 40px;
    margin-bottom: 72px;
}

.aboutpage-name-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.aboutpage-name-word {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.aboutpage-name-letter {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    line-height: 1;
}

.aboutpage-name-def {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.aboutpage-name-result .aboutpage-name-letter { color: #0F67CF; }
.aboutpage-name-result .aboutpage-name-def    { color: rgba(255, 255, 255, 0.65); }

.aboutpage-name-divider {
    font-size: 28px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.2);
    align-self: center;
}


/* ══════════════════════════════════════════════
   PILLARS GRID — 5 DIFFERENTIATORS
══════════════════════════════════════════════ */
.aboutpage-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* Last 2 center under the first 3 */
.aboutpage-pillar:nth-child(4) { grid-column: 1 / 2; }
.aboutpage-pillar:nth-child(5) { grid-column: 2 / 3; }

.aboutpage-pillar {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 28px 24px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.aboutpage-pillar:hover {
    box-shadow: 0 8px 32px rgba(15, 103, 207, 0.1);
    transform: translateY(-2px);
    border-color: #c8d8f8;
}

.aboutpage-pillar-num {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #e8f0fb;
    line-height: 1;
    margin-bottom: 12px;
    -webkit-text-stroke: 1.5px #c8d8f8;
    color: transparent;
}

.aboutpage-pillar-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0a1f44 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.35 !important;
}

.aboutpage-pillar-text {
    font-size: 13px !important;
    color: #666666 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}


/* ══════════════════════════════════════════════
   VALUE PROPOSITION LIST
══════════════════════════════════════════════ */
.aboutpage-value-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 8px;
}

.aboutpage-value-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

.aboutpage-value-check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: #0F67CF;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-top: 2px;
}

.aboutpage-value-item strong {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0a1f44;
    display: block;
    margin-bottom: 4px;
}

.aboutpage-value-item p {
    font-size: 13px !important;
    color: #666666 !important;
    margin: 0 !important;
    line-height: 1.65 !important;
}


/* ══════════════════════════════════════════════
   PHILOSOPHY — 5 P's
══════════════════════════════════════════════ */
.aboutpage-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.aboutpage-philosophy-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 24px 18px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.aboutpage-philosophy-card:hover {
    box-shadow: 0 8px 32px rgba(15, 103, 207, 0.1);
    transform: translateY(-2px);
    border-color: #c8d8f8;
}

.aboutpage-p-letter {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: rgba(15, 103, 207, 0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.aboutpage-philosophy-card h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0a1f44 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.aboutpage-philosophy-card p {
    font-size: 12px !important;
    color: #777777 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
    text-align: left;
}


/* ══════════════════════════════════════════════
   LEADERSHIP
══════════════════════════════════════════════ */
.aboutpage-leadership-intro {
    font-size: 14px;
    color: #666666;
    max-width: 700px;
    line-height: 1.75;
    margin-bottom: 32px !important;
}

.aboutpage-leader-card {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 48px;
    align-items: start;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 40px;
}

.aboutpage-leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.aboutpage-headshot-placeholder {
    aspect-ratio: 3 / 3.5 !important;
}

.aboutpage-leader-name {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0a1f44;
    margin-bottom: 4px;
}

.aboutpage-leader-role {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0F67CF;
    margin-bottom: 20px;
}

/* Bio content — output from the_content() on the Team Member post */
.aboutpage-leader-content p {
    font-size: 13px !important;
    line-height: 1.8 !important;
    color: #555555 !important;
    margin-bottom: 12px !important;
}

.aboutpage-leader-content ul,
.aboutpage-leader-content ol {
    font-size: 13px;
    color: #555555;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 12px;
}

.aboutpage-leader-content strong {
    color: #0a1f44;
    font-weight: 600;
}

.aboutpage-leader-content em {
    font-style: italic;
}

/* LinkedIn link */
.aboutpage-leader-linkedin {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.aboutpage-leader-linkedin a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #0F67CF;
    text-decoration: none;
    transition: color 0.15s;
}

.aboutpage-leader-linkedin a:hover {
    color: #0a52a8;
    text-decoration: none;
}


/* ══════════════════════════════════════════════
   THE PERLUXI PROMISE — DARK CLOSING SECTION
══════════════════════════════════════════════ */
.aboutpage-promise-section {
    background: #0a1f44;
    border-radius: 6px;
    padding: 64px 60px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.aboutpage-promise-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(15, 103, 207, 0.3) 0%, transparent 65%);
    pointer-events: none;
}

.aboutpage-promise-inner {
    max-width: 680px;
    position: relative;
    z-index: 1;
}

.aboutpage-promise-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: clamp(24px, 3.5vw, 40px) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
    background: none !important;
}

.aboutpage-promise-body {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8 !important;
    margin-bottom: 14px !important;
}

.aboutpage-promise-tagline {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    font-style: italic;
    line-height: 1.7 !important;
    margin-bottom: 10px !important;
}

.aboutpage-promise-final {
    font-size: 14px !important;
    color: #ffffff !important;
    margin-bottom: 32px !important;
}

.aboutpage-cta-btn {
    display: inline-block;
    background: #0F67CF;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.aboutpage-cta-btn:hover {
    background: #0a52a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 103, 207, 0.45);
    text-decoration: none;
    color: #ffffff;
}


/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .aboutpage-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .aboutpage-pillar:nth-child(4),
    .aboutpage-pillar:nth-child(5) {
        grid-column: auto;
    }
    .aboutpage-philosophy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .aboutpage-leader-card {
        grid-template-columns: 260px 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .aboutpage-hero {
        padding: 80px 24px 40px;
    }

    .aboutpage-body {
        padding: 40px 24px 60px;
    }

    .aboutpage-two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .aboutpage-two-col-reverse {
        direction: ltr;
    }

    .aboutpage-two-col-reverse .aboutpage-two-col-image {
        order: -1;
    }

    .aboutpage-name-grid {
        flex-direction: column;
        gap: 20px;
    }

    .aboutpage-pillars-grid {
        grid-template-columns: 1fr;
    }

    .aboutpage-philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .aboutpage-leader-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .aboutpage-promise-section {
        padding: 48px 28px;
    }
}

@media (max-width: 480px) {
    .aboutpage-philosophy-grid {
        grid-template-columns: 1fr;
    }
}