* {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    background: radial-gradient(circle at top left, #2b0a52, #0b0317 70%);
    color: white;
    overflow-x: hidden;
}

/* Prevent fixed mobile nav from covering section titles */
section {
    scroll-margin-top: 90px;
}

.container-fluid {
    padding: 0 120px;
}

@media (max-width: 1024px) {
    .container-fluid {
        padding: 0 20px !important;
    }
}

a {
    text-decoration: none;
    transition: .3s;
}

a:hover {
    text-decoration: underline !important;
}

/* Side Navigation */
.side-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 999;
}

.nav-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* background: rgba(255, 255, 255, 0.08); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: .3s;
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    color: #a855f7;
    background: rgba(168, 85, 247, .15);
}

.nav-link.active {
    background: #a855f7;
    color: white;
    box-shadow: 0 0 30px rgba(168, 85, 247, .8);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

/* Particle layer */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Individual particle */
.hero-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(168, 85, 247, .8);
    animation: floatParticle linear infinite;
    opacity: .7;
}

/* Animation */
@keyframes floatParticle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    10% {
        opacity: .7;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) scale(0);
        opacity: 0;
    }
}

/* Keep your hero content above particles */
.hero .container {
    position: relative;
    z-index: 2;
}

.hero {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    background: transparent;
    padding: 150px 0px;
}

/* Avatar */
.avatar-glow {
    width: auto;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, #a855f7, #4c1d95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 80px rgba(168, 85, 247, .6);
    animation: pulse 4s infinite;
}

.avatar-img {
    width: auto;
}

/* Hello Tag */
.hello-tag {
    position: absolute;
    top: -80px;
    right: 30px;
    color: #a855f7;
    font-size: 26px;
}

.hello-tag span {
    color: white;
    font-weight: 600;
}

/* Text */
.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text span {
    color: #a855f7;
}

.small-title {
    color: #bbb;
    font-size: 24px;
}

.tagline {
    margin-top: 20px;
    color: #fff;
    max-width: 500px;
}

/* Button */
.btn-primary {
    background: #a855f7;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 0 30px rgba(168, 85, 247, .6);
}

.btn-primary:hover {
    background: #ffffff;
    color: #a855f7;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none !important;
    box-shadow: 0 0 30px rgba(168, 85, 247, .6);
}

/* Glow animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 60px rgba(168, 85, 247, .5);
    }

    50% {
        box-shadow: 0 0 100px rgba(168, 85, 247, .9);
    }

    100% {
        box-shadow: 0 0 60px rgba(168, 85, 247, .5);
    }
}

/* About */
.about-dark {
    padding-bottom: 60px;
    background: transparent;
}

.about-title {
    text-align: center;
}

.about-title h2 {
    letter-spacing: 4px;
    font-weight: 700;
    color: white;
}

.title-line {
    width: 60px;
    height: 3px;
    background: #a855f7;
    margin: 15px auto 15px;
}

/* Glass Card */
.about-card {
    /* max-width: 900px; */
    /* margin: auto; */
    padding: 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    box-shadow: 0 0 80px rgba(168, 85, 247, .25);
    transition: .4s;
}

.about-card:hover {
    box-shadow: 0 0 120px rgba(168, 85, 247, .5);
    transform: translateY(-5px);
}

.about-name {
    font-size: 32px;
    font-weight: 700;
    color: white;
}

.about-card p {
    line-height: 1.9;
    margin-top: 20px;
    color: #fff;
}

.about-card span {
    color: #a855f7;
    font-weight: 500;
}

.about-info {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    color: #eee;
}

/* Design Process */
.process-section {
    padding-bottom: 60px;
    color: white;
    text-align: center;
}

