/* Core resets */
:root {
    --ui-scale: 1;
    --font-scale: 1;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem; /* Adjust this value to match your header's height */
    font-size: calc(1rem * var(--font-scale));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    /* font-family: "Helvetica Neue", Arial, sans-serif; */
    font-family: PingFang SC, PingFang SC;
    color: #333;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

.website-wrapper {
    margin: 0 auto;
}


img { max-width: 100%; display: block; }
.container {
    width: 85%;
    margin: 0 auto;
}
.header{
    height: 5rem;
    padding: 0 0;
}

/* Navbar */
.navbar {
    background: #fff;
    border-bottom: 0.0625rem solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
footer{
    width: 100%;
}
main{
    width: 100%;
}
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #2982FF;
    font-weight: 700;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 4.5rem;
    line-height: 1rem;
}
nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.02rem;
    transition: color 0.2s;
}
nav a:hover,
nav a.active {
    color: #2982FF;
    position: relative;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -1.59rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1.25rem;
    height: 0.1875rem;
    background: #2982FF;
    border-radius: 0.125rem;
}


/* Hero */
.hero {
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, #eef4ff 0%, #fafdff 100%);
    background-image: url(images/index_bg2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 47.625rem;
    width: 100%;
}
.hero .container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.hero-content { flex: 1 1 30rem;margin-left: 0.9375rem; }
.hero-content h1 {
    font-size: 3.125rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.hero-content h1 span{
    color: #2982FF;
    font-size: 3.125rem;
    font-weight: bold;
}
.hero-content p {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #303C55;
}
.hero-buttons { display: flex; gap: 1rem;margin-top: 5.3125rem; }
.btn {
    padding: 0.8rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-primary {
    min-width: 9rem;
    height: 3.5rem;
    background: #2982FF;
    color: #fff;
    font-size: 1.625rem;
    font-weight: bold;
}
.btn-secondary {
    min-width: 9rem;
    height: 3.5rem;
    background: transparent;
    color: #2982FF;
    font-size: 1.625rem;
    border: 0.125rem solid #2982FF;
    font-weight: bold;
    
}
.btn:hover { opacity: 0.9; }
.hero-image { flex: 1 1 25rem; }

/* Features Bar */
.features-bar {
    background: #fff;
    margin: 0 auto;
    margin-top: -4.5rem; /* Overlap effect */
    box-shadow: 0rem 0.625rem 0.625rem 0.1875rem rgba(0,0,0,0.06);
    border-radius: 1rem;
    position: relative;
    z-index: 10;
    width: 85%;
    
}
.features-bar .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    /* gap: 1.5rem; */
    padding: 2rem 2rem 2rem 2rem;
    width: 100%;
}
.feature-item {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.feature-item img{
    width: 3.4375rem;
    height: 3.4375rem;
    margin-right: 0.3125rem;
    flex-shrink: 0;
}
.feature-item-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.feature-item  h3 { margin: 0 0; font-size: 1.25rem;font-weight: bold; }
.feature-item p { color: #999999; font-size: 1rem;font-weight: 500;text-align: left; }

/* Footer */
footer {
    background: #f7f7f7;
    padding: 3rem 0;
    margin-top: 4rem;
}
footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 2rem;
}
ul{
    list-style: none;
}
footer ul li{
    margin-bottom: 0.9375rem;
}
footer h4 { margin-bottom: 1rem; color: #333;font-size: 1.25rem; }
footer p, footer a { color: #7A8698; font-size: 1rem;max-width: 24rem;font-weight: 400;margin-bottom: 0.9375rem; }
footer a { text-decoration: none; }
footer a:hover { color: #2982FF; }

.footer-copyright {
    text-align: center;
    color: #7A8698;
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: 1.5rem;
}

/* Section Title */
.section-title {
    text-align: center;
    margin: 5rem 0 4rem 0;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}
.section-title img{
    display: inline-block;
}
.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3.125rem;
    height: 0.1875rem;
    background: #2982FF;
}

/* Team Section */
.team-section { padding: 0 0; }
.team-section .container{
    width: 100%;
}
.team-container{
    background-image: url('images/team_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 39.875rem;
  
    
}
.team-content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.team-text { width: 50%;padding-left: 10rem; }
.team-text h3 { font-size: 1.875rem; margin-bottom: 2.8125rem;color: #2982FF;font-weight: bold; }
.team-text p { color: #333; margin-bottom: 1.5rem;font-size: 1.375rem;font-weight: 500; }
.team-image { flex: 1 1 25rem; }

.team-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3.4375rem;
}
.stat-item {
    padding: 1.5rem;
    border-radius: 0.5rem;
    text-align: center;
    width: 16.4375rem;
    height: 10.5rem;
    box-shadow: 0 0.5rem 1.5625rem rgba(0,0,0,0.07);
    border-radius: 1.5rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url('images/shadow_bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
   
}
.stat-number {
    font-size: 3.5rem;
    line-height: 3.5rem;
    margin-bottom: 0.625rem;
    font-weight: bold;
    color: #2982FF;
    display: block;
    background: linear-gradient(180deg, #F3999D 0%, #E00712 100%);
    -webkit-background-clip: text;
    color: transparent;
}
.stat-label { color: #333;font-size: 1.75rem;font-weight: 500; }

/* Services Section */
.services-section { padding: 2rem 0; background: #fff; }
.service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.service-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1.5625rem rgba(0,0,0,0.07);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    max-height: 39.875rem;
    background: linear-gradient( 180deg, #F3F9FF 0%, #FFFFFF 24.52%);
    border-radius: 1.625rem 1.625rem 1.625rem 1.625rem;
    border: 0.125rem solid #FFFFFF;
    padding: 1.5625rem 1.5625rem;
}
.service-card:hover { transform: translateY(-0.3125rem); box-shadow: 0 0.75rem 2.1875rem rgba(0,0,0,0.1); }
.service-card-content {
    padding:0 0 2rem 0 ;
}
.service-icon { margin-bottom: 1rem; }
.service-card-tags{
    display: flex;
    gap: 0.9375rem;
    flex-wrap: wrap;
    margin: 1.25rem 0 0 0;
}
.service-card-tag{
    background: rgba(41,130,255,0.1);
    color: #2982FF;
    padding: 0.125rem 0.625rem;
    border-radius: 0.3125rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.service-card p { color: #666;font-size: 1.125rem; }
.service-card-image{
    display: inline-block;
}

/* Product Center Section */
.product-center-section { padding: 2rem 0;width: 100%; }
.product-content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;

}
.product-card { flex: 1 1 28.125rem; }
.product-image { flex: 1 1 25rem;position: relative; z-index: -1; }
.product-image-tag{
    width: 34.6875rem;
    height: 26.8125rem;
    background: rgba(41,130,255,0.2);
    border-radius: 1.25rem 1.25rem 1.25rem 1.25rem;
    position: absolute;
    left: 50%;
    top: -1.25rem;
    z-index: -1;
    transform: translateX(-50%);
}
.product-image-tag2{
    width: 22.4375rem;
    height: 26.8125rem;
    background: rgba(41,130,255,0.1);
    border-radius: 1rem 1rem 1rem 1rem;
    position: absolute;
    left: 50%;
    top: -2.5rem;
    z-index: -1;
    transform: translateX(-50%);
}
.product-image-tag img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 99;
  
}
.product-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem;display: flex;align-items: center; }
.product-card h3 span{
    margin-left: 0.625rem;
    background-image: url('images/more.png');
    background-size: 100% 100%;
    font-weight: 500;
    font-size: 0.75rem !important;
    line-height: 0.75rem !important;
    padding: 0 0.5rem;
    color: #FFFFFF;
    min-width: 6.9375rem !important;
    height: 1.3125rem !important;
    display: flex;
    align-items: center;
    justify-content: center;

}
.product-card > p { color: #666; margin-bottom: 2rem;font-size: 1.125rem; }
.product-card ul { list-style: none; }
.product-card li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.product-icon { flex-shrink: 0;width: 2.9375rem;height: 2.9375rem; }
.product-card h4 { font-size:1.25rem; margin-bottom: 0.2rem; }
.product-card li p { font-size: 1rem; color: #999999; }

/* Cloud Services Section */
.cloud-services-section { padding: 2rem 0; }
.cloud-services-section .container{
    background: #f9fafc;
    padding: 1.5625rem 1.5625rem;
    border-radius: 1.625rem ;
}
.cloud-content-wrapper {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.cloud-image { flex: 1 1 25rem; }
.cloud-features { flex: 1 1 28.125rem; }

.main-feature {

    margin-bottom: 3rem;
}
.main-feature h3 { font-size: 1.75rem;display: flex;align-items: center; }
.main-feature h3 span{
    margin-left: 0.625rem;
    background-image: url('images/more2.png');
    background-size: 100% 100%;
    font-weight: 500;
    font-size: 0.75rem !important;
    line-height: 0.75rem !important;
    color: #FFFFFF;
    padding: 0 0.5rem;
    min-width: 11.75rem !important;
    height: 1.3125rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-feature p { color: #666;margin-top: 0.625rem;font-size: 1.125rem; }

.sub-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.sub-feature{
    display: flex;
    align-items: flex-start;
    
}
.sub-feature img{
    width: 1.625rem;
    height:1.625rem;
    margin-right: 0.625rem;
    margin-top: 0.1875rem;
}
.sub-feature h4 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.sub-feature p { font-size: 1rem; color: #999; }


/* Responsive */
@media (max-width: 1680px) {
    :root {
        --ui-scale: 0.90;
        --font-scale: 0.90;
    }
}
@media (max-width: 1660px) {
    :root {
        --ui-scale: 0.88;
        --font-scale: 0.88;
    }
}
@media (max-width: 1440px) {
    :root {
        --ui-scale: 0.86;
        --font-scale: 0.86;
    }
}

@media (max-width: 1360px) {
    :root {
        --ui-scale: 0.82;
        --font-scale: 0.82;
    }
}

@media (max-width: 1280px) {
    :root {
        --ui-scale: 0.78;
        --font-scale: 0.78;
    }
}

@media (max-width: 992px) {
    :root {
        --ui-scale: 0.74;
        --font-scale: 0.74;
    }

    .service-cards, .sub-features-grid {
        grid-template-columns: 1fr;
    }
    .product-content-wrapper { flex-direction: column; }
    .cloud-content-wrapper { flex-direction: column-reverse; }
}

@media (max-width: 768px) {
    :root {
        --ui-scale: 0.5;
        --font-scale: 0.5;
    }
    .hero {
        padding: 2rem 0;
    }
    .hero-content h1 { font-size: 1.6rem; }
    .team-content-wrapper { flex-direction: column-reverse; }
}


