/* ==========================================================================
   Modern Index Page Theme - 2024 Redesign
   Blue & White Glassmorphism Edition
   ========================================================================== */

:root {
    --primary-blue: #006eff;
    --primary-dark: #0056cc;
    --primary-light: #e6f0ff;
    --text-main: #1d2129;
    --text-sub: #4e5969;
    --text-light: #86909c;
    --bg-body: #f7f8fa;
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 110, 255, 0.1);
    --radius-md: 8px;
    --radius-lg: 16px;
    --max-width: 1400px;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Common Layout --- */
.common-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
}

/* --- Hero Swiper Section --- */
.swiper {
    width: 100%;
    height: 680px; /* Taller, more immersive */
    position: relative;
    overflow: hidden;
}

.hero-slider-item {
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

/* Atmospheric Overlay */
.hero-slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.8) 40%, 
        rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
    pointer-events: none; /* Allow clicks through overlay */
}

.hero-slider-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-slider-title {
    font-size: 56px; /* Larger title */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.1;
    max-width: 800px;
    letter-spacing: -1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero-slider-desc {
    font-size: 20px;
    color: var(--text-sub);
    margin-bottom: 48px;
    max-width: 640px;
    line-height: 1.6;
    font-weight: 400;
}

.hero-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 110, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: fit-content;
}

.hero-slider-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 110, 255, 0.4);
    opacity: 1;
}

