.hero {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.hero {
    position: relative;
    width: 100%;
}

.hero .intro-titles {
    background-size: cover;
    background-position: bottom;
    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;
}


/* ================= SERVICES SPLIT BACKGROUND ================= */

.services-split-section {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
}

.services-split-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.services-split-section .container {
    position: relative;
    z-index: 2;
}

.services-split-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;

}

.services-split-subtitle {
    font-size: 1.1rem;
    margin-bottom: 35px;
    line-height: 1.7;
}

.services-split-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    max-width: 480px;
    margin: 0 auto;
}

.services-split-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.services-split-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.services-split-item-title {
    font-size: 1.05rem;
    font-weight: 600;
}

/* === INNOVATING SPLIT SECTION === */
.innovating-section {
    padding: 80px 0;
    color: #000;
}

.innovating-title {
    font-size: 2.4rem;
    font-weight: 700;
}

.innovating-text {
    font-size: 1.2rem;
    line-height: 1.7;
}

.innovating-text p {
    margin: 0 0 14px;
}

.innovating-image {
    max-height: 520px;
    width: auto;
    border-radius: 18px;
}


.online-services {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #fff;
    margin: 20px;
    /* aspect-ratio: 16 / 9; */
    border-radius: 30px;
}

.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;
}

.company-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 3px solid #000;
    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: #000;
    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: #000;
    border: 3px solid #000;
}

.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%;
    }

}

@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;
    }

    .our-purpose .our-purpose-desc div {
        font-size: 1.2rem;
        line-height: 1.4;
        color: #fff;
    }

    .innovating-section {
        padding: 10px 0;
        color: #000;
    }

    .innovating-title {
        font-size: 1.8rem;
    }

    .innovating-text {
        font-size: 1rem;
        line-height: 1.4;
    }

    .online-services {
        padding: 30px 0;
        margin: 10px;
    }

    .online-middle h3 {
        font-size: 1.8rem;
    }

    .online-subtitle-2 {
        font-size: 1rem;
    }

    .about-ahi-locations {
        margin-bottom: 0px;
    }
}



@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .our-purpose .purpose-title {
        font-size: 2.1rem;
    }

    .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;
    }

    .slider-swiper .swiper-slide {
        width: 180px !important;
    }

    .slider-item {
        min-height: 120px;
        padding: 15px;
    }

    .slider-logo-img {
        max-height: 70px;
    }

}

/* ===== MOBILE ===== */
@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;
    }
}