/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo h2 {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-item.active .nav-link {
    color: #2563eb;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-section h4 {
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-section a {
    display: block;
    color: #64748b;
    text-decoration: none;
    padding: 8px 0;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-radius: 6px;
    padding-left: 12px;
    margin-bottom: 4px;
}

.dropdown-section a:hover {
    color: #2563eb;
    background: #f1f5f9;
    transform: translateX(4px);
}

.dropdown .nav-link i {
    margin-left: 8px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/hero-bg.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.8;
    z-index: 1;
}
/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #fbbf24;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* Global Stats Section (Layer 3) */
.global-stats {
    padding: 80px 0;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.stat-item p {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* Network Tester Section (Layer 4) */
.network-tester {
    padding: 100px 0;
    background: #f8fafc;
}

.tester-content {
    margin-top: 60px;
}

.tester-description {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.description-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.description-item:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}

.description-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.description-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.description-icon i {
    font-size: 1.5rem;
    color: white;
}

.description-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.description-text p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Value Proposition Section (Layer 5) */
.value-proposition {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.value-content h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: white;
}

.value-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.formula-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 200px;
}

.formula-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.formula-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.formula-icon i {
    font-size: 1.5rem;
    color: white;
}

.formula-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.formula-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.formula-plus,
.formula-equals {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
    margin: 0 10px;
}

.formula-result {
    background: rgba(251, 191, 36, 0.2);
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #fbbf24;
    min-width: 200px;
}

.formula-result h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fbbf24;
}

.formula-result p {
    color: white;
    font-size: 1rem;
}

/* Our Journey Section (Layer 6) */
.our-journey {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
}

.journey-content {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.journey-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.journey-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.journey-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1976d2, #42a5f5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(25, 118, 210, 0.3);
}

.journey-item:hover .journey-number {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(25, 118, 210, 0.4);
}

.journey-details {
    flex: 1;
}

.journey-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1565c0;
    line-height: 1.3;
}

.journey-details p {
    color: #424242;
    line-height: 1.4;
    font-size: 0.9rem;
    text-align: left;
    margin: 0;
}

/* Partners Carousel (Layer 7) */
.partners-carousel {
    padding: 100px 0;
    background: white;
    overflow: hidden;
}

.carousel-container {
    margin-top: 60px;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    animation: scroll 20s linear infinite;
    gap: 40px;
}

.partner-item {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    max-width: 80%;
    max-height: 60px;
    object-fit: contain;
    /* filter: grayscale(100%); */
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-240px * 11)); /* Move exactly one complete set */
    }
}

/* Products Section */
.products {
    padding: 100px 0;
    background: white;
}

.product-category {
    margin-bottom: 60px;
}

.product-category h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1e293b;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #2563eb;
}

.product-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

/* Different colors for each product icon */
#idc .product-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

#edge-nodes .product-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

#ipt .product-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

#cdn .product-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

#edge-computing .product-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

#sd-wan .product-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.product-icon i {
    font-size: 2rem;
    color: white;
}

.product-card:hover .product-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.product-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.product-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.product-features li {
    padding: 8px 0;
    color: #475569;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

.section-header p {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card.featured {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #475569;
}

.service-features i {
    color: #10b981;
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.service-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.period {
    color: #64748b;
    margin-left: 0.5rem;
}

/* Solutions Section */
.solutions {
    padding: 100px 0;
    background: #f8f9fa;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.solution-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.solution-item:hover::before {
    left: 100%;
}

.solution-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.solution-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.solution-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.solution-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.solution-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: bold;
}

/* Global Network Section */
.global-network {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.network-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 60px;
    align-items: center;
}

.map-container {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
}

.world-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('images/map.png') no-repeat center center;
    background-size: contain;
}

.node {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #40c3d8;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.node::after {
    content: attr(data-region);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.node:hover::after {
    opacity: 1;
}

.node-asia {
    top: 25%;
    right: 28%;
}

.node-europe {
    top: 16%;
    left: 55%;
}

.node-america {
    top: 20%;
    left: 22%;
}

.node-china {
    top: 35%;
    right: 20%;
}

/* 非洲 */
.node-africa {
    top: 35%;
    left: 52%;
}

/* 大洋洲 */
.node-oceania {
    top: 76%;
    right: 12%;
}

/* 南美洲 */
.node-south-america {
    top: 65%;
    left: 30%;
}

.pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 40px;
    height: 40px;
    border: 2px solid #40c3d8;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.network-metrics {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.metric-card h4 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: white;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-item:last-child {
    border-bottom: none;
}

.metric-label {
    color: rgba(255, 255, 255, 0.8);
}

.metric-value {
    font-weight: bold;
    font-size: 1.2rem;
    color: #60a5fa;
}

/* Resources Section */
.resources {
    padding: 100px 0;
    background: white;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.resource-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: white;
}

.resource-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.resource-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.resource-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    margin-top: 60px;
}

