:root {
    --accent: #7c5cff;
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-strong: rgba(255, 255, 255, 0.12);
}

body {
    font-family: "Poppins", sans-serif;
    background: #1a1a2e;
    color: #eef2ff;
    margin: 0;
    padding-top: 80px;
    /* ensures hero isn't hidden under navbar */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    padding-left: 18px;
    padding-right: 18px;
}

.navbar .navbar-brand {
    color: #fff;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* hero */
.hero-section {
    padding: 60px 0;
}

.accent {
    color: var(--accent);
}

.avatar-glass {
    width: 260px;
    height: 260px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-img {
    width: 230px;
    height: 230px;
    object-fit: cover;
}

/* info cards */
.info-card {
    background: var(--glass-bg);
    padding: 10px;
    border-radius: 10px;
    font-size: 0.95rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* sections */
.section {
    padding: 48px 0;
}

.bg-soft {
    background: rgba(255, 255, 255, 0.03);
}

/* glass cards */
.glass-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    color: #eef2ff;
}

/* projects */
.project-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
}

/* skills */
.progress {
    height: 14px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent), #ff758c);
}

/* contact form */
#contact-form .form-control {
    background: rgba(255, 255, 255, 0.02);
    border: none;
    color: #fff;
}

#contact-form .form-control:focus {
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* footer */
footer {
    color: rgba(255, 255, 255, 0.85);
}

/* responsive */
@media (max-width: 768px) {
    .avatar-glass {
        width: 200px;
        height: 200px;
    }

    .avatar-img {
        width: 170px;
        height: 170px;
    }
}
