* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Times New Roman', serif;
    background: #001133;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.card-container {
    width: 100%;
    max-width: 400px;
    perspective: 1000px;
}

.card {
    background: #001133;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.company-logo {
    height: 70px;
    width: auto;
}

.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.profile-image-container {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.profile-info {
    margin-top: 15px;
}

.name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Times New Roman', serif;
}

.position {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 8px;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0.5px;
    font-family: 'Times New Roman', serif;
}

.company {
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    font-style: italic;
    font-family: 'Times New Roman', serif;
}

.contact-section {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

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

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

.contact-text {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    word-break: break-all;
}

.phone-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    font-style: italic;
}

.action-section {
    margin-bottom: 20px;
}

.save-contact-btn {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Times New Roman', serif;
}

.save-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.save-contact-btn:active {
    transform: translateY(0);
}

.footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    font-family: 'Times New Roman', serif;
}

/* Responsive design */
@media (max-width: 480px) {
    .card {
        padding: 25px 20px;
    }

    .name {
        font-size: 24px;
    }

    .position {
        font-size: 16px;
    }

    .company {
        font-size: 14px;
    }

    .contact-text {
        font-size: 14px;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }
}

/* Animation for smooth loading */
.card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback logo styling */
.fallback-logo {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.fallback-logo img {
    width: 120px;
    height: auto;
}