.design-process {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.section-title {
    letter-spacing: 4px;
    font-weight: 700;
}

.section-subtitle {
    color: #fff;
    margin-top: 10px;
}

.process-step {
    margin-top: 40px;
}

.process-icon {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(168, 85, 247, .4);
    transition: .4s;
}

.process-icon i {
    font-size: 36px;
    color: #a855f7;
}

.process-step h5 {
    margin-top: 50px;
    font-weight: 600;
}

.process-step p {
    font-size: 16px;
    color: #bbbbbb;
}

.process-step:hover .process-icon {
    transform: scale(1.15);
    box-shadow: 0 0 80px rgba(168, 85, 247, .8);
}

/* Skills section */
.skills-premium {
    padding-bottom: 60px;
    color: white;
}

.skill-block {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(20px);
    /* box-shadow: 0 0 60px rgba(168, 85, 247, .25); */
    transition: .4s;
}

.skill-block:hover {
    box-shadow: 0 0 15px rgba(168, 85, 247, .5);
    transform: translateY(-5px);
}

.skill-block h4 {
    color: #a855f7;
    margin-bottom: 20px;
    font-weight: 600;
}

.skill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-grid span {
    padding: 10px 18px;
    background: rgba(168, 85, 247, .12);
    border-radius: 50px;
    font-size: 16px;
    color: #ddd;
    transition: .3s;
    cursor: default;
}

.skill-grid span:hover {
    background: #a855f7;
    color: white;
    box-shadow: 0 0 30px rgba(168, 85, 247, .8);
}

/* Experience section */
.resume-section {
    padding-bottom: 60px;
    color: white;
}

.resume-heading {
    color: #a855f7;
    margin-bottom: 30px;
    font-weight: 600;
}

.timeline {
    border-left: 2px solid rgba(168, 85, 247, .4);
    padding-left: 30px;
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: "";
    width: 14px;
    height: 14px;
    background: #a855f7;
    border-radius: 50%;
    position: absolute;
    left: -38px;
    top: 0px;
}

.timeline-item h5 {
    font-weight: 600;
}

.timeline-item span {
    color: #fff;
    font-size: 18px;
}

.timeline-item .date {
    color: #a855f7;
    font-size: 13px;
    margin: 5px 0 15px;
}

.timeline-item ul {
    padding-left: 18px;
    color: #bbb;
}

.timeline-item li {
    margin-bottom: 8px;
}

.project-card li {
    margin-bottom: 8px;
}

.tools {
    margin-top: 10px;
    color: #a855f7;
    font-size: 16px;
}

/* Projects */
.project-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    /* box-shadow: 0 0 50px rgba(168, 85, 247, .25); */
}

.project-card h5 {
    font-weight: 600;
}

.project-card span {
    color: #a855f7;
    font-size: 16px;
}

.project-card ul {
    margin-top: 15px;
    color: #bbb;
}

.project-links a {
    /* margin-right: 15px; */
    color: #a855f7;
    text-decoration: none;
}

.project-links span {
    margin-right: 15px;
    margin-left: 15px;
}

/* Certificate section */
.cert-section {
    padding-bottom: 60px;
    color: white;
}

/* Grid consistency */
.cert-section .col-lg-4,
.cert-section .col-md-6 {
    display: flex;
}

/* Card */
.cert-card {
    position: relative;
    width: 100%;
    height: 320px;
    /* Fixed height for all */
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    /* box-shadow: 0 0 15px rgba(168, 85, 247, .5); */
    transition: .5s;
}

.cert-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s ease;
}

/* Hover image effect */
.cert-card:hover img {
    transform: scale(1.1);
    filter: blur(2px) brightness(.35);
}

/* Overlay */
.cert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 3, 23, .95), rgba(11, 3, 23, .7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: .4s;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

/* Text */
.cert-overlay h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 6px;
}

.cert-overlay p {
    font-size: 16px;
    line-height: 1.6;
    color: #bbb;
}

.cert-overlay span {
    color: #a855f7;
    font-size: 16px;
    margin-top: 5px;
}

/* Button */
.cert-overlay a {
    margin-top: 15px;
    display: inline-block;
    background: #a855f7;
    color: white;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    width: max-content;
    box-shadow: 0 0 30px rgba(168, 85, 247, .7);
}

/* Hover card glow */
.cert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px rgba(168, 85, 247, .5);
}

/* Portfolio section */
.portfolio-section {
    padding-bottom: 60px;
    color: white;
}

