/* ============================================================
   ABOUT SECTION 3 — Premium Animated About Section
   Recreated from React/Framer-Motion design as pure CSS/JS
   ============================================================ */

/* ---- Section Container ---- */
.about-v3 {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
}

.about-v3__inner {
    max-width: 1152px;
    margin: 0 auto;
}

/* ---- Relative Wrapper for Image + Overlays ---- */
.about-v3__hero-wrapper {
    position: relative;
}

/* ---- Header Row: WHO I AM + Social Icons ---- */
.about-v3__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 85%;
    position: absolute;
    top: 1rem;
    z-index: 10;
}

@media (max-width: 991px) {
    .about-v3__header { top: 0; }
}
@media (max-width: 639px) {
    .about-v3__header { top: -0.5rem; }
}
@media (max-width: 479px) {
    .about-v3__header { top: -0.75rem; }
}

/* Spinning star + label */
.about-v3__label-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.about-v3__star {
    color: #ef4444;
    animation: aboutSpinStar 4s linear infinite;
    display: inline-block;
}

@keyframes aboutSpinStar {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.about-v3__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    letter-spacing: 0.05em;
}

/* Social icon links */
.about-v3__socials {
    display: flex;
    gap: 1rem;
}

.about-v3__social-link {
    width: 2rem;
    height: 2rem;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    color: #6b7280;
}

.about-v3__social-link:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
    border-color: #d1d5db;
    color: #1f2937;
}

.about-v3__social-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 639px) {
    .about-v3__social-link {
        width: 1.5rem;
        height: 1.5rem;
    }
    .about-v3__social-link svg {
        width: 14px;
        height: 14px;
    }
}
@media (min-width: 640px) and (max-width: 767px) {
    .about-v3__social-link {
        width: 1.5rem;
        height: 1.5rem;
    }
    .about-v3__social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* ---- SVG Clipped Hero Image ---- */
.about-v3__figure {
    position: relative;
    margin: 0;
}

.about-v3__figure svg {
    width: 100%;
    display: block;
}

/* ---- Stats Row ---- */
.about-v3__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

@media (max-width: 1023px) {
    .about-v3__stats {
        justify-content: space-between;
    }
}

.about-v3__stats-left {
    display: flex;
    gap: 1rem;
}

.about-v3__stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 639px) {
    .about-v3__stat-item { font-size: 0.75rem; }
}

.about-v3__stat-value {
    color: #ef4444;
    font-weight: 700;
}

.about-v3__stat-label {
    color: #6b7280;
}

.about-v3__stat-divider {
    color: #d1d5db;
}

/* Right-side stats (100+ BRANDS, 30% higher engagement) */
.about-v3__stats-right {
    display: flex;
    flex-direction: row-reverse;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .about-v3__stats {
        justify-content: space-between;
    }
    .about-v3__stats-right {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.about-v3__stat-big {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

@media (min-width: 640px) {
    .about-v3__stat-big { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
    .about-v3__stat-big { font-size: 2.25rem; }
}

.about-v3__stat-big .about-v3__stat-value {
    font-weight: 600;
}

.about-v3__stat-big .about-v3__stat-label {
    text-transform: uppercase;
}

.about-v3__stat-engagement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 639px) {
    .about-v3__stat-engagement { font-size: 0.75rem; }
}

.about-v3__stat-engagement .about-v3__stat-divider {
    display: block;
}

@media (min-width: 1024px) {
    .about-v3__stat-engagement .about-v3__stat-divider {
        display: none;
    }
}

/* ---- Main Content Grid ---- */
.about-v3__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .about-v3__content {
        grid-template-columns: 2fr 1fr;
    }
}

/* Left Column: Heading + Two Paragraphs */
.about-v3__heading {
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 600;
    color: #111827;
    margin-bottom: 2rem;
    overflow: hidden;
}

@media (min-width: 640px) {
    .about-v3__heading { font-size: 2.25rem; }
}
@media (min-width: 768px) {
    .about-v3__heading { font-size: 3rem; }
}

/* Word-by-word vertical cut reveal */
.about-v3__heading .word-wrap {
    display: inline-flex;
    overflow: hidden;
    vertical-align: bottom;
}

.about-v3__heading .word-inner {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-v3__heading.revealed .word-inner {
    transform: translateY(0);
}

/* Text columns */
.about-v3__text-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .about-v3__text-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.about-v3__text-grid p {
    line-height: 1.75;
    text-align: justify;
    margin: 0;
    color: #6b7280;
}

@media (max-width: 639px) {
    .about-v3__text-grid p { font-size: 0.75rem; }
}

/* Right Column: Name, Role, CTA */
.about-v3__right {
    text-align: right;
}

.about-v3__name {
    color: #ef4444;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-v3__role {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.about-v3__cta-text {
    color: #111827;
    font-weight: 500;
    margin-bottom: 1rem;
}

.about-v3__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #171717;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    border: 1px solid #404040;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 10px 15px -3px rgba(23, 23, 23, 0.5);
    transition: background-color 0.3s ease, gap 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    font-family: inherit;
}

.about-v3__cta-btn:hover {
    background-color: #0a0a0a;
    gap: 1rem;
    box-shadow: 0 15px 25px -5px rgba(23, 23, 23, 0.6);
    transform: translateY(-1px);
    color: #fff;
}

.about-v3__cta-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.about-v3__cta-btn:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   SCROLL-REVEAL ANIMATIONS for About V3 Elements
   ============================================================ */

/* Base: hidden state for timeline items */
.about-v3__anim {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(-20px);
    transition: opacity 0.5s ease-out, filter 0.5s ease-out, transform 0.5s ease-out;
}

/* Scale variant (for image) */
.about-v3__anim--scale {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.97);
    transition: opacity 0.6s ease-out, filter 0.6s ease-out, transform 0.6s ease-out;
}

/* Revealed state */
.about-v3__anim.revealed {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

.about-v3__anim--scale.revealed {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1);
}

/* Stagger delays: each child gets progressively later animation */
.about-v3__anim[data-delay="0"] { transition-delay: 0s; }
.about-v3__anim[data-delay="1"] { transition-delay: 0.15s; }
.about-v3__anim[data-delay="2"] { transition-delay: 0.3s; }
.about-v3__anim[data-delay="3"] { transition-delay: 0.45s; }
.about-v3__anim[data-delay="4"] { transition-delay: 0.6s; }
.about-v3__anim[data-delay="5"] { transition-delay: 0.75s; }
.about-v3__anim[data-delay="6"] { transition-delay: 0.9s; }
.about-v3__anim[data-delay="7"] { transition-delay: 1.05s; }
.about-v3__anim[data-delay="8"] { transition-delay: 1.2s; }
.about-v3__anim[data-delay="9"] { transition-delay: 1.35s; }
.about-v3__anim[data-delay="10"] { transition-delay: 1.5s; }
.about-v3__anim[data-delay="11"] { transition-delay: 1.65s; }
.about-v3__anim[data-delay="12"] { transition-delay: 1.8s; }
.about-v3__anim[data-delay="13"] { transition-delay: 1.95s; }
.about-v3__anim[data-delay="14"] { transition-delay: 2.1s; }
.about-v3__anim[data-delay="15"] { transition-delay: 2.25s; }

.about-v3__anim--scale[data-delay="4"] { transition-delay: 0.6s; }

/* Word reveal stagger for heading */
.about-v3__heading .word-wrap:nth-child(1) .word-inner { transition-delay: 2.4s; }
.about-v3__heading .word-wrap:nth-child(2) .word-inner { transition-delay: 2.5s; }
.about-v3__heading .word-wrap:nth-child(3) .word-inner { transition-delay: 2.6s; }
.about-v3__heading .word-wrap:nth-child(4) .word-inner { transition-delay: 2.7s; }
.about-v3__heading .word-wrap:nth-child(5) .word-inner { transition-delay: 2.8s; }
.about-v3__heading .word-wrap:nth-child(6) .word-inner { transition-delay: 2.9s; }
.about-v3__heading .word-wrap:nth-child(7) .word-inner { transition-delay: 3.0s; }

/* ============================================================
   GLOBAL STYLES FOR ABOUT PAGE V3
   Applies the Inter font and minimalist design to the rest of the page
   ============================================================ */
body.about-page-v3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background-color: #f9f9f9 !important;
}