/* Responsive Adjustments for Mobile Layouts */
@media (max-width: 1200px) {
    .container-padding-cloud {
        grid-template-columns: repeat(2, 1fr);
    }
    .global-infra-layout {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .infra-stats-panel {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .global-stat-card:hover {
        transform: translateY(-5px);
    }
    .banner-menu .common-layout {
        flex-direction: column;
        padding: 24px;
        gap: 0;
    }
    .banner-menu-left, .banner-menu-center, .banner-menu-center1, .banner-menu-right {
        width: 100%;
        justify-content: flex-start;
        padding: 20px 10px;
    }
    .banner-menu .line {
        width: 100%;
        height: 1px;
        background: #f0f0f0;
    }
}

@media (max-width: 768px) {
    .container-padding-cloud {
        grid-template-columns: 1fr;
    }
    .infra-stats-panel {
        grid-template-columns: 1fr;
    }
    .product-title1 {
        font-size: 24px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    .product-title1-text {
        font-size: 14px;
        padding: 0 15px;
    }
    .product-title {
        margin-bottom: 30px;
    }
    .cloud-server, .cloud-server1, .cloud-server2 {
        height: auto;
    }
    .cloud-server img, .cloud-server1 img, .cloud-server2 img {
        width: 60px;
        position: relative;
        margin-top: 10px;
    }
    
    .banner-menu .common-layout {
        padding: 16px;
    }
    .banner-menu-left, .banner-menu-center, .banner-menu-center1, .banner-menu-right {
        padding: 16px 10px;
    }
}
@media (max-width: 992px) {
    .swiper {
        height: 500px;
    }
    .hero-slider-title {
        font-size: 42px;
    }
    .hero-slider-item::before {
        background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    }
}

@media (max-width: 768px) {
    .swiper {
        height: 400px;
    }
    .hero-slider-title {
        font-size: 32px;
        margin-bottom: 16px;
    }
    .hero-slider-desc {
        font-size: 16px;
        margin-bottom: 32px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-slider-btn {
        padding: 12px 32px;
        font-size: 16px;
    }
}

/* Swiper Controls */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.4;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 6px !important;
    transition: all 0.3s ease;
    position: relative; /* For pseudo-element positioning */
    cursor: pointer;
}

/* Increase clickable area using pseudo-element */
.swiper-pagination-bullet::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: transparent;
    z-index: 10;
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue);
    opacity: 1;
    width: 10px;
    height: 10px;
    transform: scale(1.2);
}

/* Ensure pagination is at the bottom center */
.swiper-pagination {
    bottom: 100px !important; /* Moved up to 100px to avoid overlap with menu */
    z-index: 20; /* Ensure it's above other elements */
}

/* --- Banner Menu (Feature Strip) --- */
.banner-menu {
    position: relative;
    z-index: 10;
    margin-top: -60px; /* Overlap banner */
    /*padding-bottom: 60px;*/
}

.banner-menu .common-layout {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.banner-menu-left, .banner-menu-center, .banner-menu-center1, .banner-menu-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 30px;
    background: transparent; /* Reset */
}

.banner-menu-img {
    width: 56px;
    height: 56px;
    margin-right: 20px;
    filter: none; /* Reset old filter */
}

.banner-menu-width {
    display: flex;
    flex-direction: column;
}

.banner-menu-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.banner-menu-text {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.5;
}

.banner-menu .line {
    width: 1px;
    height: 40px;
    background: #f0f0f0;
}

/* --- Section Titles --- */
.product-title {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 60px;
}

.product-title1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-title1 span[style*="color: #C61919;"] {
    color: var(--primary-blue) !important; /* Override red */
}

.product-title1-text {
    font-size: 16px;
    color: var(--text-sub);
    display: block;
}

/* --- Product Cards (Left Column) --- */
.container-padding1 {
    display: flex;
    gap: 30px;
}

.container-padding-cloud-left {
    width: 25%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 1200px) {
    .container-padding1 {
        flex-direction: column; /* Stack left (now horizontal cards) and right (grid) */
    }
    .container-padding-cloud-left {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .container-padding-cloud-left::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 768px) {
    .container-padding-cloud-left {
        gap: 15px;
    }
}

.product-recommend {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    min-height: auto; /* Reset */
    display: flex;
    flex-direction: column;
}

@media (max-width: 1200px) {
    .product-recommend {
        min-width: 280px; /* Ensure cards have good width when scrolling */
        flex: 0 0 auto; /* Prevent shrinking */
    }
}

@media (max-width: 768px) {
    .product-recommend {
        min-width: 260px; /* Set fixed width for horizontal scrolling */
        padding: 24px;
    }
}

.product-recommend:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.product-recommend-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

@media (max-width: 1200px) {
    .product-recommend-title {
        writing-mode: unset; /* Remove vertical text on mobile/tablet */
        letter-spacing: 0;
        margin-bottom: 12px;
    }
}

/* Custom Badges */
.product-recommend-title span {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    margin-left: 8px;
    font-weight: 600;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: -1px;
}

/* Hot/Special Offer - Red/Orange Gradient */
.badge-hot {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(255, 77, 79, 0.3);
}

/* New Arrival - Blue/Cyan Gradient */
.badge-new {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.3);
}

/* Sale/Discount - Purple/Pink Gradient */
.badge-sale {
    background: linear-gradient(135deg, #722ed1 0%, #b37feb 100%);
    color: #fff;
    box-shadow: 0 2px 6px rgba(114, 46, 209, 0.3);
}

/* Add a small icon via pseudo-element for Hot */
.badge-hot::before {
    content: '🔥';
    font-size: 10px;
    margin-right: 2px;
}

/* Add a small icon via pseudo-element for New */
.badge-new::before {
    content: '🆕';
    font-size: 10px;
    margin-right: 2px;
}

/* Add a small icon via pseudo-element for Sale */
.badge-sale::before {
    content: '🏷️';
    font-size: 10px;
    margin-right: 2px;
}

.product-recommend-text {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.8;
    margin-bottom: 24px;
    flex: 1;
}

@media (max-width: 1200px) {
    .product-recommend-text {
        writing-mode: unset;
        line-height: 1.6;
        margin-bottom: 16px;
    }
}

.product-recommend-gap {
    padding-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .product-recommend-gap {
        padding-top: 12px;
        margin-top: auto; /* Push to bottom */
    }
}

.product-recommend-it {
    font-size: 13px;
    color: var(--text-sub);
    background: #f7f8fa;
    padding: 6px 12px;
    border-radius: 6px;
    border: none;
    font-weight: 500;
}

/* --- Product Cards (Right Column - Grid) --- */
.container-padding-cloud {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.container-padding-cloud-item {
    width: 100%; /* Reset */
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.container-padding-cloud-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* Header inside card */
.cloud-server, .cloud-server1, .cloud-server2 {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    padding: 24px;
    position: relative;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cloud-server-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.cloud-server div:nth-child(2) {
    color: var(--text-sub);
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.cloud-server img, .cloud-server1 img, .cloud-server2 img {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 80px;
    opacity: 0.8;
    filter: none; /* Reset */
    top: auto;
    left: auto;
}

/* List items inside card */
.cloud-server-item {
    padding: 20px 24px;
    border-top: 1px solid #f5f5f5;
    flex: 1;
}

.cloud-server-item .product-recommend-title {
    font-size: 16px;
    margin-bottom: 6px;
}

/* .cloud-server-item div:nth-child(2) {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
} */

/* --- Why Choose Us (Redesigned - High End) --- */
.why-choose-section {
    position: relative;
    padding: 60px 0 120px;
    background: #f8fbff;
    overflow: hidden;
    z-index: 1;
}

/* Decorative Background Elements */
.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: 
        radial-gradient(#e1eaff 1px, transparent 1px),
        radial-gradient(#e1eaff 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

.why-choose-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.03) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

.why-choose-section .highlight {
    color: var(--primary-blue) !important;
    position: relative;
    display: inline-block;
}

/* Add a small underline to highlight */
.why-choose-section .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(0, 110, 255, 0.1);
    z-index: -1;
    border-radius: 4px;
}

.why-choose-section .product-title {
    padding-top: 0;
    margin-bottom: 72px;
    position: relative;
    z-index: 2;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.why-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 48px 36px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.01),
        0 2px 4px -1px rgba(0, 0, 0, 0.01),
        0 10px 15px -3px rgba(0, 0, 0, 0.01);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-card:hover {
    background: #fff;
    transform: translateY(-12px);
    box-shadow: 
        0 20px 40px -4px rgba(0, 110, 255, 0.12),
        0 8px 16px -4px rgba(0, 110, 255, 0.04);
    border-color: rgba(0, 110, 255, 0.1);
}

/* Top accent line on hover */
.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-dark));
    transition: width 0.4s ease;
    border-radius: 0 0 4px 4px;
}

.why-card:hover::before {
    width: 60px;
}

.why-icon-wrapper {
    width: 88px;
    height: 88px;
    background: #fff;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    z-index: 1;
}

/* Icon blob background */
.why-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, rgba(0, 110, 255, 0.1), rgba(0, 110, 255, 0.02));
    border-radius: 28px;
    z-index: -1;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.8);
}

