/* =========================================
   BLAYHUB ABOUT PAGE STYLES - V12.2 (Cleaned Global Sync)
   ========================================= */

:root { 
    --shop-red: #e5383b; 
    --shop-bg: #050608;       
    --shop-surface: #0e0f12;  
    --shop-border: #1a1c20;   
}

.section-padding { padding: 100px 5%; }
.bg-surface { background: var(--shop-surface); border-top: 1px solid var(--shop-border); border-bottom: 1px solid var(--shop-border); }
.text-red { color: var(--shop-red); }
.text-center { text-align: center; }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; text-transform: uppercase; margin-bottom: 15px; letter-spacing: 1px; color: white; }
.section-header p { color: #a1a1aa; font-size: 1.05rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ── HERO ── */
.about-hero { 
    height: 500px; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    /* 🌟 Synced to global nav height */
    margin-top: -105px; 
    padding-top: 105px; 
    background-image: url('/assets/about.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; 
    overflow: hidden; 
    opacity: 1 !important; 
    visibility: visible !important; 
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,8,0.75) 0%, rgba(5,6,8,0.92) 55%, var(--shop-bg) 100%); z-index: 1; }
.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 80px; 
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(229, 56, 59, 0.08);
    border: 1px solid rgba(229, 56, 59, 0.4);
    color: #ff4d4f;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(229,56,59,0.15);
}
.about-hero-content h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
}
.about-hero-content p {
    font-size: 1.1rem;
    color: #d4d4d8;
    line-height: 1.6;
}

/* ── OUR STORY ── */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.story-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}
.story-text p {
    color: #a1a1aa;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

/* 🌟 DESKTOP STATS TYPOGRAPHY */
.stats-row {
    display: flex;
    gap: 60px; 
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--shop-border);
    flex-wrap: wrap; 
}
.stat-item {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
}
.stat-item h3 {
    font-family: 'Oswald', sans-serif;
    color: #ffffff;    
    margin: 0;
    display: flex;
    align-items: baseline; 
    gap: 4px; 
}
.stat-item .stat-number {
    font-size: 3rem; 
    line-height: 0.9;  
}
.stat-item .stat-symbol {
    color: var(--shop-red);
    font-size: 1.5rem; 
    font-weight: 700;
}
.stat-item span {
    color: #71717a;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-top: 8px; 
}

/* ── 3D STORY IMAGE ── */
.story-image-wrapper {
    position: relative;
    width: 100%;
}
.story-image { 
    position: relative; 
    border-radius: 16px;
    width: 100%;
    will-change: transform; 
    transform-style: preserve-3d;
}
.story-image img {
    width: 100%;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
    transform: translateZ(10px); 
    pointer-events: none; 
}
.image-accent {
    position: absolute;
    top: -15px; left: -15px; right: 15px; bottom: 15px;
    width: 100%; height: 100%;
    border: 2px solid var(--shop-red);
    border-radius: 16px;
    z-index: 1;
    transform: translateZ(-5px); 
    pointer-events: none; 
}

/* ── 🌟 DYNAMIC INFINITE LOGO MARQUEE (DESKTOP) ── */
.brand-partners.section-padding {
    padding-top: 60px;    
    padding-bottom: 60px; 
}
.logo-marquee-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 0; 
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 100px; 
    padding-right: 100px; 
    white-space: nowrap;
    width: max-content;
    animation: infiniteScroll 35s linear infinite;
}
.logo-marquee-track:hover {
    animation-play-state: paused;
}
.brand-logo-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    height: 150px;
    min-width: 260px;   
}
.brand-logo-item img {
    max-height: 100%;
    max-width: 100%;    
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6) brightness(1.2);
    transform: scale(1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-logo-item:hover img {
    filter: grayscale(0%) opacity(1) brightness(1) drop-shadow(0 0 15px rgba(255,255,255,0.15));
    transform: scale(1.1);
}
.brand-logo-item span {
    font-family: 'Oswald', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #4a4d52;
    transition: color 0.3s;
}
@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* MOBILE SMART PYRAMID ROWS (Added via JS) */
.mobile-logo-row {
    display: flex;
    justify-content: center;
    gap: 15px; 
    width: 100%;
    margin-bottom: 15px;
}
.mobile-logo-row:last-child {
    margin-bottom: 0;
}
.mobile-logo-row .brand-logo-item {
    height: 45px; 
    min-width: unset;
    width: 30%; 
    max-width: 110px;
}
.mobile-logo-row .brand-logo-item img {
    filter: grayscale(0%) opacity(0.9) brightness(1.1); 
}

/* ── MISSION & VISION ── */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}
.mv-wrapper { height: 100%; }
.mv-card {
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 40px;
    border-radius: 16px;
    position: relative;
    transform-style: preserve-3d; 
    will-change: transform;
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--shop-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    pointer-events: none;
}
.mv-card:hover::before { transform: scaleX(1); }
.mv-icon {
    font-size: 2.5rem;
    color: var(--shop-red);
    margin-bottom: 20px;
    transform: translateZ(20px); 
    pointer-events: none;
}
.mv-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
    letter-spacing: 1px;
    transform: translateZ(10px); 
    pointer-events: none;
}
.mv-card p {
    color: #a1a1aa;
    line-height: 1.6;
    font-size: 1rem;
    transform: translateZ(5px);
    pointer-events: none;
}