/* Headings Override */
body.about-page-v3 h1,
body.about-page-v3 h2,
body.about-page-v3 h3,
body.about-page-v3 h4,
body.about-page-v3 h5,
body.about-page-v3 h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    letter-spacing: -0.02em !important;
    color: #111827;
}

/* Section Backgrounds Override */
body.about-page-v3 .section {
    background-color: #f9f9f9 !important;
}

body.about-page-v3 .section--alt {
    background-color: #ffffff !important;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

/* Specific text overrides to match minimalist design */
body.about-page-v3 p,
body.about-page-v3 .mvv-card__text,
body.about-page-v3 .cert-item__text,
body.about-page-v3 .about-feature__text,
body.about-page-v3 .stats-bar__label {
    color: #6b7280 !important;
    font-family: 'Inter', sans-serif !important;
}

/* Cards & Elements Override */
body.about-page-v3 .mvv-card,
body.about-page-v3 .cert-item {
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

body.about-page-v3 .section-eyebrow {
    color: #ef4444 !important;
}

body.about-page-v3 .section-underline {
    background-color: #ef4444 !important;
}

body.about-page-v3 .mvv-card__icon i,
body.about-page-v3 .cert-item__icon i,
body.about-page-v3 .about-feature__icon i,
body.about-page-v3 .stats-bar__icon i {
    color: #ef4444 !important;
}

/* ============================================================
   CERTIFICATIONS & COMPLIANCE (Matching Design)
   ============================================================ */
body.about-page-v3 .cert-strip {
    background-color: #f0f4f8 !important; /* Light blueish background */
    padding: 3rem !important;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto 0 auto;
}

body.about-page-v3 .cert-item {
    display: flex !important;
    align-items: center !important;
    gap: 1.5rem !important;
    background-color: #ffffff !important;
    padding: 1.5rem 2rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    margin: 0 !important;
    text-align: left !important;
    width: 100% !important;
    flex-direction: row !important;
}

@media (max-width: 767px) {
    body.about-page-v3 .cert-strip {
        padding: 1.5rem !important;
    }
    body.about-page-v3 .cert-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 1.5rem !important;
    }
}

body.about-page-v3 .cert-item__icon {
    flex-shrink: 0;
    width: auto !important;
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    margin: 0 !important;
}

body.about-page-v3 .cert-item__icon i {
    font-size: 1.75rem !important;
    color: #ef4444 !important;
}

body.about-page-v3 .cert-item > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

body.about-page-v3 .cert-item__title {
    margin: 0 0 0.5rem 0 !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
}

body.about-page-v3 .cert-item__text {
    margin: 0 !important;
    font-size: 0.875rem !important;
    color: #6b7280 !important;
}
