/**
 * ABOUT PAGE CSS - Sàn Hội Sở
 * Reland Theme Compatible
 */

/* ==========================================================================
   1. OVERVIEW — Image + Mission/Vision
   ========================================================================== */
.abt-overview {
    background: #fff;
}

/* Row stretch: make both cols equal height */
.abt-overview .row {
    align-items: stretch !important;
}

.abt-overview .col-lg-6:first-child {
    display: flex;
    flex-direction: column;
}

.abt-overview-img {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    flex: 1;
    min-height: 260px; /* mobile fallback */
}

.abt-overview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ---- Credential badge ---- */
.abt-overview-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    border-left: 3px solid var(--dxmt-accent, #e8811c);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 260px;
}

.abt-badge-logo {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.abt-badge-logo img {
    height: 28px;
    width: auto;
    display: block;
}

.abt-badge-divider {
    width: 1px;
    height: 36px;
    background: rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.abt-badge-info {
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.abt-badge-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dxmt-accent, #e8811c);
    line-height: 1.2;
    font-family: var(--tg-body-font-family, 'Inter', sans-serif);
}

.abt-badge-name {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #1e2a3a;
    line-height: 1.3;
    font-family: var(--tg-heading-font-family, 'Montserrat', sans-serif);
    white-space: nowrap;
}

.abt-lead {
    font-size: 16px;
    line-height: 1.85;
    color: #555;
    margin-bottom: 30px;
}

/* Mission items */
.abt-mission-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.abt-mission-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.abt-mission-item:hover {
    background: #f0f4f9;
    transform: translateX(5px);
}

.abt-mission-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: var(--tg-primary-color, #1a5091);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.abt-mission-text h4 {
    font-family: var(--tg-heading-font-family, 'Montserrat', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 4px;
    text-transform: none;
}

.abt-mission-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ==========================================================================
   2. STATS — Counter bar
   ========================================================================== */
.abt-stats {
    background: linear-gradient(135deg, #0d3868 0%, #1a5091 50%, #1e6cb5 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.abt-stats::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.abt-stats-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.abt-stat-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.abt-stat-icon {
    font-size: 28px;
    color: var(--dxmt-accent, #e8811c);
    margin-bottom: 12px;
}

.abt-stat-number {
    font-family: var(--tg-heading-font-family, 'Montserrat', sans-serif);
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.abt-stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==========================================================================
   3. VALUES — 4 cards
   ========================================================================== */
.abt-values {
    background: var(--tg-secondary-background, #f5f7fa);
}

.abt-value-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 28px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.abt-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(26, 80, 145, 0.1);
    border-bottom-color: var(--tg-primary-color, #1a5091);
}

.abt-value-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5091, #3fa9f5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.abt-value-card:hover .abt-value-icon {
    transform: scale(1.1);
}

.abt-value-card h3 {
    font-family: var(--tg-heading-font-family, 'Montserrat', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 12px;
    text-transform: none;
}

.abt-value-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   4. AWARDS — Timeline
   ========================================================================== */
.abt-awards {
    background: #fff;
}

.abt-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.abt-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--tg-primary-color, #1a5091), var(--dxmt-accent, #e8811c));
    transform: translateX(-50%);
}

.abt-timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}

.abt-tl-left {
    left: 0;
    text-align: right;
    padding-right: 50px;
}

.abt-tl-right {
    left: 50%;
    text-align: left;
    padding-left: 50px;
}

.abt-tl-dot {
    position: absolute;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--tg-primary-color, #1a5091);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--tg-primary-color, #1a5091);
    z-index: 1;
}

.abt-tl-left .abt-tl-dot { right: -8px; }
.abt-tl-right .abt-tl-dot { left: -8px; }

.abt-tl-content {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.abt-tl-content:hover {
    background: #f0f4f9;
    box-shadow: 0 4px 20px rgba(26, 80, 145, 0.08);
}

.abt-tl-year {
    display: inline-block;
    background: var(--tg-primary-color, #1a5091);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.abt-tl-content h4 {
    font-family: var(--tg-heading-font-family, 'Montserrat', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 6px;
    text-transform: none;
}

.abt-tl-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==========================================================================
   5. LEADERS — Team cards
   ========================================================================== */
.abt-leaders {
    background: var(--tg-secondary-background, #f5f7fa);
}

.abt-leader-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-align: center;
}

.abt-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(26, 80, 145, 0.12);
}

.abt-leader-img {
    overflow: hidden;
    height: 300px;
}

.abt-leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.abt-leader-card:hover .abt-leader-img img {
    transform: scale(1.04);
}

.abt-leader-info {
    padding: 24px 20px;
}

.abt-leader-info h3 {
    font-family: var(--tg-heading-font-family, 'Montserrat', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: #1e2a3a;
    margin-bottom: 4px;
    text-transform: none;
}

.abt-leader-pos {
    display: block;
    font-size: 14px;
    color: var(--tg-primary-color, #1a5091);
    font-weight: 500;
    margin-bottom: 12px;
}

.abt-leader-phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #f0f4f9;
    color: var(--tg-primary-color, #1a5091);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.abt-leader-phone:hover {
    background: var(--tg-primary-color, #1a5091);
    color: #fff;
}

/* ==========================================================================
   6. CTA — Contact section
   ========================================================================== */
.abt-cta {
    padding: 80px 0;
    background: #fff;
}

.abt-cta-inner {
    background: linear-gradient(135deg, #0d3868 0%, #1a5091 50%, #1e6cb5 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.abt-cta-inner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.abt-cta-inner h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    text-transform: none;
}

.abt-cta-inner p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.abt-cta-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.abt-cta-actions .btn {
    color: #fff;
}

.abt-cta-actions .btn.transparent-btn {
    border-color: rgba(255,255,255,0.4);
    color: #fff;
}

.abt-cta-actions .btn.transparent-btn:hover {
    background: #fff;
    border-color: #fff;
    color: var(--tg-primary-color, #1a5091);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991.98px) {
    .abt-overview-img {
        min-height: 300px;
    }
    .abt-overview-badge {
        bottom: 16px;
        left: 16px;
    }
    .abt-badge-logo img {
        height: 24px;
    }
    .abt-badge-name {
        font-size: 11px;
    }

    .abt-stat-number {
        font-size: 34px;
    }

    /* Timeline → single column */
    .abt-timeline::before {
        left: 20px;
    }

    .abt-timeline-item {
        width: 100%;
        padding-left: 55px;
        padding-right: 0;
        text-align: left;
    }

    .abt-tl-left {
        text-align: left;
        padding-right: 0;
    }

    .abt-tl-right {
        left: 0;
        padding-left: 55px;
    }

    .abt-tl-left .abt-tl-dot,
    .abt-tl-right .abt-tl-dot {
        left: 12px;
        right: auto;
    }
}

@media (max-width: 767.98px) {
    .abt-overview .row {
        align-items: flex-start !important;
    }
    .abt-overview-img {
        min-height: 260px;
        max-height: 360px;
    }
    .abt-overview-badge {
        bottom: 14px;
        left: 14px;
    }
    .abt-badge-logo {
        padding: 10px 12px;
    }
    .abt-badge-logo img {
        height: 22px;
    }
    .abt-badge-info {
        padding: 10px 12px;
    }
    .abt-badge-divider {
        height: 30px;
    }

    .abt-stat-number {
        font-size: 28px;
    }

    .abt-stat-item {
        min-width: 120px;
    }

    .abt-stat-label {
        font-size: 12px;
    }

    .abt-value-card {
        padding: 25px 20px;
    }

    .abt-cta-inner {
        padding: 40px 24px;
    }

    .abt-cta-inner h2 {
        font-size: 22px;
    }

    .abt-leader-img {
        height: 250px;
    }
}

@media (max-width: 479.98px) {
    .abt-stats-inner {
        flex-direction: column;
        gap: 25px;
    }

    .abt-cta-actions {
        flex-direction: column;
        align-items: center;
    }
}
