@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

body {
    background-color: #f3f4f7;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333;
}

.profile-card {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    padding-bottom: 30px;
}

.header-bg {
    height: 100px;
    background: linear-gradient(135deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
}

.profile-img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid white;
    margin-top: -55px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.social-icon {
    width: 38px;
    height: 38px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #555;
    transition: 0.3s;
    text-decoration: none;
    font-size: 1.1rem;
}

.social-icon:hover {
    background: #4158D0;
    color: white;
    transform: translateY(-3px);
}

/* Tabs */
.nav-pills .nav-link {
    cursor: pointer;
    border-radius: 20px;
    color: #777;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 10px;
}

.nav-pills .nav-link.active {
    background-color: #ffffff !important;
    color: #4158D0 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Details */
.edu-item {
    border-left: 2px solid #4158D0;
    padding-left: 15px;
    margin-bottom: 15px;
}

.badge-skill {
    background: #f0f2ff;
    color: #4158D0;
    padding: 6px 14px;
    border-radius: 10px;
    margin: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.award-card {
    display: block;
    background: #fafafa;
    padding: 12px 15px;
    border-radius: 18px;
    margin-bottom: 10px;
    text-decoration: none;
    border: 1px solid #eee;
    transition: 0.3s;
}

.award-card:hover {
    border-color: #C850C0;
    background: white;
}

.memory-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 120px;
    cursor: pointer;
    transition: transform 0.3s;
}

.memory-card:hover {
    transform: scale(1.05);
}

.memory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memory-desc {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    width: 100%;
    font-size: 0.65rem;
    padding: 4px 8px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #ccc;
}

#lightbox-caption {
    color: white;
    margin-top: 15px;
    font-size: 1rem;
    text-align: center;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.text-justify {
    text-align: justify;
}