.why-card:hover .why-icon-wrapper {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 110, 255, 0.15);
}

.why-card:hover .why-icon-wrapper::before {
    opacity: 1;
    transform: scale(1);
}

.why-icon-wrapper img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.why-card:hover .why-icon-wrapper img {
    transform: scale(1.1) rotate(5deg);
}

.why-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.why-card:hover .why-title {
    color: var(--primary-blue);
}

.why-desc {
    font-size: 15px;
    color: var(--text-sub);
    line-height: 1.75;
    margin-bottom: 32px;
    flex: 1;
}

.why-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

.why-tags span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    background: #f2f3f5;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-card:hover .why-tags span {
    background: rgba(0, 110, 255, 0.04);
    color: var(--primary-blue);
    border-color: rgba(0, 110, 255, 0.1);
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0 80px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 32px 24px;
    }
}

/* --- Global Infrastructure (Redesigned) --- */
.global-infrastructure-section {
    background: #fff;
    padding: 0 0 100px;
    position: relative;
    overflow: hidden;
}

.global-infra-layout {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.infra-stats-panel {
    /* width: 340px; */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.global-map-container {
    flex: 1;
    position: relative;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 50%, #f8fbff 0%, #fff 70%);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-map-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    opacity: 0.95;
}

/* Map Points */
.map-point {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
}

.map-dot {
    width: 12px;
    height: 12px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.map-point:hover .map-dot {
    transform: scale(1.2);
    background: var(--primary-dark);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9);
}

.map-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 110, 255, 0.4);
    border-radius: 50%;
    animation: pulse 2s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Tooltips */
.map-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    pointer-events: none;
    z-index: 20;
    min-width: 140px;
    text-align: center;
}

