/* ============================================
   ABOUT PAGE - GIỚI THIỆU
   Premium Redesign with Background Images
   ============================================ */

/* ---- HIDE ASTRA DEFAULT TITLE BAR ---- */
/* This is the green "GIỚI THIỆU" bar from Astra */
body.page .ast-archive-description,
body.page .ast-breadcrumbs-wrapper,
body.page .entry-header.ast-no-title,
body.page .entry-header.ast-header-without-markup {
    display: none !important;
}

/* Also hide woocommerce breadcrumb inside the page content */
.about-hero ~ .woocommerce-breadcrumb,
.entry-content > .ast-container > .woocommerce-breadcrumb,
.entry-content > .woocommerce-breadcrumb {
    display: none !important;
}

/* ---- HERO BANNER ---- */
.about-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-image: url('../images/about/hero.png');
    background-color: #4d8228;
}

/* Fallback gradient if no image */
.about-hero:not([style*="background-image"]) {
    background: linear-gradient(135deg, #4d8228 0%, #5a8a2d 40%, #7bb83e 70%, #9acd66 100%);
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(77,130,40,0.92) 0%, 
        rgba(107,158,58,0.80) 40%, 
        rgba(64,145,108,0.72) 70%, 
        rgba(154,205,102,0.65) 100%
    );
    z-index: 1;
}

/* Floating leaves decorations */
.about-hero::before {
    content: '';
    position: absolute;
    font-size: 100px;
    opacity: 0.06;
    top: 30px;
    right: 10%;
    z-index: 2;
    animation: floatHeroLeaf 8s ease-in-out infinite;
    pointer-events: none;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, #fff, transparent);
    z-index: 3;
    pointer-events: none;
}

@keyframes floatHeroLeaf {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
    75% { transform: translateY(-20px) rotate(5deg); }
}

.about-hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 100px 20px 80px;
}

.about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    color: #b6e5a2;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInDown 0.8s ease both;
}

.about-hero-title {
    font-family: var(--bg-font, 'Be Vietnam Pro', sans-serif);
    font-size: clamp(36px, 6vw, 54px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 18px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    background: linear-gradient(to right, #fff, #b6e5a2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.about-hero-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 18px;
    line-height: 1.8;
    margin: 0 0 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.about-hero-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 14px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.about-hero-breadcrumb a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.about-hero-breadcrumb a:hover {
    color: #fff;
}

/* ---- STORY SECTION ---- */
.about-story {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.about-story::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(154,205,102,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-story::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107,158,58,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    transition: transform 0.5s ease;
}

.about-story-image:hover img {
    transform: scale(1.02);
}

.about-story-badge {
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5a8a2d, #9acd66);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 35px rgba(107,158,58,0.45);
    border: 4px solid #fff;
    animation: floatBadge 3s ease-in-out infinite;
}

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

.about-badge-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.about-badge-text {
    font-size: 11px;
    text-align: center;
    line-height: 1.3;
    margin-top: 4px;
    opacity: 0.9;
}

/* Section Labels */
.about-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9acd66;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
}

.about-section-label.center {
    justify-content: center;
}

.about-label-icon {
    font-size: 18px;
}

.about-section-title {
    font-family: var(--bg-font, 'Be Vietnam Pro', sans-serif);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: #4d8228;
    margin: 0 0 24px;
    position: relative;
}

.about-section-title.center {
    text-align: center;
}

.about-story-body {
    color: #555;
    font-size: 15.5px;
    line-height: 2;
}

.about-story-body p {
    margin-bottom: 18px;
}

/* ---- MISSION & VISION ---- */
.about-mission-vision {
    padding: 90px 0;
    background: linear-gradient(135deg, #f5faf7, #e8f5e9 50%, #f0faf3);
    position: relative;
    overflow: hidden;
}

/* Background decorative image */
.about-mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/about/hero.png') center/cover no-repeat;
    opacity: 0.03;
    filter: blur(3px);
    pointer-events: none;
}

.about-mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.about-mv-card {
    padding: 50px 45px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s ease;
}

.about-mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(0,0,0,0.1);
}

.about-mv-mission {
    background: linear-gradient(135deg, #4d8228, #5a8a2d 60%, #7bb83e);
    color: #fff;
}

/* Glass decoration on mission card */
.about-mv-mission::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}

.about-mv-vision {
    background: #fff;
    border: 1px solid #d4e8db;
    color: #1d2327;
    box-shadow: 0 8px 30px rgba(107,158,58,0.06);
}

.about-mv-icon {
    font-size: 52px;
    margin-bottom: 24px;
    display: inline-block;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.about-mv-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 18px;
    font-family: var(--bg-font, 'Be Vietnam Pro', sans-serif);
}

.about-mv-mission h3 {
    color: #fff;
}

.about-mv-card p {
    font-size: 16px;
    line-height: 1.9;
    opacity: 0.92;
}

/* ---- CORE VALUES ---- */
.about-values {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle background texture */
.about-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2340916C' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.about-value-card {
    text-align: center;
    padding: 45px 28px;
    border-radius: 20px;
    border: 1px solid #e0ede4;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.about-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #9acd66, #5a8a2d, #9acd66);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-value-card:hover::before {
    transform: scaleX(1);
}

.about-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(107,158,58,0.14);
    border-color: #b7dbc2;
}

.about-value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0faf3, #d8f3dc);
    border-radius: 20px;
    font-size: 40px;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
}

