/* Global Layout Styles */
.global-layout-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%; /* Aspect ratio 2:1 */
    background-color: #f8f9fb;
    border-radius: 12px;
    margin-bottom: 60px;
    overflow: hidden;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><rect width="1000" height="500" fill="%23f8f9fb"/><path d="M200,150 Q300,50 400,150 T600,150 T800,150" fill="none" stroke="%23e0e0e0" stroke-width="2"/><text x="500" y="250" font-family="Arial" font-size="24" fill="%23cccccc" text-anchor="middle">World Map Placeholder</text></svg>');
    background-size: cover;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.map-point {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--brand-red, #E60012);
    border: 3px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 2;
}

.map-point:hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: #fff;
    border-color: var(--brand-red, #E60012);
}

.map-point .tooltip {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: #333;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    z-index: 10;
    min-width: 200px;
    text-align: left;
}

.map-point .tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.map-point:hover .tooltip {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

.tooltip-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--brand-red, #E60012);
    margin-bottom: 5px;
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.tooltip-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    display: block;
}

/* Client Distribution Styles */
.client-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.client-logo-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 15px;
}

.client-logo-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    border-color: var(--brand-red, #E60012);
}

.client-logo-img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo-item:hover .client-logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--brand-red, #E60012);
    margin-bottom: 5px;
    display: block;
}

.stat-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Simulated coordinates for demo */
.point-china { top: 45%; left: 75%; }
.point-usa { top: 40%; left: 20%; }
.point-europe { top: 35%; left: 50%; }
.point-sea { top: 60%; left: 80%; } /* Southeast Asia */

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

.location-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.location-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
    border-color: var(--brand-red, #E60012);
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--brand-red, #E60012);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.location-card:hover::before {
    opacity: 1;
}

.location-icon {
    font-size: 32px;
    color: var(--brand-red, #E60012);
    margin-bottom: 20px;
}

.location-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.location-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.location-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.location-details li {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.location-details li i {
    width: 20px;
    margin-right: 5px;
    color: #ccc;
}
