/* Top Contact Card */
.top-contact-card {
    background: rgba(248, 248, 248, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 0.75rem 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 44px;
    z-index: 999;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.top-contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.top-contact-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.top-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    flex-shrink: 0;
}

.top-contact-icon i {
    font-size: 0.875rem;
    opacity: 0.7;
}

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

.top-contact-info strong {
    color: rgba(29, 29, 31, 0.6);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.top-contact-info a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 400;
    transition: opacity 0.2s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.top-contact-info a:hover {
    opacity: 0.7;
}

.top-contact-info span {
    color: #1d1d1f;
    font-size: 0.8125rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1024px) {
    .top-contact-content {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .top-contact-card {
        padding: 0.625rem 0;
    }
    
    .top-contact-content {
        gap: 1.5rem;
        grid-template-columns: repeat(2, 1fr);
        display: grid;
    }
    
    .top-contact-item {
        justify-content: flex-start;
    }
    
    .top-contact-icon {
        width: 28px;
        height: 28px;
    }
    
    .top-contact-icon i {
        font-size: 0.8125rem;
    }
    
    .top-contact-info strong {
        font-size: 0.625rem;
    }
    
    .top-contact-info a,
    .top-contact-info span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .top-contact-card {
        padding: 0.5rem 0;
    }

    .top-contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .top-contact-item {
        gap: 0.625rem;
        justify-content: flex-start;
        padding: 0.25rem 0;
    }
    
    .top-contact-icon {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }
    
    .top-contact-icon i {
        font-size: 0.8125rem;
    }
    
    .top-contact-info {
        min-width: 0; /* Allow text to wrap */
    }
    
    .top-contact-info strong {
        font-size: 0.625rem;
        display: block;
        margin-bottom: 0.125rem;
    }
    
    .top-contact-info a,
    .top-contact-info span {
        font-size: 0.75rem;
        word-break: break-word;
        overflow-wrap: break-word;
    }
}