.about-value-card:hover .about-value-icon {
    background: linear-gradient(135deg, #5a8a2d, #9acd66);
    transform: rotateY(180deg);
    border-radius: 50%;
}

.about-value-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #4d8228;
    margin: 0 0 12px;
}

.about-value-card p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* ---- STATS ---- */
.about-stats {
    padding: 75px 0;
    background: linear-gradient(135deg, #4d8228, #5a8a2d 50%, #4d8228);
    position: relative;
    overflow: hidden;
}

/* Background texture on stats */
.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

/* Faint blurred background image behind stats */
.about-stats::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/about/hero.png') center/cover no-repeat;
    opacity: 0.05;
    filter: blur(4px);
    pointer-events: none;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-stat-item {
    position: relative;
    padding: 10px 0;
    transition: transform 0.3s ease;
}

.about-stat-item:hover {
    transform: scale(1.08);
}

.about-stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.about-stat-item:last-child::after {
    display: none;
}

.about-stat-number {
    display: block;
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
    filter: drop-shadow(0 2px 4px rgba(255,215,0,0.3));
}

.about-stat-label {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
}

/* ---- MILESTONES / TIMELINE ---- */
.about-milestones {
    padding: 100px 0;
    background: linear-gradient(180deg, #f5faf7, #fff);
    position: relative;
    overflow: hidden;
}

/* Faded bg image behind timeline */
.about-milestones::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/about/hero.png') center/cover no-repeat;
    opacity: 0.02;
    filter: blur(5px);
    pointer-events: none;
}

.about-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
    z-index: 1;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #9acd66, #5a8a2d, #4d8228);
    transform: translateX(-50%);
    border-radius: 4px;
}

.about-timeline-item {
    position: relative;
    width: 50%;
    padding: 10px 40px 30px;
    box-sizing: border-box;
}

.about-timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.about-timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 50px;
}

.about-timeline-dot {
    position: absolute;
    top: 18px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9acd66, #5a8a2d);
    border: 3px solid #fff;
    box-shadow: 0 0 0 4px #9acd66;
    z-index: 2;
    transition: all 0.3s ease;
}

.about-timeline-item:hover .about-timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px #fff, 0 0 0 7px #5a8a2d, 0 0 20px rgba(154,205,102,0.4);
}

.about-timeline-item.left .about-timeline-dot {
    right: -9px;
}

.about-timeline-item.right .about-timeline-dot {
    left: -9px;
}

