﻿/* ============================================
   ABOUT PAGE STYLES
   assets/css/about.css
   ============================================ */

/* Global: chặn scroll ngang */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    box-sizing: border-box;
}

/* ---- Utility spacing ---- */
.sec_gap       { padding: 60px 0; }
.mb_20         { margin-bottom: 20px !important; }
.mb_30         { margin-bottom: 30px !important; }
.mb_40         { margin-bottom: 40px !important; }
.mb_55         { margin-bottom: 30px !important; }
.mb_0          { margin-bottom: 0 !important; }
.mt_7          { margin-top: 7px !important; }

/* ---- Typography helpers ---- */
.f_600         { font-weight: 600; }
.f_500         { font-weight: 500; }
.f_400         { font-weight: 400; }
.f_300         { font-weight: 300; }
.f_size_32     { font-size: 32px; }
.f_size_20     { font-size: 20px; }
.f_size_18     { font-size: 18px; }
.title_color   { color: #1d2746; }
.color_w       { color: #fff; }

/* ---- Decorative line under headings ---- */
.title_br {
    display: block;
    width: 50px;
    height: 3px;
    background: #3363DD;
    margin: 12px 0 20px;
}
.title_br.ml-0 { margin-left: 0; }

/* ============================================
   SECTION 1 – About Our Industry
   ============================================ */
.about_area .about_info {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about_area .about_img {
    width: 460px;
    max-width: 100%;
    flex-shrink: 0;
}

.about_area .about_img img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover;
    display: block;
}

.about_area .about_text {
    flex: 1;
}

.about_area .about_text h3 {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.about_area .about_text p {
    color: #666;
    line-height: 1.8;
}

/* Know more / btn_yellow - PILL SHAPE */
.read_more.btn_yellow {
    display: inline-block;
    padding: 14px 40px;
    background: #3363DD;
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.read_more.btn_yellow:hover {
    background: #1530A0;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 99, 221, 0.4);
}

/* ============================================
   SECTION 2 – Our Mission (YELLOW RIGHT SIDE)
   ============================================ */
.mission_area {
    display: flex;
    min-height: 600px;
    overflow: hidden;
    max-width: 100%;
}

.mission_area .mission_left_img {
    width: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.mission_area .mission_left_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.mission_area .mision_right {
    width: 50%;
    background-color: #3363DD; /* YELLOW background */
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    padding: 60px 70px;
    position: relative;
    display: flex;
    align-items: center;
}

/* Light overlay on bg image to blend with yellow */
.mission_area .mision_right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(51, 99, 221, 0.85); /* yellow overlay */
    z-index: 0;
}

.mission_area .mission_content {
    position: relative;
    z-index: 1;
}

.mission_area .mission_content h5 {
    color: #ffffff;
}

.mission_area .mission_content .title_br {
    background: rgba(255,255,255,0.5);
}

.mission_area .mission_content p {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

/* Mission icons - HORIZONTAL ROW */
.mission_icons_row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    margin-top: 30px;
}

.mission_icon_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mission_icon_circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.mission_icon_circle i {
    font-size: 26px;
    color: #ffffff;
}

.mission_icon_item h4 {
    color: #ffffff;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.mission_icon_divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.3);
}

/* ============================================
   SECTION 3 – Our Workers (Team) — đồng bộ với teams.css
   ============================================ */
.team_area .section_title {
    text-align: center;
}

.team_area .section_title .title_br {
    margin: 12px auto 20px;
}

.team_member {
    margin-bottom: 30px;
    cursor: pointer;
}

.team_img {
    position: relative;
    overflow: hidden;
    /* Tỉ lệ cố định 4:5 — tất cả ảnh cùng chiều cao */
    aspect-ratio: 4 / 5;
    background: #e8ecf5;
}

.team_img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

/* Placeholder khi chưa có ảnh */
.team_img_placeholder {
    width: 100%;
    height: 100%;
    background: #e8ecf5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team_img_placeholder .fa {
    font-size: 60px;
    color: #b0bcd8;
}

.team_member:hover .team_img img {
    transform: scale(1.06);
}

/* Overlay tối giống teams.css */
.team_img .overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.55);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.team_member:hover .team_img .overlay {
    opacity: 1;
}

/* Social icons — slide up từ dưới, border trắng giống teams.css */
.team_img .social_icon {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 2;
}

.team_member:hover .team_img .social_icon {
    opacity: 1;
    transform: translateY(0);
}

.team_img .social_icon li {
    display: inline-block;
}

.team_img .social_icon li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.team_img .social_icon li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.team_member h5 {
    font-size: 20px;
    font-weight: 600;
    color: #3363DD;
    margin: 18px 0 5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.team_member p {
    font-size: 14px;
    color: #A8B8D8;
    margin-bottom: 18px;
    transition: color 0.3s ease;
}

.team_member:hover h5 {
    color: #3363DD;
}

/* Know more button centered below team grid */
.team_area .text-center.mt-4 {
    margin-top: 30px !important;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
.scroll-reveal {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-reveal.reveal-left  { transform: translateX(-50px); }
.scroll-reveal.reveal-right { transform: translateX(50px); }
.scroll-reveal.reveal-up    { transform: translateY(40px); }

/* Visible state */
.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Exit state (scroll ra khỏi viewport) */
.scroll-reveal.is-hidden {
    opacity: 0;
}
.scroll-reveal.reveal-left.is-hidden  { transform: translateX(-50px); }
.scroll-reveal.reveal-right.is-hidden { transform: translateX(50px); }
.scroll-reveal.reveal-up.is-hidden    { transform: translateY(40px); }

/* ============================================
   SECTION 4 – Our History
   ============================================ */
.history_area {
    padding: 80px 0;
    background: #f9f9f9;
}

.history_content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #3363DD;
    margin-bottom: 16px;
    display: block;
}

.history_content h5 {
    font-size: 18px;
    font-weight: 500;
    color: #1d2746;
    line-height: 1.6;
    margin-bottom: 20px;
}

.history_content p {
    color: #666;
    line-height: 1.8;
}

/* ============================================
   SECTION 5 – Clients Logo
   Styles moved to assets/css/client.logos.css
   ============================================ */

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    .about_area .about_info {
        flex-direction: column;
        gap: 30px;
    }
    .about_area .about_img {
        width: 100%;
    }
    .mission_area {
        flex-direction: column;
    }
    .mission_area .mission_left_img,
    .mission_area .mision_right {
        width: 100%;
    }
    .mission_area .mission_left_img {
        height: 300px;
    }
    .mission_area .mision_right {
        padding: 50px 30px;
    }
    .mission_icons_row {
        flex-wrap: wrap;
        justify-content: center;
    }
    .mission_icon_divider {
        display: none;
    }
}

@media (max-width: 767px) {
    .sec_gap { padding: 60px 0; }
    .f_size_32 { font-size: 26px; }
    .history_area { padding: 50px 0; }
    .mission_icons_row {
        gap: 30px;
    }
}
