:root {
    
    --bg-main:#0F172A;
    --bg-card:#020617;
    --neon-cyan:#38BDF8;
    --neon-purple:#CBD5F5;
    --text-main:#F8FAFC;
    --text-muted:#94A3B8;
    --neon-pink: #F472B6;
    --border-glow: rgba(34, 211, 238, 0.25);

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text-main);
    font-family: 'Inter', system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #0B1020, #05060F 60%);
    overflow-x: hidden;
}
.main-container {
    position: fixed;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.nav-bar {
    background: rgba(11, 16, 32, 0.8);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 18px;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 25px rgba(34, 211, 238, 0.15);
}

#nav-bar-list-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.button-links {
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
    color: #05060F;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.35s ease;
}

.button-links:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 20px var(--neon-cyan);
}

.hero-profile-container {
    display: flex;
    align-items: center;
    gap: 90px;
    padding: 150px 180px;
}

#hero-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 52px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#hero-section h3 {
    margin-top: 12px;
    color: var(--neon-pink);
    font-weight: 500;
}

#hero-section p {
    margin-top: 22px;
    max-width: 620px;
    color: var(--text-muted);
    line-height: 1.7;
}

#profile-pic {
    height: 260px;
    width: 260px;
    border-radius: 50%;
    background-image: url("/images/profile-picture.jpg");
    background-size: cover;
    border: 3px solid var(--neon-cyan);
    box-shadow: 0 0 35px rgba(34, 211, 238, 0.4);
    transition: all 0.4s ease;
}

#profile-pic.shrink {
    height: 80px;          
    width: 80px;
    border-radius: 50%;
    position: fixed;
    top: 40px;
    right: 40px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2); 
    z-index: 1000;
}

.card {
    margin: 120px 180px;
    background: rgba(11, 16, 32, 0.75);
    backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 44px;
    border: 1px solid var(--border-glow);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(167, 139, 250, 0.35);
}

.card h1 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
}

.social-links {
    margin-top: 32px;
    display: flex;
    gap: 30px;
}

.social-links div {
    height: 48px;
    width: 48px;
    border-radius: 14px;
    box-shadow: 0 0 15px rgba(248, 247, 247, 0.6);
    transition: all 0.35s ease;
    background-color: white;
}

.social-links div:hover {
    transform: translateY(-6px) rotate(-10deg);
    box-shadow: 0 0 25px var(white);
}
#linkedinicon,
#githubicon,
#resumeicon {
    height: 48px;
    width: 48px;
    border-radius: 14px;
    background-size: cover;
    background-position: center;
}

/* Actual icons */
#linkedinicon {
    background-image: url("/images/linkedin-logo.png");
}

#githubicon {
    background-image: url("/images/github-logo.png");
}

#resumeicon {
    background-image: url("/images/cv.png");
}

#contact-section {
    text-align: center;
    padding: 100px 60px;
    background: linear-gradient(180deg, transparent, #0B1020);
}

@keyframes pulse {
    0% { box-shadow: 0 0 15px var(--neon-cyan); }
    50% { box-shadow: 0 0 35px var(--neon-purple); }
    100% { box-shadow: 0 0 15px var(--neon-cyan); }
}



body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--neon-purple), var(--neon-cyan));
    border-radius: 10px;
}



#contact-section {
    padding: 100px 60px;
    text-align: center;
    background: radial-gradient(circle at top, #0B1020, #05060F);
}

#contact-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtext {
    margin-top: 12px;
    font-size: 17px;
    color: var(--text-muted);
}

/* SINGLE LINE FLEX BAR */
.contact-grid {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap; /* wraps only on very small screens */
}

/* COMPACT CARDS */
.contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 190px;
    padding: 14px 18px;
    border-radius: 999px;
    background: rgba(11, 16, 32, 0.75);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glow);
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 0 18px rgba(0,0,0,0.55);
}

.contact-card:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: 0 0 30px rgba(167, 139, 250, 0.45);
}

/* ICON */
.contact-card .icon {
    font-size: 22px;
    line-height: 1;
}

/* TEXT */
.contact-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    margin: 0;
}

.contact-card p {
    display: none; 
}

/* Accent hover glows */
.contact-card.email:hover { box-shadow: 0 0 30px #22D3EE; }
.contact-card.linkedin:hover { box-shadow: 0 0 30px #0A66C2; }
.contact-card.github:hover { box-shadow: 0 0 30px #A78BFA; }
.contact-card.resume:hover { box-shadow: 0 0 30px #F472B6; }
.contact-card.instagram:hover { box-shadow: 0 0 30px #E1306C; }


/* Footer */
.contact-footer {
    margin-top: 60px;
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.75;
}


.resume-card {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.resume-download {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: #05060F;
    transition: transform 0.3s, box-shadow 0.3s;
}

.resume-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--neon-cyan);
}

/* Blocks */
.resume-block {
    margin-top: 36px;
}

.resume-block h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 12px;
    color: var(--neon-cyan);
}

/* Skills */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tags span {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.4);
}

/* Projects */
.project-item {
    margin-top: 20px;
}

.project-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
}

.project-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

/* Muted text */
.muted {
    color: var(--text-muted);
    font-size: 14px;
}


.about-card {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.about-intro {
    margin-top: 18px;
    font-size: 18px;
    color: var(--text-muted);
    max-width: 720px;
    line-height: 1.6;
}

/* Grid */
.about-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* Items */
.about-item {
    background: rgba(11, 16, 32, 0.6);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 28px;
    border: 1px solid var(--border-glow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.35);
}

.about-item h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    font-size: 17px;
}

.about-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}


.skills-card {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.skill-group {
    background: rgba(11, 16, 32, 0.6);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 26px;
    border: 1px solid var(--border-glow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.skill-group:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.35);
}

.skill-group h3 {
    font-family: 'Poppins', sans-serif;
    margin-bottom: 14px;
    font-size: 17px;
}

.skill-group .skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-group .skill-tags span {
    padding: 8px 14px;
    font-size: 13px;
    border-radius: 999px;
    background: rgba(167, 139, 250, 0.15);
    border: 1px solid var(--border-glow);
    transition: all 0.3s ease;
}

.skill-group .skill-tags span:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 18px rgba(167, 139, 250, 0.4);
}
/* Particles background */
#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: auto;
}

main, header, section, nav, footer {
  position: relative;
  z-index: 1;
}


body {
  margin: 0;
  background-color: #0f172a; 
  color: white;
}