/* ============================================================
   categories.css — Trang Our Services
   ============================================================ */

/* ---- Utilities -------------------------------------------- */
.sec_gap  { padding: 80px 0; }
.mb_55    { margin-bottom: 55px; }
.mt_7     { margin-top: 7px; }

/* ---- Service Area Background ----------------------------- */
.service_area {
    background: #f5f5f5;
}

/* ---- Section Title ---------------------------------------- */
.section_title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0;
}
.section_title .title_br {
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3363DD;
    margin: 14px 0 18px;
}
.section_title p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    max-width: 680px;
    margin: 0;
}

/* ---- Service Grid Item ------------------------------------ */
.service_item {
    margin-bottom: 30px;
}
.service_img {
    position: relative;
    overflow: hidden;
    margin-bottom: 18px;
}
.service_img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.service_item:hover .service_img img {
    transform: scale(1.05);
}
.service_img .hover_content {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service_item:hover .hover_content {
    opacity: 1;
}
.hover_content .read_more {
    display: inline-block;
    padding: 10px 24px;
    background-color: #3363DD;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}
.hover_content .read_more:hover {
    background-color: #1530A0;
}
.service_item a {
    text-decoration: none;
}
.service_item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
    transition: color 0.2s ease;
}
.service_item a:hover h3 {
    color: #3363DD;
}
.service_item .bottom_br {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #3363DD;
    margin-top: 6px;
}

/* ============================================================
   QUALITY SERVICE SECTION (lt_news_area)
   - Full-width 2 cột layout (container-fluid, no padding)
   - Cột trái: background image kéo full + overlay tối + nội dung
   - Cột phải: text content
   - Padding nội dung căn thẳng với .container phía trên (15px)
   ============================================================ */

.lt_news_area {
    background-color: #ffffff;
    padding: 0;
    margin: 0;
}

/* ---- Cột TRÁI -------------------------------------------- */
.lt_news_left {
    position: relative;
    /* Bootstrap col-lg-6 equivalent — 50% width */
    width: 50%;
    flex: 0 0 50%;
    background-color: #2a2a2a;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 0;
}

.lt_news_left .bg_img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    display: block;
    z-index: 0;
}

.lt_news_content {
    position: relative;
    z-index: 1;
    width: 100%;
    /*
     * Căn lề trái thẳng với .container:
     * - .container ở ≥1200px: max-width 1140px → lề = (100vw - 1140px) / 2 + 15px gutter
     * - Dùng max() để không bao giờ nhỏ hơn 15px (khi viewport < 1200px)
     */
    padding: 60px 40px 60px max(15px, calc((100vw - 1140px) / 2 + 15px));
}

.lt_news_content h2 {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 14px;
    line-height: 1.3;
}

.lt_news_content .title_br {
    display: block;
    width: 60px;
    height: 3px;
    background-color: #3363DD;
    margin: 14px 0 18px;
}

.lt_news_content p {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    margin: 0 0 35px;
    max-width: 480px;
}

.lt_news_content .read_more {
    display: inline-block;
    padding: 14px 38px;
    background-color: #3363DD;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

.lt_news_content .read_more:hover {
    background-color: #1530A0;
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ---- Cột PHẢI -------------------------------------------- */
.lt_news_right {
    width: 50%;
    flex: 0 0 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0;
}

.lt_news_inner {
    width: 100%;
    /*
     * Căn lề phải thẳng với .container:
     * - .container ở ≥1200px: max-width 1140px → lề = (100vw - 1140px) / 2 + 15px gutter
     * - Dùng max() để không bao giờ nhỏ hơn 15px
     */
    padding: 60px max(15px, calc((100vw - 1140px) / 2 + 15px)) 60px 40px;
}

.lt_news_inner h4 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0 0 24px;
    letter-spacing: -0.3px;
}

.lt_news_inner p {
    color: #555555;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    margin: 0 0 18px;
    max-width: 540px;
}

.lt_news_inner p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .service_img img {
        height: 190px;
    }

    /* Stack dọc trên tablet / mobile */
    .lt_news_left {
        width: 100%;
        flex: 0 0 100%;
        min-height: 400px;
    }

    .lt_news_right {
        width: 100%;
        flex: 0 0 100%;
    }

    .lt_news_content {
        padding: 50px 30px;
    }

    .lt_news_inner {
        padding: 50px 30px;
    }
}

@media (max-width: 767px) {
    .sec_gap {
        padding: 50px 0;
    }
    .section_title h2 {
        font-size: 26px;
    }
    .service_img img {
        height: 200px;
    }
    .lt_news_content h2 {
        font-size: 26px;
    }
    .lt_news_content,
    .lt_news_inner {
        padding: 40px 20px;
    }
}
