﻿/* ==================== ABOUT ONE NEW - VỀ CHÚNG TÔI (compact, services-like icons) ==================== */

.about-one-new {
    position: relative;
    padding: 0 0 0;
    background: #f5f5f5;
}

/* Header - compact, services-like */
.about-one-new__header {
    padding: 22px 0;
    margin: 0;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-one-new__header .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
}

.about-one-new__header h2 {
    font-family: var(--tanspot-font-two);
    color: var(--ashico-blue);
    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
    text-align: center;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
}

.about-one-new__header h2::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f21a";
    display: inline-block;
    font-size: 22px;
    color: var(--ashico-red);
    line-height: 1;
    margin-right: 8px;
    animation: l-r-move 2s linear infinite;
    -webkit-animation: l-r-move 2s linear infinite;
    transform-origin: center;
}

.about-one-new__header h2 span {
    color: var(--ashico-red);
}

/* Vision Box */
.about-one-new__vision-box {
    background: var(--ashico-blue);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 22px;
    box-shadow: 0 4px 14px rgba(3,78,162,0.12);
}

.about-one-new__vision-box h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-one-new__vision-box .italic-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
}

/* Mission Title */
.about-one-new__mission-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: flex-start;
}

.about-one-new__mission-title i {
    font-size: 20px;
    color: var(--ashico-blue);
}

.about-one-new__mission-title h3 {
    color: var(--ashico-blue);
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

/* Mission Grid */
.about-one-new__mission-grid {
    margin-bottom: 12px;
}

.about-one-new__mission-grid .col-lg-6,
.about-one-new__mission-grid .col-md-6 {
    padding-bottom: 8px;
}

/* Mission box */
.mission-box {
    background: #fff;
    border-radius: 10px;
    padding: 12px 14px;
    height: 100%;
    margin-bottom: 0;
    transition: all 0.22s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mission-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: width 0.2s ease;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.mission-box--blue::before { background: var(--ashico-blue); }
.mission-box--orange::before { background: var(--ashico-red); }
.mission-box--green::before { background: var(--ashico-blue); }

.mission-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.mission-box:hover::before { width: 100%; opacity: 0.04; }

.mission-box__header {  
    display: flex;
    align-items: center;
    gap: 10px;
}

.mission-box__icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--tanspot-primary);
    color: var(--ashico-blue);
    font-size: 16px;
}

