/* Page About Us - Cloned from GK Finechem */
:root {
    --second: #1162D4;
    --third: #014BAA;
    --background: #0F53A1;
    --color-secondary: #4B5563;
}

.py-50 {
    padding-top: 50px;
    padding-bottom: 50px;
}

.py-64 {
    padding-top: 64px;
    padding-bottom: 64px;
}

.py-96 {
    padding-top: 96px;
    padding-bottom: 96px;
}

@media (min-width: 768px) {
    .py-md-64 {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    .py-md-66 {
        padding-top: 66px !important;
        padding-bottom: 66px !important;
    }

    .py-md-96 {
        padding-top: 96px !important;
        padding-bottom: 96px !important;
    }

    .pt-md-96 {
        padding-top: 96px !important;
    }

    .pb-md-66 {
        padding-bottom: 66px !important;
    }

    .pb-md-96 {
        padding-bottom: 96px !important;
    }
}

.bg-highlight-1 {
    background-color: var(--background);
}

.bg-second {
    background-color: var(--second);
}

.color-highlight {
    color: var(--color-hightlight) !important;
}

.color-main {
    color: var(--color-main) !important;
}

.color-secondary {
    color: #4B5563 !important;
}

.color-third {
    color: var(--third) !important;
}

.rounded-8 {
    border-radius: 8px !important;
}

.object-cover {
    object-fit: cover !important;
}

.object-scale {
    object-fit: scale-down !important;
}

.ratio-16-9 {
    position: relative;
    width: 100%;
}

.pt-0_40 {
    padding-top: 40%;
}

.pt-0_40>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Block 1: Introduce Title */
.introduce-title {
    font-weight: 800;
    font-size: 48px;
    line-height: 1.3;
    letter-spacing: -3%;
    color: var(--white);
    margin-bottom: 24px;
}

.introduce-des {
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    color: var(--white);
}

body {
    overflow-x: hidden;
}

/* Block 2: Introduce Cards / Slider (8wvp6tc) */
[nh-block="8wvp6tc"] {
    overflow-x: clip;
}

@media (min-width: 992px) {
    [nh-block="8wvp6tc"] .row.mx-n5 {
        margin-left: -20px !important;
        margin-right: -20px !important;
    }

    [nh-block="8wvp6tc"] .col-lg-6.px-5 {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

@media (max-width: 991px) {
    [nh-block="8wvp6tc"] .row.mx-n5 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    [nh-block="8wvp6tc"] .col-lg-6.px-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.intro-image {
    position: relative;
    max-width: 520px;
    width: 100%;
    margin-right: auto;
}

.intro-image .swiper {
    width: 100%;
    border-radius: 16px;
    overflow: visible;
}

.intro-image .swiper-slide {
    border-radius: 16px;
    overflow: hidden;
    height: 600px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-image .swiper-slide img {
    height: 100%;
    width: 100%;
    object-fit: cover !important;
}

.intro-image::before {
    position: absolute;
    inset: 0;
    transform: rotateZ(4deg);
    z-index: -1;
    background: #0F2B5C33;
    border-radius: 16px;
}

.intro-image-des {
    position: absolute;
    left: 26px;
    bottom: 0;
    padding: 24px 30px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    z-index: 10;
    transform: translateY(35%);
    width: max-content;
    background: #014BAA;
    border: 1px solid #F8F8F8;
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1);
    max-width: calc(100% - 52px);
    color: var(--white);
}

.intro-image-des h3 {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: -1%;
    color: var(--white);
    margin-bottom: 4px;
}

.intro-image-des div {
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -1%;
    color: rgba(255, 255, 255, 0.95);
}

.intro-card {
    padding-left: 24px;
}

.intro-box {
    position: relative;
    padding-left: 16px;
}

.intro-box .title-section {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
}

.intro-box .des-section {
    font-size: 18px;
    line-height: 1.7;
    color: #4B5563;
}

@media (min-width: 1200px) {
    .intro-image {
        max-width: 500px;
    }

    .intro-card {
        padding-left: 40px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .intro-image {
        max-width: 400px;
    }

    .intro-image .swiper-slide {
        height: 500px;
    }

    .intro-card {
        padding-left: 20px;
    }

    .intro-image-des h3 {
        font-size: 28px;
    }

    .intro-image-des div {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .intro-image {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

    .intro-image .swiper-slide {
        height: 480px;
    }

    .intro-card {
        padding-left: 0;
    }
}

@media (max-width: 575px) {
    .intro-image {
        max-width: calc(100% - 40px);
        width: 320px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
    }

    .intro-image .swiper-slide {
        height: 400px;
    }
}

.intro-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    background-color: var(--color-hightlight);
}

.des-short-section {
    font-size: 18px;
    color: #4B5563;
}

.des-short-section p {
    margin-bottom: 16px;
}

.des-short-section p i {
    font-size: 20px;
    color: var(--second);
}

/* Block 3: Su Menh */
.intro-sec3 {
    padding: 96px 0 240px;
    position: relative;
    background-position: bottom;
    background-repeat: no-repeat;
    color: var(--white);
}

.intro-sec3 .title-section {
    color: var(--white);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 2rem !important;
}

.intro-sec3 .des-section {
    color: var(--white);
    font-size: 20px;
    line-height: 1.6;
}

.icon_quote {
    font-size: 65px;
    color: var(--color-hightlight);
}

/* Block 4: Highlight */
.section-intro-highlight {
    position: relative;
    background-color: #29477F;
    color: var(--white);
}

.section-intro-highlight .title-section {
    color: var(--white);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-intro-highlight .des-section {
    color: rgba(255, 255, 255, 0.85);
    font-size: 18px;
}

.icon_sponge {
    position: absolute;
    left: 6%;
    top: 8%;
    opacity: .5;
}

.intro-hl-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 20px 18px;
}

.intro-hl-item .slide-title {
    margin-bottom: 1.5rem;
    font-size: 20px;
    font-weight: 700;
    color: var(--white) !important;
    background: transparent !important;
}

.intro-hl-icon {
    background-color: var(--white);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-shadow: 1px 1px 1.5px 0px rgba(0, 0, 0, 0.25) inset;
    width: 112px;
    aspect-ratio: 1;
    max-width: 100%;
    margin: 0 auto 20px;
}

.intro-hl-icon img {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
}

/* Block 5: Gia Tri Cot Loi Grid */
.section-giatri .title-section {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-giatri .des-section {
    font-size: 18px;
    line-height: 1.6;
}

.giatri-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: auto;
    gap: 24px;
}

.giatri-cell {
    grid-column: span 2;
    min-width: 0;
    will-change: transform;
}

.giatri-cell:first-child {
    order: -1;
}

.giatri-cell:last-child.is-hovered {
    order: -1;
}

.giatri-item {
    background: #fff;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.1);
    padding: 24px;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.giatri-item img {
    min-width: 80px;
    width: 80px;
    object-fit: contain;
    max-width: 100%;
    transition: filter 0.3s ease;
}

.giatri-item .slide-title {
    background: transparent !important;
}

.slide-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: 3.2em;
    transition: max-height 0.3s ease, opacity 0.3s ease, color 0.3s ease;
    opacity: 0.95;
    font-size: 18px;
    line-height: 1.6;
}

.giatri-cell.is-hovered {
    grid-row: span 2;
}

.giatri-cell.is-hovered .giatri-item {
    background-color: #00172F;
    color: var(--white);
}

.giatri-cell.is-hovered .slide-title,
.giatri-cell.is-hovered .color-second,
.giatri-cell.is-hovered .color-third {
    color: var(--white) !important;
}

.giatri-cell.is-hovered .slide-description {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
    max-height: 500px;
    opacity: 1;
    color: var(--white) !important;
}

.giatri-cell.is-hovered .giatri-item img {
    filter: brightness(0) invert(1);
}

.giatri-cell:nth-child(1).is-hovered+div+div+.giatri-cell:nth-child(4),
.giatri-cell:nth-child(2).is-hovered+div+.giatri-cell:nth-child(4),
.giatri-cell:nth-child(3).is-hovered+.giatri-cell:nth-child(4),
.giatri-cell:nth-child(4).is-hovered {
    grid-column: span 2 !important;
}

.giatri-cell:nth-child(1).is-hovered+div+div+div+.giatri-cell:nth-child(5),
.giatri-cell:nth-child(2).is-hovered+div+div+.giatri-cell:nth-child(5),
.giatri-cell:nth-child(3).is-hovered+div+.giatri-cell:nth-child(5),
.giatri-cell:nth-child(4).is-hovered+.giatri-cell:nth-child(5),
.giatri-cell:nth-child(5).is-hovered {
    grid-column: span 2 !important;
}

.giatri-cell:nth-child(4).is-hovered {
    order: -1;
}

.giatri-grid:has(.giatri-cell:nth-child(5).is-hovered) .giatri-cell:nth-child(4) {
    grid-column: span 2 !important;
}

.giatri-grid:has(.giatri-cell:nth-child(4).is-hovered) .giatri-cell:nth-child(1) {
    order: 1;
}

@media (min-width: 992px) {
    .giatri-cell:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .giatri-cell:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .giatri-grid:has(.giatri-cell:nth-child(5).is-hovered) .giatri-cell:nth-child(5) {
        grid-column: 3 / span 2 !important;
        grid-row: 1 / span 2;
    }

    .giatri-grid:has(.giatri-cell:nth-child(5).is-hovered) .giatri-cell:nth-child(4) {
        grid-column: 1 / span 2 !important;
        grid-row: 2;
    }
}

/* Block 6: Partner Brands */
.section-partner {
    background-size: cover;
    background-position: center;
    position: relative;
    background-position: center 57%;
}

.section-partner::before {
    content: "";
    background: linear-gradient(0deg, #F4F9FF -0.13%, rgba(236, 244, 254, 0.8) 51.31%, #F4F9FF 99.86%);
    position: absolute;
    inset: 0;
}

.advantage-header {
    position: relative;
    z-index: 9;
    margin-bottom: 3rem !important;
}

.section-partner .title-section {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.sub-title-section {
    text-transform: uppercase;
    color: var(--second);
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.slider-partner .swiper-slide a {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

/* .slider-partner .swiper-slide img {
    max-height: 70px;
    max-width: 85%;
    object-fit: contain;
} */

/* Block 7: Form Contact */
.section-contact {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.bg-trai-form-home {
    padding: 52px;
    color: white;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 52.83%, rgba(0, 0, 0, 0.5) 83.22%);
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    min-height: 480px;
}

.bg-trai-form-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 52.83%, rgba(0, 0, 0, 0.5) 83.22%);
}

.bg-trai-form-home>* {
    position: relative;
    z-index: 2;
}

.bg-trai-form-home .title {
    color: white;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -2%;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.flex-info-web-section {
    display: flex;
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    align-items: center;
    color: white;
}

.flex-info-web-section>span {
    font-size: 18px;
    width: 32px;
    height: 32px;
    min-width: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--black);
    margin-right: 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.border-form-contact {
    padding: 64px;
}

.border-form-contact .form-control {
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    background: #F9FAFB;
    padding: 14px 16px;
    min-height: 50px;
    font-size: 15px;
    color: #64748B;
}

.border-form-contact .form-control:focus {
    background: #fff;
    border-color: var(--second);
    box-shadow: 0 0 0 3px rgba(17, 98, 212, 0.15);
}

.border-form-contact .label_input {
    font-weight: 600;
    font-size: 15px;
    color: #1F2937;
}

.border-form-contact .form-group {
    margin-bottom: 1.5rem;
}

.btn-submit-form {
    background-color: #00172F;
    color: white;
    padding: 10px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit-form:hover {
    background-color: var(--color-hightlight);
    color: white;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .giatri-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: row dense;
        gap: 16px;
    }

    .giatri-cell,
    .giatri-cell:first-child,
    .giatri-cell:nth-child(4),
    .giatri-cell:nth-child(5) {
        grid-column: span 1 !important;
        order: initial !important;
    }

    .giatri-cell.is-hovered {
        grid-column: span 1 !important;
        grid-row: span 2 !important;
    }

    .giatri-cell:last-child.is-hovered,
    .giatri-cell:nth-child(4).is-hovered,
    .giatri-grid:has(.giatri-cell:nth-child(4).is-hovered) .giatri-cell:nth-child(1) {
        order: initial !important;
    }

    .giatri-cell:nth-child(1).is-hovered+div+div+.giatri-cell:nth-child(4),
    .giatri-cell:nth-child(2).is-hovered+div+.giatri-cell:nth-child(4),
    .giatri-cell:nth-child(3).is-hovered+.giatri-cell:nth-child(4),
    .giatri-cell:nth-child(4).is-hovered,
    .giatri-cell:nth-child(1).is-hovered+div+div+div+.giatri-cell:nth-child(5),
    .giatri-cell:nth-child(2).is-hovered+div+div+.giatri-cell:nth-child(5),
    .giatri-cell:nth-child(3).is-hovered+div+.giatri-cell:nth-child(5),
    .giatri-cell:nth-child(4).is-hovered+.giatri-cell:nth-child(5),
    .giatri-cell:nth-child(5).is-hovered,
    .giatri-grid:has(.giatri-cell:nth-child(5).is-hovered) .giatri-cell:nth-child(4) {
        grid-column: span 1 !important;
        grid-row: auto !important;
    }

    .giatri-cell:nth-child(4).is-hovered,
    .giatri-cell:nth-child(5).is-hovered {
        grid-row: span 2 !important;
    }

    .giatri-item {
        padding: 18px;
    }

    .giatri-item img {
        width: 64px;
        min-width: 64px;
    }

    .intro-image-des {
        position: absolute;
        left: 15px;
        bottom: 0;
        transform: translateY(30%);
        width: max-content;
        max-width: calc(100% - 30px);
        padding: 16px 20px;
    }

    .intro-image-des h3 {
        font-size: 24px;
        margin-bottom: 2px;
    }

    .intro-image-des div {
        font-size: 15px;
    }

    .border-form-contact {
        padding: 32px 24px;
    }

    .bg-trai-form-home {
        padding: 32px 24px;
        min-height: 380px;
    }

    .introduce-title {
        font-size: 32px;
    }

    .introduce-des {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .intro-image-des {
        position: relative;
        left: 0px;
        bottom: 0;
        transform: translateY(30%);
        width: max-content;
        max-width: calc(100% - 20px);
        padding: 12px 16px;
    }

    .intro-image-des h3 {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .intro-image-des div {
        font-size: 14px;
    }

    .giatri-grid {
        grid-template-columns: 1fr;
    }

    .introduce-title {
        font-size: 26px;
    }

    .introduce-des {
        font-size: 16px;
    }

    .intro-sec3 {
        padding: 50px 0 80px;
    }

    .intro-sec3 .title-section {
        font-size: 28px;
    }

    .intro-sec3 .des-section {
        font-size: 16px;
    }
}