.g-6 {
    --bs-gutter-x: 4rem;
    --bs-gutter-y: 4rem;
}

.hero {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.hero {
    position: relative;
    width: 100%;
}

.hero .intro-titles {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    /* height: 100vh; */
    height: 650px;
    aspect-ratio: 16/9;
    min-height: 650px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    color: #fff;
    padding-bottom: 250px;
    background-color: #272154;
}


.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    padding: 0 80px;
    text-align: left;
    padding-right: 120px;
}


.hero-title {
    font-size: 4.7rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-top: 15px;
}

.hero-title-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin: 0px 0 30px 0px;
}



/* === OUR PURPOSE SECTION === */
.our-purpose {
    position: relative;
    color: white;
    padding: 100px 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-top: -1px;
}

.our-purpose .purpose-title {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.our-purpose .highlight-word {
    font-weight: 700;
    position: relative;
}

.our-purpose .purpose-arrow {
    position: absolute;
    top: -20px;
    right: -35px;
    width: 35px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.our-purpose .purpose-line {
    position: absolute;
    bottom: -2px;
    right: 0;
    height: 2px;
    width: 0;
    background-color: #ff3b3b;
    transform-origin: right center;
    transition: width 0.5s ease;
}

.our-purpose.active .purpose-arrow {
    opacity: 1;
    transform: translateY(0);
}

.our-purpose.active .purpose-line {
    width: 45%;
}

.our-purpose.active .purpose-desc .color-change {
    background: linear-gradient(90deg, #1e90ff 0%, #ff3b3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    background-position: 100% 0%;
    animation: gradientFlow 5s ease forwards;

}

.our-purpose .purpose-desc p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #fff;
}

/* === ABOUT SECTION === */

.about-ahi {
    background-size: contain;
    background-position: top;
    padding: 80px 0;
    background-color: #fff;
    background-repeat: no-repeat;
}

.about-header {
    margin-bottom: 50px;
}

.about-title {
    color: #283583;
    font-size: 3.5rem;
    font-weight: 500;
    /* margin-bottom: 15px; */
}

.about-subtitle {
    color: #642349;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.about-left {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.about-text-left {
    flex-grow: 1;
}

.about-red-line {
    margin-top: auto;
}

.about-red-line img {
    width: 100%;
    margin-top: 30px;
}

.about-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

.about-text-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.about-text-left,
.about-text-right {
    font-size: 1rem;
    line-height: 1.8;
    color: #272154;
    text-align: justify;
}

.about-text-right .about-last-text {
    display: inline-block;
    margin-top: auto;
    color: #283583;
    margin-top: 30px;
}

.about-text-right p:last-child {
    margin-bottom: 0px !important;
}

.about-ahi-locations {
    margin-bottom: 100px;
}

.about-ahi-locations .about-under {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 24px;
    min-height: 600px;
    overflow: visible;
}

.about-ahi-locations .about-locations-card {
    position: absolute;
    right: 6%;
    bottom: -80px;
    width: 520px;
    height: 270px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 28px 32px;
}

.about-ahi-locations .about-locations-info {
    /* max-width: 95%; */
    color: #fff;
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: left;
}

.about-ahi-locations .about-locations-info p {
    margin: 0 0 10px 0;
    text-align: justify;
}

.about-ahi-locations .about-locations-info strong {
    font-weight: 700;
}



.company-logos-section {
    padding-top: 100px;
}

/* === INNOVATING SECTION === */
.innovating-section {
    position: relative;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top;
    padding: 80px 0;
    text-align: center;
    color: #272154;
}

.innovating-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

.innovating-box {
    width: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(183, 199, 219, 0.35);
    background: rgba(39, 33, 84, 0.55);
    display: flex;
    flex-direction: column;
}

.innovating-box-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.innovating-box-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.innovating-box-body {
    padding: 22px 22px 26px;
    text-align: left;
    color: #fff;
    flex: 1;
}

.innovating-box-body .box-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.innovating-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.innovating-desc p {
    margin: 0;
}

.innovating-red-line {
    max-width: 50%;
    height: auto;
    display: block;
}

.one-base-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}

.one-base-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    text-align: center;
}

.one-base-subtitle p {
    margin: 0 0 12px;
}

.one-base-logo {
    max-height: 90px;
    width: auto;
}

.online-services {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    margin: 20px;
    border-radius: 30px;
}

.online-title-3 {
    font-size: 2.8rem;
    font-weight: 700;
}

.online-middle h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.online-subtitle-2 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    margin-top: 40px;
    text-align: justify;
    line-height: 1.6;

}

.service-box {
    background: rgba(39, 33, 84, 0.85);
    border: 1px solid #B7C7DB;
    border-radius: 12px;

    padding: 20px 18px;
    min-height: 180px;
    width: 100%;
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    text-align: center;
    gap: 12px;
}

.service-box img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    margin-top: 5px;
}

.service-box .service-title,
.service-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

.our-purpose .our-purpose-desc div {
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    text-align: justify !important;
    line-height: 1.7;
    padding: 25px;
}


.viability-section {
    position: relative;
    /* padding: 120px 0; */
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    color: #fff;
    height: 800px;
    align-content: center;
    margin: 18px;
    border-radius: 30px;

}