.map-point:hover .map-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-16px);
}

/* Tooltip Arrow */
.map-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
}

.tooltip-header {
    font-weight: 700;
    color: var(--text-main);
    font-size: 14px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.flag {
    font-size: 16px;
}

.tooltip-desc {
    font-size: 12px;
    color: var(--text-sub);
}

/* Stats Cards (Vertical List) */
.global-stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 15px 18px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.01),
        0 2px 4px -1px rgba(0, 0, 0, 0.01),
        0 10px 15px -3px rgba(0, 0, 0, 0.01);
    border: 1px solid #f0f2f5;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.global-stat-card:hover {
    transform: translateX(10px); /* Move right on hover */
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 110, 255, 0.1);
}

.stat-icon-box {
    width: 48px;
    height: 48px;
    background: #f2f7ff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon-box img {
    width: 28px;
    height: 28px;
}

.stat-info {
    flex: 1;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 4px;
    background: linear-gradient(90deg, var(--text-main), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-desc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 992px) {
    .global-infra-layout {
        flex-direction: column-reverse; /* Map top, Stats bottom */
        gap: 40px;
    }
    
    .infra-stats-panel {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .global-stat-card:hover {
        transform: translateY(-5px); /* Vertical lift on mobile/tablet grid */
    }
}

@media (max-width: 600px) {
    .infra-stats-panel {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    
    .map-tooltip {
        display: none;
    }
}

/* --- Partners Section (Redesigned Marquee) --- */
.partner-background {
    background: #f8fbff; /* Match the "Why Choose Us" background for consistency */
    padding: 80px 0 100px;
    overflow: hidden;
}

.partner-marquee-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    position: relative;
}

/* Gradient masks for smooth fade in/out at edges */
.partner-marquee-container::before,
.partner-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.partner-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #f8fbff, transparent);
}

.partner-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #f8fbff, transparent);
}

.marquee-row {
    display: flex;
    width: 100%;
    /* Add padding to allow shadow and hover transform to be visible */
    padding: 10px 0;
    margin: -10px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    width: max-content;
}

/* Row 1 Animation (Left) */
.marquee-left .marquee-track {
    animation: scroll-left 50s linear infinite;
}

/* Row 2 Animation (Right) */
.marquee-right .marquee-track {
    animation: scroll-right 50s linear infinite;
    justify-content: flex-end; /* Start from right visually */
}

/* Pause on hover */
.marquee-row:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-33.333% - 8px)); } /* Adjusted for triplicated items */
}

@keyframes scroll-right {
    0% { transform: translateX(calc(-33.333% - 8px)); }
    100% { transform: translateX(0); }
}

.partner-item {
    width: 200px;
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 110, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    flex-shrink: 0; /* Prevent shrinking */
    padding: 0 20px;
    box-sizing: border-box;
}

.partner-item:hover {
    border-color: rgba(0, 110, 255, 0.3);
    box-shadow: 0 12px 24px rgba(0, 110, 255, 0.08);
    transform: translateY(-4px);
}

.partner-item img {
    max-width: 100%;
    max-height: 40px; /* Constrain logo height */
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    object-fit: contain;
}

.partner-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .partner-marquee-container::before,
    .partner-marquee-container::after {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .partner-background {
        padding: 60px 0;
    }
    
    .partner-item {
        width: 160px;
        height: 70px;
    }
    
    .partner-item img {
        max-height: 30px;
    }
    
    .partner-marquee-container::before,
    .partner-marquee-container::after {
        width: 50px;
    }
}