.about-intro {
    margin-bottom: 60px;
}

.about-intro h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.certifications h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.cert-item {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.cert-item i {
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 15px;
}

.cert-item span {
    font-weight: 600;
    color: #333;
}

/* Partners Section */
.partners {
    padding: 100px 0;
    background: #f8fafc;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100px;
}

.partner-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.contact .section-header h2,
.contact .section-header p {
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.25rem;
    color: #60a5fa;
}

.contact-details h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.contact-details p {
    color: #cbd5e1;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid transparent;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #60a5fa;
    background: white;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: white;
    color: #333;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    /* grid-template-columns: 2fr 1fr 1fr 1fr 1fr; */
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}


.footer-section .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 20px;
}

.footer-section .footer-logo h3 {
    font-size: 1.5rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 600;
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-section ul {
    /* list-style: none; */
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #60a5fa;
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding: 30px 0;
    background: #0f172a;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 20px;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #60a5fa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .network-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    /* Mobile dropdown styles */
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 15px 20px;
        margin-top: 10px;
        background: #f8f9fa;
        min-width: auto;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dropdown-section {
        margin-bottom: 15px;
    }

    .dropdown-section h4 {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .dropdown-section a {
        padding: 6px 0;
        font-size: 0.85rem;
        padding-left: 0;
    }

    .dropdown .nav-link i {
        display: none;
    }

    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .tester-description {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .value-formula {
        flex-direction: column;
        gap: 20px;
    }

    .formula-plus,
    .formula-equals {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }

    .partners-track {
        gap: 20px;
        width: calc(170px * 22); /* 11 items * 2 sets * (150px width + 20px gap) */
        animation: scroll-mobile 20s linear infinite;
    }

    .partner-item {
        width: 150px;
        height: 100px;
    }

    @keyframes scroll-mobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-170px * 11)); /* Move exactly one complete set */
        }
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        padding: 30px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card.featured {
        transform: none;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .journey-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .journey-item {
        padding: 20px;
        gap: 15px;
    }

    .journey-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .journey-details h3 {
        font-size: 1.1rem;
    }

    .journey-details p {
        font-size: 0.85rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .description-item {
        padding: 25px 20px;
    }

    .value-content h2 {
        font-size: 2rem;
    }

    .formula-item {
        padding: 20px 15px;
        min-width: 150px;
    }

    .partners-track {
        width: calc(140px * 22); /* 11 items * 2 sets * (120px width + 20px gap) */
        animation: scroll-small 18s linear infinite;
    }

    .partner-item {
        width: 120px;
        height: 80px;
    }

    @keyframes scroll-small {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-140px * 11)); /* Move exactly one complete set */
        }
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 1.5rem;
    }

    .solution-item {
        padding: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Optimized scrolling to reduce jitter */
html {
    scroll-behavior: auto;
    scroll-padding-top: 90px; /* Account for fixed navbar height (70px) + extra spacing (20px) */
}

/* Apply smooth scrolling only to anchor links */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Intersection Observer animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}