.mission-box--blue .mission-box__icon { background: var(--ashico-blue); color: #fff; }
.mission-box--orange .mission-box__icon { background: var(--ashico-red); color: #fff; }
.mission-box--green .mission-box__icon { background: var(--ashico-blue); color: #fff; }

.mission-box__icon i { font-size: 16px; line-height: 1; }

.mission-box h4 {
    color: #222;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.mission-box p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    margin-top: 6px;
    flex: 1 0 auto;
}

/* Bottom boxes */
.about-one-new__bottom-boxes { margin-top: 12px; }
.about-one-new__bottom-boxes .col-lg-6 { padding-bottom: 8px; }

.bottom-box {
    border-radius: 12px;
    padding: 18px 18px;
    height: 100%;
    color: #fff;
    margin-bottom: 0;
    transition: all 0.24s ease;
}

.bottom-box--orange { background: linear-gradient(135deg, var(--ashico-red) 0%, #f05545 100%); }
.bottom-box--blue   { background: linear-gradient(135deg, var(--ashico-blue) 0%, #0569c8 100%); }

.bottom-box__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.bottom-box__icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 18px;
}

.bottom-box h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.bottom-box p {
    color: rgba(255,255,255,0.92);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .about-one-new__header h2 { font-size: 26px; }
    .mission-box { padding: 10px 12px; }
    .mission-box__icon { width: 30px; height: 30px; font-size: 14px; border-radius: 6px; }
    .mission-box h4 { font-size: 14px; }
    
    .mission-box p,
    .bottom-box p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .about-one-new__header { margin-bottom: 18px; }
    .about-one-new__header h2 { font-size: 20px; }
    .about-one-new__vision-box {
        padding: 20px 25px;
        margin-bottom: 30px;
    }
    .about-one-new__mission-title h3 { font-size: 22px; }
    .mission-box h4 { font-size: 14px; }
    .bottom-box { padding: 14px; }
    .bottom-box h4 { font-size: 15px; }
    
    .about-one-new__vision-box .italic-text,
    .mission-box p,
    .bottom-box p {
        font-size: 12px;
    }
}

/* ============================================
   ASHICO CORE VALUES - GIÁ TRỊ CỐT LÕI
   ============================================ */

.core-values-section {
    position: relative;
    padding: 20px 0 50px 0;
    background: #f5f5f5;
    margin-top: 12px;
    margin-bottom: 0;
}

/* Header giống mission-title */
.core-values-section__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: flex-start;
}

.core-values-section__header > i,
.core-values-section__header > i.fas,
.core-values-section__header > i.fa-star {
    font-size: 20px !important;
    color: var(--ashico-red, #ec2028) !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.core-values-section__header h2 {
    font-family: var(--tanspot-font-two);
    color: var(--ashico-blue, #034ea2) !important;
    font-size: 20px;
    font-weight: 800;
    margin: 0;
    text-transform: capitalize;
}

.core-values-section__header h2::before {
    content: none !important;
    display: none !important;
}

/* ⭐ MAIN WRAPPER - CĂN GIỮA THEO CHIỀU DỌC */
.core-values-wrapper {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Chart Section (Left) */
.core-values__chart-section {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

/* Pie Container */
.core-values__pie-container {
    position: relative;
    width: 340px;
    height: 340px;
    margin-top: 35px;
}

/* ASHICO TITLE */
.core-values__pie-title {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--tanspot-font-two);
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 5px;
    z-index: 5;
    display: flex;
    gap: 3px;
    white-space: nowrap;
}

.core-values__pie-title .letter-a { transition: all 0.3s ease; }
.core-values__pie-title .letter-s { transition: all 0.3s ease; }
.core-values__pie-title .letter-h { transition: all 0.3s ease; }
.core-values__pie-title .letter-i { transition: all 0.3s ease; }
.core-values__pie-title .letter-c { transition: all 0.3s ease; }
.core-values__pie-title .letter-o { transition: all 0.3s ease; }

/* Active state cho chữ ASHICO */
.core-values__pie-title .letter-a.active { text-shadow: 0 0 10px rgba(236, 32, 40, 0.7); transform: scale(1.3); }
.core-values__pie-title .letter-s.active { text-shadow: 0 0 10px rgba(2, 61, 122, 0.7); transform: scale(1.3); }
.core-values__pie-title .letter-h.active { text-shadow: 0 0 10px rgba(3, 78, 162, 0.7); transform: scale(1.3); }
.core-values__pie-title .letter-i.active { text-shadow: 0 0 10px rgba(5, 105, 200, 0.6); transform: scale(1.3); }
.core-values__pie-title .letter-c.active { text-shadow: 0 0 10px rgba(30, 136, 229, 0.6); transform: scale(1.3); }
.core-values__pie-title .letter-o.active { text-shadow: 0 0 10px rgba(66, 165, 245, 0.6); transform: scale(1.3); }

.core-values__pie-title.has-active span:not(.active) { opacity: 0.3; }

/* SVG Pie Chart */
.core-values__pie-chart {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 3px 12px rgba(0,0,0,0.12));
}

.core-values__pie-chart .pie-segment {
    transition: all 0.3s ease;
    cursor: pointer;
    stroke: #f5f5f5;
    stroke-width: 2;
}

.core-values__pie-chart .pie-segment:hover { filter: brightness(1.1); }

.core-values__pie-chart .pie-segment.active {
    filter: brightness(1.15) drop-shadow(0 0 6px rgba(0,0,0,0.25));
    stroke-width: 3;
    stroke: #fff;
}

/* ⭐ CENTER CIRCLE - CHỨA LOGO + SLOGAN */
.core-values__center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 10;
    overflow: hidden;
    padding: 10px;
}

/* Logo trong vòng tròn */
.core-values__center-logo {
    max-width: 100px;
    max-height: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 3px;
}

/* SLOGAN */
.core-values__center-slogan {
    font-family: var(--tanspot-font-two);
    font-size: 7px;
    font-weight: 900;
    color: var(--ashico-red, #ec2028);
    text-align: center;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 110px;
    word-wrap: break-word;
    -webkit-text-stroke: 0.3px var(--ashico-red, #ec2028);
}

/* ⭐ VALUES SECTION (RIGHT) */
.core-values__values-section {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
    align-content: center;
}

/* VALUE CARDS */
.core-values__values-section .value-card {
    padding: 14px 16px;
    border-radius: 10px;
    border-left: 4px solid;
    background: white;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.core-values__values-section .value-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Value Header */
.core-values__values-section .value-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

/* Value Letter */
.core-values__values-section .value-letter {
    font-family: var(--tanspot-font-two);
    font-size: 16px;
    font-weight: 900;
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    color: white;
}

/* Value Title */
.core-values__values-section .value-title {
    font-family: var(--tanspot-font-two);
    font-size: 15px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

/* VALUE DESCRIPTION */
.core-values__values-section .value-description {
    font-family: var(--tanspot-font);
    font-size: 14px;
    line-height: 1.5;
    margin-left: 44px;
    color: #666;
    margin-top: 0;
    flex: 1;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .core-values-section { padding: 15px 0 40px 0; }
    
    .core-values-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .core-values__chart-section { flex: none; order: 1; }
    .core-values__values-section { order: 2; width: 100%; align-content: start; }
    
    .core-values__pie-container { width: 300px; height: 300px; margin-top: 30px; }
    .core-values__center-circle { width: 130px; height: 130px; padding: 8px; }
    .core-values__center-logo { max-width: 75px; max-height: 48px; margin-bottom: 3px; }
    .core-values__center-slogan { font-size: 6px; max-width: 95px; }
    .core-values__pie-title { font-size: 26px; top: -28px; letter-spacing: 4px; }
    .core-values-section__header h2 { font-size: 18px; }
    
    .core-values__values-section .value-card { padding: 12px 14px; }
    .core-values__values-section .value-letter { width: 30px; height: 30px; min-width: 30px; font-size: 14px; }
    .core-values__values-section .value-title { font-size: 14px; }
    .core-values__values-section .value-description { margin-left: 40px; font-size: 13px; }
}

@media (max-width: 576px) {
    .core-values-section { padding: 10px 0 30px 0; }
    .core-values__values-section { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .core-values__pie-container { width: 260px; height: 260px; margin-top: 26px; }
    .core-values__center-circle { width: 110px; height: 110px; padding: 6px; }
    .core-values__center-logo { max-width: 60px; max-height: 40px; margin-bottom: 2px; }
    .core-values__center-slogan { font-size: 5px; max-width: 80px; }
    .core-values__pie-title { font-size: 22px; top: -24px; letter-spacing: 3px; }
    .core-values__values-section .value-card { padding: 10px 12px; }
    .core-values__values-section .value-title { font-size: 14px; }
    .core-values__values-section .value-description { font-size: 12px; }
    .core-values-section__header h2 { font-size: 16px; }
}

/* ==================== CORE VALUES - MOBILE RESPONSIVE ==================== */

/* Tablet và Mobile - Stack vertical */
@media (max-width: 991px) {
    .core-values-wrapper {
        flex-direction: column !important;
        gap: 25px !important;
    }
    
    /* ⭐ HÌNH TRÒN HIỂN THỊ TRƯỚC (order: 1) */
    .core-values__chart-section {
        order: 1 !important;
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
    }
    
    /* ⭐ VALUE CARDS HIỂN THỊ SAU (order: 2) */
    .core-values__right-section {
        order: 2 !important;
        width: 100% !important;
    }
    
    .core-values__values-section {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

@media (max-width: 767px) {
    .core-values-wrapper {
        gap: 20px !important;
    }
    
    /* ⭐ HÌNH TRÒN TRƯỚC */
    .core-values__chart-section {
        order: 1 !important;
        max-width: 300px !important;
    }
    
    /* ⭐ VALUE CARDS SAU */
    .core-values__right-section {
        order: 2 !important;
    }
    
    .core-values__pie-container {
        width: 280px !important;
        height: 280px !important;
    }
}

@media (max-width: 575px) {
    .core-values-wrapper {
        gap: 15px !important;
    }
    
    .core-values__chart-section {
        order: 1 !important;
        max-width: 260px !important;
    }
    
    .core-values__right-section {
        order: 2 !important;
    }
    
    .core-values__pie-container {
        width: 240px !important;
        height: 240px !important;
    }
}

@media (max-width: 480px) {
    .core-values__chart-section {
        order: 1 !important;
        max-width: 220px !important;
    }
    
    .core-values__right-section {
        order: 2 !important;
    }
    
    .core-values__pie-container {
        width: 200px !important;
        height: 200px !important;
    }
}

/* ============================================
   ACTIVE STATE
   ============================================ */
.core-values__values-section .value-card.active {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    opacity: 1;
}

.core-values__values-section:has(.value-card.active) .value-card:not(.active) {
    opacity: 0.35;
}

/* ============================================
   ⭐ NÚT TÌM HIỂU THÊM - CLASS RIÊNG ⭐
   ============================================ */
.core-values__btn-wrapper .btn-learn-more-small {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 6px 5px 16px !important;
    border-radius: 20px !important;
    background-color: var(--ashico-red, #ec2028) !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(236, 32, 40, 0.25) !important;
    line-height: 1.2 !important;
}

.core-values__btn-wrapper .btn-learn-more-small:hover {
    background-color: var(--ashico-blue, #034ea2) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(3, 78, 162, 0.3) !important;
}

.core-values__btn-wrapper .btn-learn-more-small .btn-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--ashico-blue, #034ea2) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 10px !important;
    transition: all 0.3s ease !important;
}

.core-values__btn-wrapper .btn-learn-more-small:hover .btn-icon {
    background-color: var(--ashico-red, #ec2028) !important;
}

/* Container cho nút */
.core-values__btn-wrapper {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

@media (max-width: 991px) {
    .core-values__btn-wrapper {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .core-values__btn-wrapper .btn-learn-more-small {
        font-size: 11px !important;
        padding: 4px 5px 4px 14px !important;
    }
    
    .core-values__btn-wrapper .btn-learn-more-small .btn-icon {
        width: 22px !important;
        height: 22px !important;
        min-width: 22px !important;
        font-size: 9px !important;
    }
}