/* ==========================================================================
   CHINESE THEME REDESIGN - GIỚI THIỆU (ABOUT US) PAGE
   Project: Cửa Kính Tín Đạt
   Color Palette:
   - Primary Background: #FFFFFF (Clean Pure White)
   - Brand Red Accent (Primary): #e80805 (Google Stitch Red)
   - Brand Blue Accent (Secondary): #0057d8 (Secondary blue for hover & sub-headings)
   - Typography Charcoal: #111827 (Deep Slate Black)
   - Secondary Text: #4b5563 (Elegant Muted Slate)
   ========================================================================== */

.cn-about-page {
    background-color: #FFFFFF;
    color: #111827;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Base grid layout container */
.cn-shell {
    width: min(1200px, calc(100% - 2.5rem));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Premium Typography Style */
.cn-hero-title, 
.cn-section-title, 
.cn-panel-title,
.cn-value-body h3,
.cn-scale-card h3 {
    font-family: 'Lora', 'Georgia', serif;
    font-weight: 700;
}

/* ==========================================================================
   HERO HEADER AREA
   ========================================================================== */
.cn-hero {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    background-color: #FFFFFF;
    border-bottom: 2px solid #e80805;
    overflow: hidden;
}

.cn-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/images/about/about-banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.85; /* Faded by 15% (85% opacity) */
    filter: blur(2px); /* Slightly blurred to stand out the text */
    z-index: 1;
}

.cn-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

/* Repeating top and bottom geometric borders using border images or CSS ornaments */
.cn-hero-ornament {
    position: absolute;
    left: 0;
    width: 100%;
    height: 16px;
    background-image: url("/images/bg-footer2.png");
    background-repeat: repeat-x;
    background-size: auto 16px;
}

.cn-ornament-top {
    top: 0;
}

.cn-ornament-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.cn-kicker {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0057d8;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    position: relative;
    padding: 0 1.5rem;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 2px 10px rgba(255, 255, 255, 0.8);
}

.cn-kicker::before,
.cn-kicker::after {
    content: "✦";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #e80805;
}

.cn-kicker::before { left: 0; }
.cn-kicker::after { right: 0; }

.cn-hero-title {
    margin: 0 0 2rem;
}

.cn-hero-brand {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #e80805;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.95), 0 4px 12px rgba(255, 255, 255, 0.85), 1px 1px 0px rgba(197, 168, 92, 0.4);
}

.cn-hero-sub {
    display: block;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #0057d8;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.9), 0 2px 10px rgba(255, 255, 255, 0.8);
}

.cn-hero-intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    color: #111827;
    font-weight: 500;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95), 0 2px 10px rgba(255, 255, 255, 0.85);
}

.cn-hero-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.cn-hero-divider::before,
.cn-hero-divider::after {
    content: "";
    height: 1px;
    width: 100px;
    background: linear-gradient(to right, transparent, #0057d8, transparent);
}

.cn-divider-cloud {
    width: 24px;
    height: 24px;
    background: url("/images/mask-img.png") no-repeat center;
    background-size: contain;
    margin: 0 1.5rem;
    filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(358deg) brightness(95%) contrast(112%); /* Turns mask red */
}

/* ==========================================================================
   GENERAL SECTIONS
   ========================================================================== */
.cn-section {
    padding: 6.5rem 0;
    position: relative;
}

.cn-section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4.5rem;
}

.cn-badge {
    display: inline-block;
    background-color: #e80805;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: 2px;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    border: 1px solid #0057d8;
}

.cn-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #111827;
    margin: 0 0 1rem;
}

.cn-header-line {
    width: 60px;
    height: 3px;
    background-color: #0057d8;
    margin: 0 auto 1.5rem;
    position: relative;
}

.cn-header-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #e80805;
    border-radius: 50%;
}

.cn-section-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    margin: 0;
}

/* ==========================================================================
   SECTION 1: QUY MÔ CÔNG TY (Scale)
   ========================================================================== */
.cn-scale-section {
    background: #FFFFFF;
}

.cn-scale-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

/* Elegant traditional Chinese card with red borders and hover blue styling */
.cn-scale-card {
    position: relative;
    background-color: #FFFFFF;
    border: 2px solid #e80805;
    border-radius: 8px;
    padding: 1.5rem 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 400ms cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.cn-scale-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 87, 216, 0.08);
    border-color: #0057d8;
}