/* ── CORE VALUES ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.value-wrapper { height: 100%; }
.value-item {
    height: 100%;
    text-align: center;
    padding: 30px 20px;
    background: var(--shop-bg);
    border: 1px solid var(--shop-border);
    border-radius: 12px;
    transform-style: preserve-3d; 
    will-change: transform;
}
.value-item > * { pointer-events: none; }
.value-item i {
    font-size: 2.5rem;
    color: var(--shop-red);
    margin-bottom: 20px;
    background: rgba(229, 56, 59, 0.1);
    width: 80px; height: 80px;
    line-height: 80px;
    border-radius: 50%;
    transform: translateZ(20px);
    display: inline-block;
}
.value-item h4 {
    font-family: 'Oswald', sans-serif;
    color: white;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    transform: translateZ(10px);
}
.value-item p {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 🌟 CALL TO ACTION BUTTON */
.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--shop-red);
    color: white;
    padding: 18px 45px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(229,56,59,0.25);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary-large i {
    transition: transform 0.3s ease;
}
.btn-primary-large:hover {
    background: #ff4d4f;
    box-shadow: 0 15px 35px rgba(229,56,59,0.4);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.3);
}
.btn-primary-large:hover i {
    transform: translateX(6px);
}

/* =======================================================
   11. RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ======================================================= */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Shrink overall section padding to un-chunkify */
    .section-padding { padding: 40px 15px; }
    
    /* 🌟 FIXED: Pulled hero up perfectly to sync with mobile global nav */
    .about-hero { min-height: 45vh; padding-top: 105px; margin-top: -105px; }
    .about-hero-content h1 { font-size: 2.8rem; margin-bottom: 15px;}
    .about-hero-content p { font-size: 0.9rem; }
    
    .story-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .story-text h2 { font-size: 2.2rem; margin-bottom: 10px;}
    .story-text p { font-size: 0.85rem; text-align: center; margin-bottom: 15px;}
    
    /* 🌟 SLEEK HORIZONTAL MOBILE STATS */
    .stats-row { 
        flex-direction: row; 
        justify-content: space-between; 
        gap: 10px; 
        padding-top: 15px; 
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .stat-item { 
        flex: 1; 
        align-items: flex-start; 
        text-align: left;
    } 
    .stat-item .stat-number { font-size: 1.8rem; line-height: 1; } 
    .stat-item .stat-symbol { font-size: 1rem; margin-left: 2px;}
    .stat-item span { font-size: 0.6rem; letter-spacing: 1px; margin-top: 2px;}
    
    .image-accent { display: none; } 
    
    /* 🌟 KILL THE MARQUEE - ENGAGE STATIC PYRAMID */
    .brand-partners.section-padding { padding-top: 30px; padding-bottom: 30px; }
    .logo-marquee-wrapper { 
        padding: 0;
        -webkit-mask-image: none; 
        mask-image: none;
    }
    .logo-marquee-track { 
        display: block; 
        padding-right: 0; 
        width: 100%;
        animation: none !important; 
    }

    /* Un-chunkify the Cards */
    .mv-grid { grid-template-columns: 1fr; gap: 15px; }
    .mv-card { padding: 25px 20px; text-align: center; border-radius: 12px;} 
    .mv-icon { font-size: 2rem; margin-bottom: 15px;}
    .mv-card h3 { font-size: 1.2rem; margin-bottom: 10px;}
    .mv-card p { font-size: 0.85rem;}
    
    .values-grid { grid-template-columns: 1fr; gap: 15px; }
    .value-item { padding: 20px 15px; border-radius: 12px; } 
    .value-item i { width: 50px; height: 50px; line-height: 50px; font-size: 1.5rem; margin-bottom: 15px;}
    .value-item h4 { font-size: 1.1rem; margin-bottom: 8px;}
    .value-item p { font-size: 0.85rem;}
}

@media (max-width: 480px) {
    .about-hero h1 { font-size: 2.4rem; }
    .stat-item .stat-number { font-size: 1.5rem; } 
    .stat-item span { font-size: 0.55rem; letter-spacing: 0;}
}