/* ============================================
   STUDENT PROFILE STYLES — PROFESSIONAL
   Theme: Dark + Purple/Blue Neon Glow
   Font: Poppins (Google Fonts)
   ============================================ */

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f1a;
    color: #e0e0e0;
    line-height: 1.7;
}

.header {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1040 50%, #0a0a1a 100%);
    text-align: center;
    padding: 50px 20px 70px;
    border-bottom: 2px solid #7c3aed40;
    position: relative;
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed, #3b82f6, #7c3aed, transparent);
    filter: blur(2px);
}

.header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.header p {
    color: #a78bfa;
    font-size: 14px;
    margin-top: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.profile-card {
    background: #1a1a2e;
    max-width: 520px;
    margin: -50px auto 25px;
    padding: 40px 30px 35px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid #ffffff10;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.15),
                0 0 80px rgba(59, 130, 246, 0.08);
    position: relative;
}

.profile-photo-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6, #7c3aed);
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.5),
                0 0 50px rgba(59, 130, 246, 0.2);
}

.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 3px solid #0f0f1a;
}

.profile-card h2 {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
}

.role {
    color: #a78bfa;
    font-weight: 500;
    font-size: 15px;
    margin: 5px 0;
}

.tagline {
    color: #888;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: #ffffff10;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #ffffff15;
}

.social-btn:hover {
    background: #7c3aed30;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

.contact-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    padding: 11px 26px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: white;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.btn.primary:hover {
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: #a78bfa;
    border: 2px solid #7c3aed;
}

.btn.secondary:hover {
    background: #7c3aed20;
    transform: translateY(-2px);
}

.section {
    background: #1a1a2e;
    max-width: 520px;
    margin: 15px auto;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #ffffff08;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid #7c3aed40;
    padding-bottom: 10px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section h3 .icon {
    font-size: 20px;
}

.section p {
    color: #bbb;
    font-size: 14px;
}

.section strong {
    color: #a78bfa;
}

.timeline {
    position: relative;
    padding-left: 25px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, #7c3aed, #3b82f6);
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    background: #7c3aed;
    border-radius: 50%;
    position: absolute;
    left: -25px;
    top: 4px;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.timeline-content {
    padding-left: 5px;
}

.timeline-content strong {
    color: #ffffff;
    font-size: 15px;
}

.timeline-content p {
    color: #888;
    font-size: 13px;
    margin-top: 2px;
}

.skill {
    margin-bottom: 15px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-header span {
    font-weight: 500;
    font-size: 14px;
    color: #ddd;
}

.skill-header span:last-child {
    color: #a78bfa;
    font-weight: 600;
}

.bar {
    background: #ffffff10;
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.fill {
    background: linear-gradient(90deg, #7c3aed, #3b82f6);
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.project-card {
    background: #ffffff08;
    border: 1px solid #ffffff10;
    border-radius: 12px;
    padding: 18px 14px;
    text-align: center;
    transition: all 0.3s;
}

.project-card:hover {
    background: #7c3aed15;
    border-color: #7c3aed40;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.project-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.project-card strong {
    color: #ffffff;
    font-size: 14px;
    display: block;
}

.project-card p {
    color: #888;
    font-size: 12px;
    margin-top: 3px;
}

.project-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.3);
}

.project-link:hover {
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}

.contact-list li {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid #ffffff08;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #bbb;
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 18px;
}

.contact-list a {
    color: #a78bfa;
    text-decoration: none;
}

.contact-list a:hover {
    text-decoration: underline;
}

.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 10px;
    border-top: 1px solid #ffffff10;
}

.footer p {
    color: #888;
    font-size: 14px;
}

.footer .footer-sub {
    color: #555;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 550px) {
    .header h1 {
        font-size: 24px;
    }

    .profile-card, .section {
        margin-left: 15px;
        margin-right: 15px;
        padding: 25px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}