/* Authentic corner scallop look using mask-img */
.cn-card-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.015;
    background-image: url("/images/bg-footer.jpg");
    background-repeat: repeat;
    pointer-events: none;
}

.cn-scale-card::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border: 1px solid rgba(0, 87, 216, 0.15);
    border-radius: 4px;
    pointer-events: none;
    transition: border-color 400ms ease;
}

.cn-scale-card:hover::before {
    border-color: rgba(0, 87, 216, 0.3);
}

/* Card Image Styles - 16:9 Aspect Ratio */
.cn-card-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 87, 216, 0.1);
}

.cn-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cn-scale-card:hover .cn-card-image {
    transform: scale(1.06);
}

/* Premium text overlay at the bottom of the image */
.cn-card-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    color: #FFFFFF;
    margin: 0;
    padding: 1.25rem 1rem 0.75rem;
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.cn-card-stat {
    font-size: 3.2rem;
    font-weight: 800;
    color: #e80805;
    line-height: 1;
    margin-bottom: 1.25rem;
    font-family: 'Lora', serif;
}

.cn-unit {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0057d8;
    margin-left: 0.25rem;
}

.cn-card-desc {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

/* Subtle corner decoration effects */
.cn-card-border-effect {
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #c5a85c;
    pointer-events: none;
}

/* Position four corners */
.cn-scale-card::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    border-top: 2px solid #e80805;
    border-left: 2px solid #e80805;
    top: 12px;
    left: 12px;
    transition: border-color 400ms ease;
}

.cn-scale-card:hover::after {
    border-color: #0057d8;
}

/* ==========================================================================
   SECTION 2 & 3: TẦM NHÌN & SỨ MỆNH (Vision & Mission)
   ========================================================================== */
.cn-vision-mission-section {
    position: relative;
    background: #FFFFFF;
    border-top: 2px solid #e80805;
    border-bottom: 2px solid #e80805;
    color: #111827;
    overflow: hidden;
}

.cn-vision-mission-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/images/bg-footer.jpg");
    background-repeat: repeat;
    opacity: 0.02;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.cn-split-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.cn-split-panel {
    position: relative;
    background: #FFFFFF;
    border: 2px solid #e80805;
    border-radius: 8px;
    padding: 3.5rem 3rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
    transition: all 400ms ease;
    z-index: 2;
}

.cn-split-panel:hover {
    border-color: #0057d8;
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 87, 216, 0.1);
    background-color: #fcfdfe;
}

.cn-seal-badge {
    position: absolute;
    top: -1.25rem;
    left: 3rem;
    background-color: #e80805;
    color: #FFFFFF;
    border: 2px solid #e80805;
    font-family: 'Lora', serif;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 0.35rem 1.5rem;
    box-shadow: 0 4px 10px rgba(232, 8, 5, 0.15);
    letter-spacing: 0.1em;
    transition: all 400ms ease;
}

.cn-split-panel:hover .cn-seal-badge {
    background-color: #0057d8;
    border-color: #0057d8;
    box-shadow: 0 4px 10px rgba(0, 87, 216, 0.15);
}

.cn-panel-title {
    font-size: 1.8rem;
    color: #0057d8;
    margin: 0.8rem 0 1rem;
    letter-spacing: 0.05em;
}

.cn-panel-divider {
    width: 80px;
    height: 1px;
    background-color: #e80805;
    margin-bottom: 1.8rem;
    transition: background-color 400ms ease;
}

.cn-split-panel:hover .cn-panel-divider {
    background-color: #0057d8;
}

