:root {
    --primary-color: #1976d2;
    --secondary-color: #0d47a1;
    --accent-color: #64b5f6;
    --light-blue: #e3f2fd;
    --text-color: #333;
    --text-light: #666;
    --white: #ffffff;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(25, 118, 210, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* Hero Section */
.hero {
    /* background: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%); */
    /* padding: 120px 0; */
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-image {
    flex: 1;
    position: relative;
    background-image: url("../image/1/banner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.hero-mt {
    padding: 200px 260px 0px;
    color: #16145e;
    font-size: 50px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-md {
    padding: 0px 260px 40px;
    color: #16145e;
    font-size: 24px;
    line-height: 2;
}

.hero-btn {
    margin-left: 260px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    background: linear-gradient(89.32deg, rgba(75, 87, 253, 1) 0.48%, rgba(5, 160, 255, 1) 99.71%);
    border-radius: 10px;
    padding: 6px 24px;
    text-decoration: none;
}

.hero-image-bg {
    background-size: 72px 72px;
    background-repeat: no-repeat;
    background-position: right 0px bottom 0px;
}

.hero-image-bg1 {
    background-image: url("../image/1/026.png");
}

.hero-image-bg2 {
    background-image: url("../image/1/023.png");
}

.hero-image-bg3 {
    background-image: url("../image/1/024.png");
}

.hero-image-bg4 {
    background-image: url("../image/1/025.png");
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-item {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-image-item1 {
    display: flex;
    align-items: center;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    padding: 14px 10px 14px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-image-item1:last-child {
    margin-right: 0;
}

.hero-image-item1>div {
    flex: 1;
}

.hero-image-item1>div>div:first-child {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.hero-image-item1>div>div:last-child {
    font-size: 14px;
    color: #333;
}

.hero-image-item1 .image {
    width: 72px;
    height: 72px;
}

/* AGI Services Images */
.agi-services img {
    max-width: 100%;
    height: auto;
}

/* Core Services */
.core-services {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #101010;
    margin-bottom: 5px;
    position: relative;
}

.section-title2 {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #101010;
    margin-bottom: 5px;
    position: relative;
}

.section-title3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.service-card {
    text-align: center;
    padding: 40px 15px;
    background-color: rgba(248, 251, 255, 1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.service-icon img {
    width: 80px;
    height: 80px;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    padding: 10px 0 40px;
}

.service-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 2;
    text-align: left;
}

/* AGI Services */
.agi-services {
    padding: 80px 0;
    background: #F2F9FF;
}

.agi-header {
    text-align: center;
    margin-bottom: 50px;
}

.agi-title {
    font-size: 40px;
    font-weight: bold;
    color: #101010;
    margin-bottom: 12px;
}

.agi-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

/* Set different background images for each service card */
.agi-services-grid>div:nth-child(1) .agi-service-icon {
    background-image: url('../image/1/005.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right bottom 0px;
}

.agi-services-grid>div:nth-child(2) .agi-service-icon {
    background-image: url('../image/1/004.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right bottom 0px;
}

.agi-services-grid>div:nth-child(3) .agi-service-icon {
    background-image: url('../image/1/003.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right bottom 0px;
}

.agi-services-grid>div:nth-child(4) .agi-service-icon {
    background-image: url('../image/1/002.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right bottom 0px;
}

.agi-services-grid>div:nth-child(5) .agi-service-icon {
    background-image: url('../image/1/001.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right bottom 0px;
}

.agi-service-icon img {
    display: none;
}

.agi-service-card2 {
    position: relative;
    z-index: 1;
    text-align: left;
}

.agi-service-card {
    /* background-color: var(--white); */
    /* border-radius: var(--border-radius); */
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    height: 330px;
    border-radius: 10px;
}

.agi-service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.agi-service-icon {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 0;
    width: 260px;
    height: 330px;
    /* background-color: var(--light-blue); */
    /* border-radius: 50%; */
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    /* margin: 0 auto 16px; */
    /* color: var(--primary-color); */
    font-size: 18px;
}

.agi-item {
    position: relative;
    background-image: url('../image/1/048.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    margin-bottom: 20px;
}

.agi-item img {
    display: none;
}

.agi-item2 {
    position: relative;
    background-image: url('../image/1/006.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    margin-bottom: 20px;
}

.agi-info3 {
    z-index: 999;
    font-size: 40px;
    text-align: right;
    color: #101010;
    padding: 70px 80px 70px;
}

.agi-service-card2 {
    position: relative;
    z-index: 9;
}

.agi-service-icon {
    background-size: 260px 330px;
    background-repeat: no-repeat;
    background-position: left top;
}

.agi-service-icon img {
    display: none;
}

.agi-service-title-ai {
    padding: 40px 80px 0;
    color: #101010;
    z-index: 999;
    font-size: 40px;
}

.agi-info2 {
    font-size: 20px;
    padding: 10px 80px 50px;
}

.agi-service-title {
    margin-top: 30px;
    font-size: 20px;
    font-weight: 600;
    color: #101010;
    margin-bottom: 12px;
    text-align: left;
}

.agi-service-info {
    padding: 4px 20px;
    text-align: left;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #05A0FF;
    background-color: #EFFDFF;
    margin-bottom: 12px;
    border-radius: 4px;
    display: inline;
}

.agi-service-description {
    text-align: left;
    margin-top: 40px;
    font-size: 16px;
    color: #101010;
    line-height: 1.5;
}

/* Smart Experience Library */
.experience-library {
    padding: 80px 0;
}

.library-content {
    display: flex;
    align-items: center;
    gap: 0px;
    background-color: #F2F6FF;
    border-radius: 10px;
}

.library-text {
    flex: 1;
}

.library-description {
    font-size: 20px;
    color: #333;
    line-height: 2;
    margin-bottom: 30px;
    padding-left: 40px;
}

.library-features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    padding: 0;
}

.library-features li {
    font-size: 20px;
    color: #666;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.library-features li:hover {
    color: var(--primary-color);
}

.library-features li.active {
    color: #05A0FF;
    font-weight: 600;
}

.library-features li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #05A0FF;
    border-radius: 1px;
}

.library-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 100px;
}

.library-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Ecosystem Partners */
.ecosystem {
    padding: 80px 0;
    background-color: var(--white);
}

.ecosystem-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #101010;
    margin-bottom: 40px;
}

.partners-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    overflow: hidden;
}

.partners-row {
    display: flex;
    gap: 20px;
    animation-duration: 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.partners-row:first-child {
    animation-name: scrollRight;
}

.partners-row:last-child {
    animation-name: scrollLeft;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0);
    }
}

.partner-logo {
    flex: 0 0 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: var(--box-shadow);
}

.partner-logo img {
    max-height: 48px;
    max-width: 100%;
}

.mobile-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 100px;
    margin: 140px 20px 20px;
}

.core-services-vip{
    padding: 80px 0 0;
}

.vip2{
    display: flex;
    justify-content: center;
}
/* Responsive Design */
@media (max-width: 1400px) {

    .hero-image-item {
        padding-bottom: 30px;
    }

    .hero-image-item1 {
        padding: 14px 10px 14px 30px;
    }

    .hero-image-item1>div>div:first-child {
        text-align: left;
        font-size: 20px;
    }

    .hero-image-item1>div>div:last-child {
        font-size: 14px;
    }

    .hero-image-item1 .image {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .hero-mt {
        padding: 140px 40px 0px;
    }

    .hero-md {
        padding: 0px 40px 40px;
    }

    .hero-btn {
        margin-left: 40px;
    }

    .mobile-banner {
        margin: 100px 20px 20px;
        gap: 50px;
    }

}

@media (max-width: 1200px) {

    .hero-mt {
        padding: 100px 40px 0px;
    }

    .hero-md {
        padding: 0px 40px 40px;
    }

    .hero-image-item1 {
        padding: 14px 10px 14px 30px;
    }

    .mobile-banner {
        margin: 100px 20px 20px;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .agi-services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .service-card {
        padding: 30px 15px;
    }

    .service-title {
        font-size: 18px;
        padding: 8px 0 30px;
    }

    .service-description {
        font-size: 13px;
    }

    .agi-service-title {
        font-size: 18px;
    }

    .agi-service-info {
        font-size: 14px;
    }

    .agi-service-description {
        font-size: 14px;
    }

    .library-features {
        gap: 20px;
        flex-wrap: wrap;
    }

    .library-features li {
        font-size: 16px;
    }

    .library-description {
        font-size: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .library-image {
        padding-left: 0;
    }

    .one-click-description {
        font-size: 24px;
        line-height: 40px;
    }

    .section-title,
    .section-title2,
    .agi-title,
    .ecosystem-title,
    .one-click-title {
        font-size: 32px;
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .agi-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-image-item {
        flex-direction: unset;
        align-items: end;
        gap: 20px;
        padding-bottom: 10px;
    }

    .hero-mt {
        padding: 70px 40px 0px;
    }

    .hero-md {
        padding: 0px 40px 40px;
    }

    .hero-image-item1 {
        padding: 14px 10px 14px 30px;
        align-items: start;
    }

    .mobile-banner {
        margin: 100px 20px 20px;
        gap: 30px;
    }

    .partners-row {
        gap: 15px;
    }

    .partner-logo {
        flex: 0 0 120px;
        height: 70px;
    }

    .partner-logo img {
        max-height: 40px;
    }
}

@media (max-width: 768px) {

    .hero-mt {
        text-align: left;
        font-size: 20px;
        padding: 40px 20px 0px;
    }

    .hero-md {
        text-align: left;
        font-size: 12px;
        padding: 10px 20px 10px;
    }

    .hero-btn {
        margin-left: 20px;
        font-size: 12px;
        padding: 6px 20px;
    }

    .hero-image-item1 {
        padding: 8px 4px 8px 10px;
        align-items: start;
    }

    .mobile-banner {
        margin: 10px 20px 0px;
        gap: 10px;
        padding: 0;
    }

    .hero-image-bg {
        background-size: 28px 28px;
    }

    /* Hero Section Responsive */
    .hero-content {
        gap: 20px;
    }

    .hero-image-item {}


    .hero-image-item1:last-child {
        margin-bottom: 0;
    }

    .hero-image-item1>div {
        margin-right: 0;
        margin-bottom: 0px;
    }

    .hero-image-item1>div>div:first-child {
        font-size: 10px;
        font-weight: 700;
    }

    .hero-image-item1>div>div:last-child {
        font-size: 5px;
        color: #333;
        line-height: 1.4;
    }

    .hero-image-item1 .image {
        width: 28px;
        height: 28px;
        position: absolute;
        right: 0px;
        bottom: 0px;
    }

    /* Hero Image Responsive */
    .hero-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        height: 127pt;
    }

    /* AGI Services Responsive */
    .agi-services-grid {
        grid-template-columns: 1fr;
    }

    .agi-service-card {
        text-align: left;
        background-color: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        position: relative;
        height: 107px;
    }

    .agi-service-icon {
        position: absolute;
        right: -20px;
        bottom: -20px;
        width: 120px;
        height: 120px;
        opacity: 0.1;
        z-index: 0;
    }

    .agi-service-icon img {
        width: 120px;
        height: 120px;
    }

    .agi-service-card2 {
        position: relative;
        z-index: 1;
    }

    .agi-service-title {
        text-align: left;
        font-size: 20px;
        font-weight: 700;
        color: #101010;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .agi-service-info {
        display: none;
        padding-left: 0;
        text-align: left;
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 12px;
        background-color: transparent;
    }

    .agi-service-description {
        text-align: left;
        font-size: 14px;
        color: #666;
        line-height: 1.5;
        margin-top: 0;
    }

    /* AGI Item Responsive */
    .agi-item {
        background-color: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
        background-image: url('../image/1/048.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right -100px bottom;
        background-opacity: 0.1;
    }

    .agi-item2 {
        background-color: white;
        border-radius: 12px;
        height: 107px;
        line-height: 107px;
        padding: 0 30px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        margin-bottom: 30px;
        position: relative;
        overflow: hidden;
        background-image: url('../image/1/006.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: left -200px bottom;
    }

    .agi-item img {
        display: none;
    }

    .agi-service-title-ai {
        position: relative;
        z-index: 1;
        font-size: 14px;
        font-weight: 700;
        color: #101010;
        margin-bottom: 15px;
        padding: 0;
    }

    .agi-info2 {
        position: relative;
        font-size: 12px;
        color: #666;
        line-height: 1.5;
        z-index: 1;
        padding: 0;
    }

    .agi-info3 {
        z-index: 999;
        font-size: 16px;
        color: #101010;
        padding: 0;
        text-align: left;
    }

    /* AGI Service Card Responsive */
    .agi-service-card {
        text-align: left;
        background-color: white;
        border-radius: 12px;
        padding: 20px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        position: relative;
        margin-bottom: 10px;
    }

    .agi-service-icon {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        opacity: 1;
        z-index: 0;
    }

    /* Set different background images for each service card */
    .agi-services-grid>div:nth-child(1) .agi-service-icon {
        background-image: url('../image/1/005.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right bottom -60px;
    }

    .agi-services-grid>div:nth-child(2) .agi-service-icon {
        background-image: url('../image/1/004.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right bottom -60px;
    }

    .agi-services-grid>div:nth-child(3) .agi-service-icon {
        background-image: url('../image/1/003.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right bottom -60px;
    }

    .agi-services-grid>div:nth-child(4) .agi-service-icon {
        background-image: url('../image/1/002.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right bottom -60px;
    }

    .agi-services-grid>div:nth-child(5) .agi-service-icon {
        background-image: url('../image/1/001.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: right bottom -60px;
    }

    .agi-service-icon img {
        display: none;
    }

    .agi-service-card2 {
        position: relative;
        z-index: 1;
    }

    /* Adjust AGI service titles positioning */
    .agi-services div[style*="position: absolute;right: 60px;"] {
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        font-size: 16px !important;
        text-align: left !important;
        color: #101010 !important;
        margin-top: 30px;
        margin-bottom: 20px;
        font-weight: 600;
    }

    /* AGI Header Responsive */
    .agi-header {
        margin-bottom: 30px;
    }

    .agi-title {
        font-size: 28px;
        font-weight: bold;
        color: #101010;
        margin-bottom: 12px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .agi-services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 10px;
    }

    .library-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .service-card {
        padding: 10px 15px;
        border: 1px solid #eee;
    }

    .service-title {
        font-size: 14px;
        padding: 0 0 10px;
    }

    .service-icon {
        width: 40px;
        height: 40px;
        margin: 0px auto;
    }

    .service-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-description {
        font-size: 12px;
        text-align: left;
    }

    .agi-services {
        padding: 0 0 0px;
        background-color: #fff;
    }

    .agi-header {
        margin-bottom: 20px;
    }

    .agi-service-title {
        font-size: 14px;
        text-align: left;
    }

    .agi-service-info {
        text-align: left;
        padding-left: 0;
    }

    .agi-service-description {
        text-align: left;
    }

    .library-features {
        margin: 10px 0;
        gap: 15px;
    }

    .library-features li {
        font-size: 14px;
    }

    .library-description {
        font-size: 14px;
        text-align: left;
    }

    .one-click-description {
        font-size: 10px;
        line-height: 32px;
        padding: 0 20px;
        margin-bottom: 10px;
    }

    .section-title,
    .section-title2,
    .agi-title,
    .ecosystem-title,
    .one-click-title {
        font-size: 28px;
    }

    .section-title3 {
        margin-bottom:20px;
        text-align: left;
        font-size: 16px;
    }

    .partner-logo {
        flex: 0 0 100px;
        height: 60px;
    }

    .partner-logo img {
        max-height: 36px;
    }

    .experience-library {
        padding: 40px 0;
    }

    .ecosystem {
        padding: 0px 0;
    }

    .core-services{
        padding-top: 30px;
        padding-bottom: 0px;
    }

    .core-services-vip{
        padding: 30px 0 0;
    }

    .vip3{
        flex: 1;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .agi-services-grid {
        grid-template-columns: 1fr;
    }

    .hero-image-item1 {}

    .hero-image-item1>div {
        margin-right: 0;
        z-index: 9;
    }

    .library-features {
        flex-direction: inherit;
        align-items: center;
        gap: 10px;
    }

    .library-features li {
        width: auto;
        text-align: center;
        padding: 10px 7px;
    }

    .partners-row {
        gap: 10px;
    }

    .partner-logo {
        flex: 0 0 80px;
        height: 50px;
    }

    .partner-logo img {
        max-height: 30px;
    }

    .section-title,
    .section-title2,
    .agi-title,
    .ecosystem-title,
    .one-click-title {
        font-size: 20px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
}