/* TECHNOVA — Trang giới thiệu */

.about-page {
    --tech-dark: #102C57;
    --tech-primary: #00AEEF;
    --tech-secondary: #007BFF;
    --tech-accent: #8A2BE2;
    --tech-border: #e8eef8;
    --tech-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tech-radius: 16px;
}

/* ── Hero ── */
.about-page .about-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #102C57 0%, #007BFF 55%, #00AEEF 100%);
    padding: 44px 0 52px;
    color: #fff;
}

.about-page .about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(255, 255, 255, 0.06) 45%,
        transparent 60%
    );
    background-size: 200% 100%;
    pointer-events: none;
    z-index: 1;
}

.about-page .about-hero .container {
    position: relative;
    z-index: 2;
}

.about-page .about-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
}

.about-page .about-hero-glow--1 {
    width: 260px;
    height: 260px;
    top: -40px;
    right: 10%;
    background: rgba(0, 174, 239, 0.35);
}

.about-page .about-hero-glow--2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: 5%;
    background: rgba(138, 43, 226, 0.28);
}

.about-page .about-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.about-page .about-hero p {
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
    max-width: 640px;
}

.about-page .about-hero .breadcrumb-nav li,
.about-page .about-hero .breadcrumb-nav li a {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ── Intro image ── */
.about-page .about-intro-img {
    border-radius: var(--tech-radius);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(16, 44, 87, 0.12);
}

.about-page .about-intro-img img {
    width: 100%;
    display: block;
    transition: transform 0.6s var(--tech-ease);
}

.about-page .about-intro-img:hover img {
    transform: scale(1.04);
}

/* ── Section title underline ── */
.about-page .section-title--animate h2 {
    position: relative;
    display: inline-block;
}

.about-page .section-title--animate h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--tech-primary), var(--tech-accent));
    width: 0;
    opacity: 0;
}

.about-page .about-reveal--visible.section-title--animate h2::after {
    animation: aboutLineGrow 0.7s var(--tech-ease) 0.2s forwards;
}

/* ── Value cards ── */
.about-page .about-values .value-card {
    background: #fff;
    border: 1px solid var(--tech-border);
    border-radius: var(--tech-radius);
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 6px 24px rgba(16, 44, 87, 0.06);
    transition: transform 0.35s var(--tech-ease), border-color 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
}

.about-page .about-values .value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.about-page .about-values .value-card:hover::before {
    left: 140%;
}

.about-page .about-values .value-card:hover {
    transform: translateY(-6px);
    border-color: #cce5ff;
    box-shadow: 0 14px 36px rgba(0, 123, 255, 0.14);
}

.about-page .about-values .value-card i {
    font-size: 2rem;
    color: var(--tech-primary);
    margin-bottom: 16px;
    display: block;
    transition: transform 0.35s var(--tech-ease);
}

.about-page .about-values .value-card:hover i {
    transform: scale(1.12) rotate(-5deg);
}

.about-page .about-values .value-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--tech-dark);
    margin-bottom: 10px;
}

.about-page .about-values .value-card p {
    color: #5a6478;
    margin: 0;
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ── Timeline ── */
.about-page .about-timeline img {
    border-radius: var(--tech-radius);
    box-shadow: 0 8px 30px rgba(16, 44, 87, 0.1);
    transition: transform 0.5s var(--tech-ease), box-shadow 0.5s ease;
}

.about-page .about-timeline .about-reveal--visible img:hover {
    transform: scale(1.02);
    box-shadow: 0 14px 40px rgba(0, 123, 255, 0.15);
}

.about-page .about-timeline h3 {
    transition: color 0.3s ease;
}

/* ── Stats ── */
.about-page .about-stats .stat-card {
    background: #fff;
    border-radius: var(--tech-radius);
    padding: 32px 20px;
    border: 1px solid var(--tech-border);
    box-shadow: 0 6px 24px rgba(16, 44, 87, 0.06);
    height: 100%;
    transition: transform 0.35s var(--tech-ease), box-shadow 0.35s ease;
}

.about-page .about-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 123, 255, 0.12);
}

.about-page .about-stats .stat-card h2 {
    background: linear-gradient(135deg, var(--tech-secondary), var(--tech-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ── CTA ── */
.about-page .about-cta .btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-page .about-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 123, 255, 0.25);
}

/* ── Scroll reveal ── */
.about-page .about-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.85s var(--tech-ease), transform 0.85s var(--tech-ease);
}

.about-page .about-reveal.about-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

.about-page .about-reveal--left {
    transform: translateX(-40px);
}

.about-page .about-reveal--left.about-reveal--visible {
    transform: translateX(0);
}

.about-page .about-reveal--right {
    transform: translateX(40px);
}

.about-page .about-reveal--right.about-reveal--visible {
    transform: translateX(0);
}

.about-page .about-reveal--scale {
    transform: translateY(24px) scale(0.96);
}

.about-page .about-reveal--scale.about-reveal--visible {
    transform: translateY(0) scale(1);
}

.about-page .about-reveal--stagger:nth-child(1) { transition-delay: 0s; }
.about-page .about-reveal--stagger:nth-child(2) { transition-delay: 0.1s; }
.about-page .about-reveal--stagger:nth-child(3) { transition-delay: 0.2s; }
.about-page .about-reveal--stagger:nth-child(4) { transition-delay: 0.3s; }

/* ── Keyframes ── */
@keyframes aboutFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes aboutLineGrow {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 56px;
        opacity: 1;
    }
}

@keyframes aboutGlowFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(12px, -16px); }
}

@keyframes aboutShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes aboutIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes aboutStatPop {
    0% { transform: scale(0.85); opacity: 0.5; }
    60% { transform: scale(1.06); }
    100% { transform: scale(1); opacity: 1; }
}

/* ── Hero entrance (load) ── */
@media (prefers-reduced-motion: no-preference) {
    .about-page .about-hero::before {
        animation: aboutShimmer 8s linear infinite;
    }

    .about-page .about-hero-glow--1 {
        animation: aboutGlowFloat 9s ease-in-out infinite;
    }

    .about-page .about-hero-glow--2 {
        animation: aboutGlowFloat 11s ease-in-out infinite reverse;
        animation-delay: 1.2s;
    }

    .about-page .about-hero-item {
        opacity: 0;
        animation: aboutFadeUp 0.85s var(--tech-ease) forwards;
    }

    .about-page .about-hero-item:nth-child(1) { animation-delay: 0.08s; }
    .about-page .about-hero-item:nth-child(2) { animation-delay: 0.22s; }
    .about-page .about-hero-item:nth-child(3) { animation-delay: 0.36s; }

    .about-page .about-stats .stat-card.about-stat-counted h2 {
        animation: aboutStatPop 0.6s var(--tech-ease);
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .about-reveal,
    .about-page .about-hero-item {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }

    .about-page .about-hero::before,
    .about-page .about-hero-glow {
        animation: none !important;
    }

    .about-page .section-title--animate h2::after {
        width: 56px;
        opacity: 1;
    }
}

@media (max-width: 767px) {
    .about-page .about-hero h1 {
        font-size: 1.65rem;
    }

    .about-page .about-reveal--left,
    .about-page .about-reveal--right {
        transform: translateY(24px);
    }

    .about-page .about-reveal--left.about-reveal--visible,
    .about-page .about-reveal--right.about-reveal--visible {
        transform: translateY(0);
    }
}
