/* style.css - File CSS dùng chung cho danh thiếp điện tử */
:root {
    --primary-color: #0056b3; 
    --secondary-color: #00a8e8;
    --text-color: #333;
    --bg-color: #f0f4f8;
}

* {
    box-sizing: border-box;
}

body {
    
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-color);
    
    
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vcard-container {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    overflow: hidden;
    margin: 15px;
    position: relative;
}


.header {
   
    background: linear-gradient(rgba(0, 86, 179, 0.7), rgba(0, 168, 232, 0.7)), 
                url('img/banner-cang-bien.jpg'); 
    background-size: cover;
    background-position: center;
    height: 150px; 
    position: relative;
    border-radius: 16px 16px 0 0; 
}

.profile-pic {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 5px solid #ffffff;
    position: absolute;
    bottom: -65px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #e0e0e0;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.info-section {
    padding: 85px 25px 30px;
    text-align: center;
}

.name {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.title {
    margin: 8px 0 4px;
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
}

.company {
    margin: 0 0 25px;
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 15px;
    background: #f8faff;
    border-radius: 10px;
    border: 1px solid #eef2f6;
    transition: transform 0.2s;
}

.contact-list li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.contact-list i {
    font-size: 20px;
    color: var(--primary-color);
    width: 35px;
    text-align: center;
    margin-right: 15px;
}

.contact-details {
    flex-grow: 1;
}

.contact-details strong {
    display: block;
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.contact-details span, .contact-details a {
    font-size: 15px;
    color: var(--text-color);
    text-decoration: none;
    display: block;
    word-break: break-word;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}