/* --- News Section (Multi-Column Magazine Style) --- */
.index-news-section {
    padding:0 0 68px 0;
    background: #f7f9fc;
}

.news-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 1px solid var(--primary-blue);
    border-radius: 50px;
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    background: transparent;
}

.news-outline-btn:hover {
    background: var(--primary-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 110, 255, 0.2);
}

.news-multi-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Top Row: Featured Cards (3 Columns) */
.news-top-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    height: 320px;
}

/* Bottom Row: List and Side Column */
.news-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Make them equal halves */
    gap: 30px;
    align-items: start;
}

/* Common Column Header */
.news-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e6eb;
    position: relative;
}

.news-column-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
}

.news-column-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
}

.side-box-more {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s ease;
}

.side-box-more:hover {
    color: var(--primary-blue);
}

/* Left Column: Hero Card */
.news-main-column {
    height: 100%;
}

.news-hero-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f2f5;
}

.news-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
}

.news-hero-img {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.news-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-hero-card:hover .news-hero-img img {
    transform: scale(1.05);
}

.news-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.news-hero-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-blue);
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.news-hero-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-hero-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.news-hero-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 12px 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-hero-card:hover .news-hero-title {
    color: var(--primary-blue);
}

.news-hero-desc {
    font-size: 14px;
    color: var(--text-sub);
    line-height: 1.6;
    margin: 0 0 24px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-hero-read {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

/* Middle Column: Standard List */
.news-standard-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.news-standard-item {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #f0f2f5;
    transition: all 0.3s ease;
    flex: 1; /* Stretch to fill column */
}

.news-standard-item:hover {
    border-color: rgba(0, 110, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 110, 255, 0.05);
    transform: translateX(5px);
}

.news-standard-date {
    width: 60px;
    height: 60px;
    background: #f2f7ff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.news-standard-item:hover .news-standard-date {
    background: var(--primary-blue);
}

.news-standard-date .day {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.news-standard-date .month {
    font-size: 11px;
    color: var(--text-sub);
    margin-top: 4px;
}

.news-standard-item:hover .news-standard-date .day,
.news-standard-item:hover .news-standard-date .month {
    color: #fff;
}

.news-standard-info {
    flex: 1;
    overflow: hidden; /* Ensure parent has overflow hidden */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* Crucial for flex child truncation */
}

.news-list-tag {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(0, 110, 255, 0.1);
    color: var(--primary-blue);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
    width: fit-content;
}

.news-standard-info h5 {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    width: 100%; /* Ensure it takes full width for truncation */
}

.news-standard-item:hover .news-standard-info h5 {
    color: var(--primary-blue);
}

.news-standard-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-sub);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right Column: Enhanced Lists */
.news-side-box {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.news-enhanced-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.news-enhanced-list li {
    border-bottom: 1px dashed #f0f2f5;
}

.news-enhanced-list li:last-child {
    border-bottom: none;
}

.news-enhanced-list li a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    padding: 16px 0;
    group: hover;
}

.list-icon-wrapper {
    width: 36px;
    height: 36px;
    background: #f2f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.news-enhanced-list li a:hover .list-icon-wrapper {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.1);
}

/* Alternate theme for second box */
.list-theme-alt .list-icon-wrapper {
    background: #fff1f0;
    color: #ff4d4f;
}
.list-theme-alt li a:hover .list-icon-wrapper {
    background: #ff4d4f;
    color: #fff;
}

.list-text-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-main-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.news-enhanced-list li a:hover .list-main-title {
    color: var(--primary-blue);
}
.list-theme-alt li a:hover .list-main-title {
    color: #ff4d4f;
}

.list-sub-date {
    font-size: 12px;
    color: var(--text-light);
}

.list-arrow {
    font-size: 12px;
    color: #d9d9d9;
    transition: all 0.3s ease;
    transform: translateX(-5px);
    opacity: 0;
}

.news-enhanced-list li a:hover .list-arrow {
    transform: translateX(0);
    opacity: 1;
    color: var(--primary-blue);
}
.list-theme-alt li a:hover .list-arrow {
    color: #ff4d4f;
}


/* Responsive */
@media (max-width: 1200px) {
    .news-top-row {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
    }
    
    .news-top-row .news-hero-card:nth-child(3) {
        display: none; /* Hide 3rd card on medium screens to keep symmetry */
    }

    .news-bottom-row {
        grid-template-columns: 1fr;
    }
    
    .news-side-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .news-side-box {
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .news-top-row {
        grid-template-columns: 1fr;
    }
    
    .news-top-row .news-hero-card:nth-child(3) {
        display: flex; /* Show again if needed, or keep hidden */
    }

    .news-side-column {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .news-hero-img {
        height: 200px;
    }
}
/* --- 24/7 Support Section (Redesigned) --- */
.support-section-modern {
    padding: 100px 0;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    position: relative;
    overflow: hidden;
}

.support-container {
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left Content */
.support-content {
    flex: 1.2;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 110, 255, 0.08);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #52c41a;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(82, 196, 26, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.support-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.support-desc {
    font-size: 16px;
    color: var(--text-sub);
    line-height: 1.8;
    margin: 0 0 40px 0;
}

/* Stats Grid */
.support-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.support-stat-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.support-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.stat-icon-wrapper i {
    font-size: 24px;
}

.blue-glow {
    background: rgba(0, 110, 255, 0.1);
    color: var(--primary-blue);
}

.purple-glow {
    background: rgba(114, 46, 209, 0.1);
    color: #722ed1;
}

.green-glow {
    background: rgba(82, 196, 26, 0.1);
    color: #52c41a;
}

.stat-info .stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    display: inline-block;
}

.stat-info .stat-unit {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-sub);
    margin-left: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* Actions */
.support-actions {
    display: flex;
    gap: 16px;
}

.support-btn-primary {
    padding: 14px 32px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 110, 255, 0.3);
}

.support-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 110, 255, 0.4);
}