.about-timeline-content {
    background: #fff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    border: 1px solid #e8efe8;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(107,158,58,0.12);
    border-color: #c2dac8;
}

.about-timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, #5a8a2d, #9acd66);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    box-shadow: 0 3px 10px rgba(107,158,58,0.2);
}

.about-timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #4d8228;
    margin: 0 0 8px;
}

.about-timeline-content p {
    font-size: 14.5px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ---- TEAM ---- */
.about-team {
    padding: 100px 0;
    background: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle radial glow */
.about-team::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(154,205,102,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.about-team-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-team-text .about-section-title {
    margin-bottom: 16px;
}

.about-team-desc {
    color: #555;
    font-size: 15.5px;
    line-height: 1.9;
    margin: 0 0 30px;
}

.about-team-btn {
    display: inline-block;
    background: linear-gradient(135deg, #5a8a2d, #9acd66);
    color: #fff;
    padding: 16px 36px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 6px 24px rgba(107,158,58,0.3);
    position: relative;
    overflow: hidden;
}

.about-team-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.about-team-btn:hover::after {
    transform: translateX(100%);
}

.about-team-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(107,158,58,0.4);
    color: #fff;
}

.about-team-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
    transition: transform 0.5s ease;
}

.about-team-image:hover img {
    transform: scale(1.02);
}

/* ---- CTA ---- */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0faf3 0%, #d8f3dc 50%, #e8f5e9 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative icons */
.about-cta::before {
    content: '🌱';
    position: absolute;
    font-size: 150px;
    opacity: 0.04;
    bottom: -30px;
    left: -30px;
    pointer-events: none;
}

.about-cta::after {
    content: '';
    position: absolute;
    font-size: 120px;
    opacity: 0.04;
    top: -20px;
    right: -20px;
    pointer-events: none;
}

.about-cta-inner {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-cta-inner h2 {
    font-family: var(--bg-font, 'Be Vietnam Pro', sans-serif);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    background: linear-gradient(135deg, #4d8228, #5a8a2d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 14px;
}

.about-cta-inner p {
    color: #555;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 35px;
}

.about-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.about-cta-btn.primary {
    background: linear-gradient(135deg, #5a8a2d, #7bb83e);
    color: #fff;
    box-shadow: 0 6px 24px rgba(107,158,58,0.3);
}

.about-cta-btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.about-cta-btn.primary:hover::before {
    left: 100%;
}

.about-cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(107,158,58,0.4);
    color: #fff;
}

.about-cta-btn.secondary {
    background: rgba(255,255,255,0.7);
    color: #5a8a2d;
    border: 2px solid #5a8a2d;
    backdrop-filter: blur(4px);
}

.about-cta-btn.secondary:hover {
    background: #5a8a2d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(107,158,58,0.25);
}

/* ---- KEYFRAMES ---- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .about-hero { min-height: 400px; }
    .about-hero-content { padding: 80px 20px 60px; }
    .about-story-grid,
    .about-team-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-story-badge { right: 10px; bottom: -15px; }
    .about-mv-grid { grid-template-columns: 1fr; }
    .about-values-grid { grid-template-columns: repeat(2, 1fr); }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .about-stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
    .about-hero { min-height: 350px; background-attachment: scroll; }
    .about-hero-content { padding: 60px 16px; }
    .about-hero-title { font-size: 30px; }
    .about-section-title { font-size: 28px; }
    .about-timeline::before { left: 20px; }
    .about-timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding: 10px 10px 25px 55px !important; }
    .about-timeline-dot { left: 12px !important; right: auto !important; }
    .about-stat-item::after { display: none; }
    .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .about-hero-title { font-size: 26px; }
    .about-hero-subtitle { font-size: 15px; }
    .about-section-title { font-size: 24px; }
    .about-values-grid { grid-template-columns: 1fr; }
    .about-stats-grid { gap: 20px; }
    .about-stat-number { font-size: 32px; }
    .about-cta-actions { flex-direction: column; align-items: center; }
    .about-mv-card { padding: 30px 24px; }
}