/* Filter */
.portfolio-filter button {
    background: none;
    border: none;
    color: #fff;
    margin: 0 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.portfolio-filter .active,
.portfolio-filter button:hover {
    color: #a855f7;
}

/* Grid */
.portfolio-item {
    display: flex;
}

/* Card */
.portfolio-card {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* box-shadow: 0 0 40px rgba(168, 85, 247, .25); */
    transition: .4s;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px rgba(168, 85, 247, .5);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .6s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
    filter: blur(2px) brightness(.4);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 3, 23, .95), rgba(11, 3, 23, .7));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: .4s;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h5 {
    font-weight: 600;
}

.portfolio-overlay span {
    color: #a855f7;
    font-size: 16px;
}

.portfolio-overlay a {
    margin-top: 15px;
    background: #a855f7;
    color: white;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    width: max-content;
    box-shadow: 0 0 30px rgba(168, 85, 247, .7);
}

/* Blog section */
/* .blog-section {
    padding-bottom: 60px;
    color: white;
}

.blog-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: .4s;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 15px rgba(168, 85, 247, .5);
}

.blog-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card p {
    color: #bbb;
    line-height: 1.7;
}

.blog-card a {
    display: inline-block;
    margin-top: 20px;
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
} */

.blog-section {
    padding-bottom: 60px;
    color: white;
}

.blog-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    overflow: hidden;
    transition: .4s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(168, 85, 247, .6);
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-content {
    padding: 35px;
}

.blog-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.blog-card p {
    color: #bbb;
    line-height: 1.7;
    font-size: 15px;
}

.blog-card a {
    display: inline-block;
    margin-top: 20px;
    color: #a855f7;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.blog-card a:hover {
    color: #c084fc;
}

/* Footer */
.contact-strip {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item i {
    font-size: 40px;
    color: #a855f7;
    margin-bottom: 10px;
}

.contact-item span {
    color: #a855f7;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-item p {
    margin-top: 6px;
    font-size: 18px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    transition: .3s;
}

.contact-item a:hover {
    color: #a855f7;
    text-decoration: underline;
}

.minimal-footer {
    padding: 60px 0 60px;
    /* color: #2d2d2d; */
    background: #170630;
}

.footer-name {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
}

.footer-tagline {
    max-width: 520px;
    margin: 15px auto 40px;
    font-size: 16px;
    color: #c1c1c1;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0a66c2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: .3s;
    text-decoration: none;
}

.social-btn:nth-child(2) {
    background: #111;
}

.social-btn:hover {
    transform: scale(1.1);
    opacity: .85;
}

.footer-bottom {
    font-size: 14px;
    color: #666;
}

.footer-bottom p {
    margin: 4px 0;
}

/* Cursor */
body {
    cursor: none;
    user-select: none;
}

a:hover,
span:hover,
button:hover,
.nav-link:hover,
p:hover {
    cursor: none;
}

.blob-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, #c084fc, #7c3aed);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    filter: blur(2px);
    mix-blend-mode: screen;
    transition: width .3s ease, height .3s ease, border-radius .3s ease, filter .3s ease;
}

/* Hover interaction */
a:hover~.blob-cursor,
button:hover~.blob-cursor {
    width: 80px;
    height: 80px;
    border-radius: 20%;
    filter: blur(8px);
}

/* Disable custom cursor on tablets & mobile */
@media (max-width: 1024px) {
    body {
        cursor: default !important;
    }

    .blob-cursor {
        display: none !important;
    }
}

/* ================================
   RESPONSIVE FIX (MOBILE + TABLET)
================================ */

/* Hide desktop side nav on mobile */
@media (max-width: 1024px) {
    .side-nav {
        display: none;
    }
}

/* Mobile Navbar */
.mobile-nav {
    display: none;
}

.mobile-nav {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

@media (max-width: 1024px) {
    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: rgba(11, 3, 23, .95);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .mobile-nav-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 14px 20px;
    }

    .mobile-nav .logo {
        font-size: 20px;
        font-weight: 700;
        color: #a855f7;
    }

    #menuToggle {
        background: none;
        border: none;
        color: white;
        font-size: 28px;
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        padding: 20px;
        background: #0b0317;
    }

    .mobile-menu a {
        padding: 14px 0;
        font-size: 18px;
        color: white;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .mobile-menu.show {
        display: flex;
    }
}