* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    max-width: 400px;
    width: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-bottom: 80px; /* Space for floating button */
}

.profile-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
}

.profile-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-header h1 {
    font-size: 24px;
    margin-bottom: 5px;
    font-weight: 600;
}

.profile-header p {
    opacity: 0.9;
    margin-bottom: 10px;
}

.social-links {
    padding: 30px;
    border-bottom: 1px solid #eee;
}

.social-links h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link i {
    margin-right: 10px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.social-link.email { border-left: 4px solid #dc3545; }
.social-link.linkedin { border-left: 4px solid #0077b5; }
.social-link.portfolio { border-left: 4px solid #28a745; }
.social-link.phone { border-left: 4px solid #6f42c1; }

.contact-info {
    padding: 30px;
}

.contact-info h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #6a11cb;
}

.contact-item i {
    margin-right: 10px;
    color: #6a11cb;
    width: 20px;
    text-align: center;
}

.action-buttons {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    width: 100%;
    max-width: 250px;
}

.btn-contact {
    background: #28a745;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #218838;
}

/* Floating button styles */
.floating-button-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
}

.floating-btn {
    max-width: 300px;
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
}

/* Hide regular button on mobile, show floating button */
@media (max-width: 768px) {
    .action-buttons {
        display: none;
    }
    
    .container {
        margin-bottom: 0;
    }
}

/* Show both buttons on desktop */
@media (min-width: 769px) {
    .floating-button-container {
        display: none;
    }
    
    .container {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .floating-btn {
        max-width: 280px;
        padding: 12px 25px;
        font-size: 14px;
    }
}