.viability-title {
    font-size: 2.8rem;
    font-weight: 700;
    padding: 10px 0px;
}


.viability-description {
    font-size: 1.2rem;
    line-height: 1.7;
    padding: 20px 0px;
    text-align: justify;
}



.company-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 3px solid #FF3E18;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    background: transparent;
}

.company-btn img {
    width: 35px;
    height: auto;
    transition: filter 0.3s ease;
}

.company-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #FF3E18;
    z-index: 0;
    transition: width 0.4s ease;
}

.company-btn span,
.company-btn img {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 400;
}

.company-btn:hover::before {
    width: 100%;
}

.company-btn {
    color: #FF3E18;
    border: 3px solid #FF3E18;
}

.company-btn:hover {
    color: #fff;
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1200px) {

    .about-ahi-locations .about-locations-card {
        right: 4%;
        width: 480px;
        height: 300px;
    }

    .about-ahi-locations .about-locations-info {
        max-width: 60%;
    }
}


@media (max-width: 992px) {
    .hero .intro-titles {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-bottom: 0;
        min-height: 500px;
        aspect-ratio: 16 / 9;
    }


    .hero h2 {
        font-size: 3rem;
        text-align: center;
    }

    .hero h3 {
        font-size: 2.1rem;
        text-align: center;

    }

    .our-purpose .purpose-title {
        font-size: 2.2rem;
    }

    .our-purpose .purpose-arrow {
        width: 28px;
        top: -18px;
        right: -25px;
    }

    .our-purpose .purpose-line {
        bottom: -4px;
    }



    .about-ahi-locations .about-under {
        min-height: 380px;
    }

    .about-ahi-locations .about-locations-card {
        right: 50%;
        transform: translateX(50%);
        bottom: -70px;
        width: 420px;
        height: 280px;
    }

    .about-ahi-locations .about-locations-info {
        max-width: 70%;
    }

    .innovating-box {
        background: none !important;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        background-color: #fff;
        min-height: auto !important;
        height: auto !important;
        width: 100%;
    }


    .innovating-box {
        width: 100%;
        max-width: 520px;
    }

    .innovating-grid {
        gap: 22px;
    }

    .innovating-desc {
        font-size: 1rem;
        line-height: 1.6;
        color: #272154;
    }

    .innovating-box-body {
        color: #272154;
    }
}

@media (max-width: 768px) {
    .hero .intro-titles {
        height: auto;
    }

    .our-purpose {
        padding: 70px 0;
    }

    .about-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .about-subtitle {
        font-size: 1.2rem;
        text-align: center;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
        padding: 0px 10px;
    }

    .about-red-line img {
        margin-left: auto;
        margin-right: auto;
    }

    .innovating-header {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #f7f8fc;
        border: none;
        padding: 14px 12px;
        cursor: pointer;
        transition: background 0.3s ease;
        height: 110px;
    }

    .our-purpose .our-purpose-desc div {
        font-size: 1.2rem;
        line-height: 1.4;
        color: #fff;
    }


    .online-services {
        padding: 30px 0;
        margin: 10px;
    }

    .online-middle h3,
    .one-base-title,
    .online-title-3 {
        font-size: 1.8rem;
    }

    .online-subtitle-2,
    .one-base-subtitle {
        font-size: 1rem;
    }

    .about-ahi-locations {
        margin-bottom: 0px;
    }

    .innovating-red-line {
        height: 3px;
    }


    .viability-section {
        position: relative;
        padding: 45px 10px;
        background-size: cover;
        background-position: inherit;
        background-repeat: no-repeat;
        color: #fff;
        height: auto;
        align-content: center;
        margin: 18px;
        border-radius: 30px;
    }

    .viability-description {
        font-size: 1rem;
        line-height: 1.7;
        padding: 20px 0px;
        text-align: justify;
    }

    .viability-title {
        font-size: 2.1rem;
        padding: 0;
    }
}



@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .our-purpose .purpose-title {
        font-size: 1.4rem;
    }

    .our-purpose .purpose-desc p {
        font-size: 1.1rem;
        line-height: 1.3;
        color: #fff;
    }

    .our-purpose .purpose-arrow {
        width: 22px;
        top: -15px;
        right: -20px;
    }

    .our-purpose .purpose-line {
        bottom: -3px;
    }


    .about-ahi-locations .about-under {
        background-image: none !important;
        min-height: 0;
        padding: 0;
    }

    .about-ahi-locations .about-locations-card {
        position: relative;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        height: auto;
        margin: 0 auto;
        border-radius: 18px;
        background-size: cover;
        background-position: center;
        padding: 30px 20px;
    }

    .about-ahi-locations .about-locations-info {
        max-width: 100%;
        font-size: 0.95rem;
        color: #fff;
        text-align: left;
    }
}

@media (max-width: 991px) {
    .hero .intro-titles {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-bottom: 0;
        min-height: 500px;
        aspect-ratio: 16 / 9;
    }

    .hero-container {
        padding: 0 20px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.1rem;
    }

    .hero-title-logo {
        max-width: 250px;
        margin-top: 15px;
    }
}

@media (min-width: 992px) {
    .innovating-mobile {
        display: none !important;
    }
}