.support-btn-secondary {
    padding: 14px 32px;
    background: #fff;
    color: var(--text-main);
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.support-btn-secondary:hover {
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

/* Right Illustration */
.support-illustration {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.support-img-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 110, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.support-main-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    height: auto;
    animation: float-up-down 6s ease-in-out infinite;
}

@keyframes float-up-down {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Floating Cards */
.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    border: 1px solid rgba(255,255,255,0.5);
    animation: float-card-anim 8s ease-in-out infinite;
}

.float-card-1 {
    top: 10%;
    right: -20px;
    animation-delay: -2s;
}

.float-card-2 {
    bottom: 10%;
    left: -20px;
    animation-delay: -4s;
}

@keyframes float-card-anim {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.float-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f2f7ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.float-text {
    display: flex;
    flex-direction: column;
}

.float-text strong {
    font-size: 14px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.float-text span {
    font-size: 12px;
    color: var(--text-light);
}

/* Responsive Support */
@media (max-width: 1200px) {
    .support-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .support-stat-card {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 16px 24px;
    }
    
    .stat-icon-wrapper {
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .support-container {
        flex-direction: column;
        gap: 60px;
    }
    
    .support-content {
        text-align: center;
    }
    
    .support-badge {
        margin: 0 auto 24px;
    }
    
    .support-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .support-stat-card {
        flex-direction: column;
        padding: 24px;
    }
    
    .stat-icon-wrapper {
        margin-bottom: 16px;
    }
    
    .support-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .support-title {
        font-size: 28px;
    }
    
    .support-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .support-stat-card {
        flex-direction: row;
        text-align: left;
    }
    
    .float-card {
        display: none; /* Hide floating cards on mobile to avoid clutter */
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container-padding1 {
        flex-direction: column;
    }
    .container-padding-cloud-left {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .container-padding-cloud {
        grid-template-columns: 1fr;
    }
    .banner-menu .common-layout {
        flex-direction: column;
        gap: 20px;
    }
    .line {
        width: 100%;
        height: 1px;
    }
}
