@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%); /* Dark Navy/Gray Gradient */
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    animation: fadeIn 1.2s ease-out;
    backdrop-filter: blur(10px); /* Glass effect */
    border-top: 6px solid #2c5364; /* Accent color bar (Dark Slate Blue) */
    position: relative;
    overflow: hidden;
}

/* Decorative background circle inside card */
.profile-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(44, 83, 100, 0.08);
    border-radius: 50%;
    z-index: 0;
}

.profile-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(44, 83, 100, 0.08);
    border-radius: 50%;
    z-index: 0;
}

/* Ensure content stays above decorative circles */
.profile-card > * {
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-image {
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.profile-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2d3748;
}

.title {
    font-size: 0.95rem;
    color: #2c5364; /* Accent color */
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    display: inline-block;
}

.title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #2c5364;
    margin: 10px auto 0;
    opacity: 0.5;
}

.bio {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 30px;
    padding: 0 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px; /* Slightly larger */
    height: 50px;
    border-radius: 50%;
    background-color: #2d3748; /* Dark background for visibility */
    color: white; /* White icon */
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.social-icon:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.social-icon:hover .fa-envelope { color: #D44638; }
.social-icon:hover .fa-linkedin-in { color: #0077b5; }
.social-icon:hover .fa-facebook-f { color: #1877f2; }
.social-icon:hover .fa-instagram { color: #e4405f; }
.social-icon:hover .fa-github { color: #333; }

.badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.badge-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.badge-icon:hover {
    transform: scale(1.1);
    opacity: 1;
}

@media (max-width: 480px) {
    .profile-card {
        padding: 30px 20px;
    }
    
    .name {
        font-size: 1.5rem;
    }
}