.cn-panel-text {
    font-size: 1.05rem;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* Classic Chinese border frame corner ornaments */
.cn-corner-ornament {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #e80805;
    pointer-events: none;
    transition: border-color 400ms ease;
}

.cn-split-panel:hover .cn-corner-ornament {
    border-color: #0057d8;
}

.cn-corner-ornament.top-left { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.cn-corner-ornament.top-right { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.cn-corner-ornament.bottom-left { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.cn-corner-ornament.bottom-right { bottom: 10px; right: 10px; border-left: none; border-top: none; }

/* ==========================================================================
   SECTION 4: GIÁ TRỊ CỐT LÕI (Core Values)
   ========================================================================== */
.cn-values-section {
    background-color: #FFFFFF;
}

.cn-values-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Asymmetrical Chinese screen design block with red border accent and blue hover */
.cn-value-item {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 87, 216, 0.15);
    border-left: 5px solid #e80805;
    border-radius: 4px;
    padding: 2.2rem 2.8rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.01);
    transition: all 300ms ease;
    position: relative;
}

.cn-value-item:hover {
    transform: translateX(8px);
    box-shadow: 0 12px 30px rgba(0, 87, 216, 0.08);
    background-color: #FFFFFF;
    border-color: rgba(0, 87, 216, 0.35);
    border-left-color: #0057d8;
}

/* Calligraphy character seals representing core pillars */
.cn-value-seal {
    font-family: 'Lora', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #e80805;
    width: 64px;
    height: 64px;
    min-width: 64px;
    border: 2px solid #e80805;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(232, 8, 5, 0.03);
    margin-right: 2.5rem;
    position: relative;
    user-select: none;
    transition: all 300ms ease;
}

.cn-value-item:hover .cn-value-seal {
    color: #0057d8;
    border-color: #0057d8;
    background-color: rgba(0, 87, 216, 0.03);
}

.cn-value-seal::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px dashed rgba(232, 8, 5, 0.4);
    transition: border-color 300ms ease;
}

.cn-value-item:hover .cn-value-seal::before {
    border-color: rgba(0, 87, 216, 0.4);
}

.cn-value-body h3 {
    font-size: 1.25rem;
    color: #0057d8;
    margin: 0 0 0.5rem;
    letter-spacing: 0.05em;
}

.cn-value-body p {
    font-size: 0.98rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   SECTION 5: ĐỐI TÁC CHIẾN LƯỢC (Partners)
   ========================================================================== */
.cn-partners-section {
    background-color: #FFFFFF;
    border-top: 1px solid rgba(0, 87, 216, 0.15);
}

.cn-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.cn-partner-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 87, 216, 0.15);
    border-radius: 4px;
    padding: 2.2rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
    transition: all 300ms ease;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 130px;
}

.cn-partner-card:hover {
    transform: scale(1.05);
    border-color: #0057d8;
    box-shadow: 0 10px 25px rgba(0, 87, 216, 0.08);
}

.cn-partner-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: #111827;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.cn-partner-sub {
    display: block;
    font-size: 0.75rem;
    color: #0057d8;
    text-transform: uppercase;
    font-weight: 600;
}

/* ==========================================================================
   RED CALL-TO-ACTION (CTA) PANEL
   ========================================================================== */
.cn-about-cta {
    position: relative;
    background: #FFFFFF;
    color: #111827;
    padding: 5rem 0;
    border-top: 2px solid #e80805;
    border-bottom: 2px solid #e80805;
    text-align: center;
    overflow: hidden;
}

.cn-about-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("/images/bg-footer.jpg");
    background-repeat: repeat;
    opacity: 0.02;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.cn-cta-inner {
    max-width: 850px;
    position: relative;
    z-index: 2;
}

.cn-about-cta h2 {
    font-family: 'Lora', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: #e80805;
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
}

.cn-about-cta p {
    font-size: 1.1rem;
    color: #4b5563;
    margin: 0 0 2.5rem;
    line-height: 1.7;
}

.cn-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Button styles matching premium Chinese theme */
.cn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.4rem;
    padding: 0.5rem 2rem;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 250ms ease;
    cursor: pointer;
}

.cn-btn-primary {
    background-color: #e80805;
    color: #FFFFFF;
    border: 2px solid #e80805;
    box-shadow: 0 8px 20px rgba(232, 8, 5, 0.2);
}

.cn-btn-primary:hover {
    background-color: #0057d8;
    color: #FFFFFF;
    border-color: #0057d8;
    box-shadow: 0 8px 20px rgba(0, 87, 216, 0.25);
}

.cn-btn-outline {
    background-color: transparent;
    color: #0057d8;
    border: 2px solid #0057d8;
}

.cn-btn-outline:hover {
    background-color: #0057d8;
    color: #FFFFFF;
    border-color: #0057d8;
    box-shadow: 0 8px 20px rgba(0, 87, 216, 0.25);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .cn-scale-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .cn-split-layout {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .cn-partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .cn-hero {
        padding: 5rem 0 4rem;
    }

    .cn-section {
        padding: 4.5rem 0;
    }

    .cn-scale-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cn-value-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .cn-value-seal {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .cn-partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cn-cta-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .cn-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cn-partners-grid {
        grid-template-columns: 1fr;
    }
}
