/* Custom CSS only — convert the supplied photo to pure black silhouette via CSS filter and provide layout tweaks. No JavaScript. */


/* --- theme / frame fixes --- */

:root {
    --bg: #f6f7f9;
    --panel: #ffffff;
    --muted: #6b7280;
    --accent1: linear-gradient(135deg, #ffd27f 0%, #ff8a8a 100%);
    --page-bg-light: radial-gradient(circle at 10% 10%, #fff 0%, #f0f4fb 30%, var(--bg) 100%);
    --page-bg-dark: radial-gradient(circle at 20% 10%, rgba(4, 6, 12, 0.9) 0%, rgba(11, 17, 30, 0.85) 40%, #070a12 100%);
    --text-light: #e6eef6;
    --text-dark: #0b0b0c;
}

body {
    /* use a soft light background to match index.html classes */
    background: var(--page-bg-light);
    color: var(--text-dark);
}


/* site wrapper panel is already white in the HTML but make shadow nicer */

.site-wrapper {
    background: var(--panel);
    overflow: visible;
    padding-right: 3.5rem;
    /* keep header visible while scrolling */
    position: sticky;
    top: 0;
    z-index: 999;
    margin-top: .75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(15, 20, 30, 0.06);
}


/* subtle hero accent: decorative gradient circle */

.hero-accent {
    position: absolute;
    right: 16%;
    top: 10%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--accent1);
    opacity: 0.18;
    transform: rotate(-12deg);
    filter: blur(22px);
    pointer-events: none;
}


/* hero typography tweaks */

h2.display-1 {
    font-size: clamp(3.6rem, 9vw, 7rem);
    line-height: 0.98;
    letter-spacing: -1px;
    color: #0b0b0c;
    margin-bottom: 0.25rem;
}


/* profile image — remove black silhouette, add strong rim + deep soft shadow like screenshot */

.profile-img {
    /* show real photo (no silhouette) */
    filter: none;
    border: 8px solid #0b0b0c;
    /* black rim */
    box-shadow: 0 45px 90px rgba(10, 10, 10, 0.18), 0 2px 12px rgba(0, 0, 0, 0.06);
}


/* big profile tuned to look like screenshot */

.big-profile {
    width: 370px;
    height: 370px;
    right: -50px;
    top: 6%;
    border-width: 6px;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.22);
    transition: transform .28s ease, right .28s ease;
    border: 8px solid #fff;
    z-index: 40;
    box-shadow: 0 30px 60px rgba(12, 14, 20, 0.12), inset 0 -6px 14px rgba(255, 255, 255, 0.06);
    transform: translateZ(0);
}

@media (max-width: 1200px) {
    .big-profile {
        right: -12px;
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 992px) {
    .big-profile {
        display: none;
    }
}


/* small profile tuning */

.small-profile {
    width: 160px;
    height: 160px;
    border: 6px solid #0b0b0c;
}


/* project cards */

.project-card {
    border-radius: 12px;
    transition: transform .18s ease, box-shadow .18s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 250, 250, 0.96));
    /* keep balanced height for items */
    min-height: 170px;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(13, 18, 40, 0.08);
}


/* certificates panel */

.cert-panel {
    background: linear-gradient(180deg, #ffffff, #fbfcfe);
    border-radius: 12px;
    border: 1px solid rgba(13, 18, 40, 0.04);
    box-shadow: 0 14px 34px rgba(12, 14, 20, 0.06);
}


/* certificate items look compact and readable */

.cert-item {
    padding: 0.6rem 0;
    color: var(--muted);
    border-bottom: 1px solid rgba(13, 18, 40, 0.04);
    font-size: .95rem;
}

.cert-item:last-child {
    border-bottom: none;
}

.tech-list .badge {
    padding: .35rem .5rem;
    background: #111827;
    color: #fff;
    opacity: .95;
    font-weight: 600;
    font-size: .78rem;
    padding: .32rem .5rem;
}

#certificates .list-group-item {
    background: transparent;
    padding-left: 0;
    color: var(--muted);
    border: 0;
    border-radius: 6px;
    padding: .45rem 0;
}

#certificates .list-group-item:not(:last-child) {
    border-bottom: 1px solid rgba(13, 18, 40, 0.04);
}

header .nav-link {
    color: #0b0b0c;
    font-weight: 500;
    opacity: .9;
}

header .nav-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.skip-link.visually-hidden-focusable {
    position: absolute;
    left: -999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link.visually-hidden-focusable:focus,
.skip-link.visually-hidden-focusable:active {
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    padding: .5rem .75rem;
    background: #111827;
    color: #fff;
    border-radius: 6px;
    z-index: 9999;
}

.main-nav .nav-list {
    align-items: center;
}

.main-nav .nav-link {
    color: #0b0b0c;
    padding: .45rem .55rem;
    border-radius: 6px;
    transition: background .15s ease, color .15s ease, transform .12s ease;
}

.main-nav .nav-link:hover {
    background: rgba(13, 18, 40, 0.04);
    text-decoration: none;
}

.main-nav .nav-link:focus-visible {
    outline: 2px solid rgba(99, 102, 241, 0.95);
    outline-offset: 3px;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.12);
}

.main-nav .nav-link.active,
.main-nav .nav-link[aria-current="page"] {
    background: linear-gradient(90deg, #ffd27f 0%, #ff8a8a 100%);
    color: #111827;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(255, 138, 138, 0.12);
}

.main-nav .nav-link {
    position: relative;
}

.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #ffd27f 0%, #ff8a8a 100%);
    border-radius: 3px;
    transform: translateX(-50%) scaleX(0);
    transition: transform .18s ease, opacity .18s ease;
    opacity: 0;
    pointer-events: none;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus::after,
.main-nav .nav-link:focus-visible::after,
.main-nav .nav-link[aria-current="page"]::after,
.main-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.main-nav .nav-link.active,
.main-nav .nav-link[aria-current="page"] {
    font-weight: 700;
    color: #111827;
    background: linear-gradient(90deg, #ffd27f 0%, #ff8a8a 100%);
    box-shadow: 0 8px 18px rgba(255, 138, 138, 0.12);
}

.main-nav .nav-link:focus-visible {
    outline: 3px solid rgba(99, 102, 241, 0.12);
    outline-offset: 3px;
    box-shadow: none;
}

.main-nav .nav-link[aria-disabled="true"],
.main-nav .nav-link[aria-disabled="true"]:hover {
    opacity: .45;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    filter: grayscale(30%);
}

html {
    scroll-behavior: smooth;
}

#about,
#skills,
#projects,
#certificates,
#contact {
    scroll-margin-top: 96px;
}

.main-nav .nav-link {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.08);
}

section:target {
    transition: box-shadow .18s ease, outline .18s ease;
    outline: 2px solid rgba(255, 138, 138, 0.08);
    outline-offset: 8px;
}

@media (max-width: 991px) {
    .hero-left {
        text-align: center;
    }
    .hero-left .display-1 {
        font-size: clamp(2.6rem, 9vw, 3.6rem);
        text-align: center;
    }
    .hero-right {
        justify-content: center;
        margin-top: 1rem;
    }
    .profile-img {
        width: 200px;
        height: 200px;
    }
    .hero-left .display-1 {
        font-size: clamp(2rem, 10vw, 3.2rem);
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1180px;
    }
    #certificates {
        padding-left: 1.25rem;
    }
}

.row.g-4 {
    gap: 1.25rem;
}

main.container.my-5 {
    margin-top: 1.8rem;
    margin-bottom: 2.25rem;
}

a {
    color: inherit;
}

a:hover {
    text-decoration: none;
    color: #111827;
}

@media (max-width: 767px) {
    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: .5rem;
    }
    .main-nav .btn {
        width: 100%;
        text-align: center;
    }
}

.main-nav .nav-link {
    padding: .5rem .65rem;
    border-radius: 6px;
}

#css-warning {
    display: none !important;
}

body {
    padding-top: 72px;
}

.gradient-text {
    background: linear-gradient(90deg, #4f46e5, #ff7a7a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-photo {
    width: 360px;
    height: 360px;
    display: inline-block;
    position: relative;
}

.hero-glow {
    position: absolute;
    inset: -12px;
    background: radial-gradient(circle at 30% 30%, rgba(79, 70, 229, 0.12), transparent 30%), radial-gradient(circle at 80% 70%, rgba(255, 122, 122, 0.08), transparent 30%);
    filter: blur(30px);
    border-radius: 50%;
    z-index: 0;
}

.profile-photo {
    width: 360px;
    height: 360px;
    object-fit: cover;
    position: relative;
    z-index: 10;
    border-radius: 50%;
    border: 6px solid #0b0b0c;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.22);
}

@media (max-width: 991px) {
    .hero-photo,
    .profile-photo {
        width: 220px;
        height: 220px;
    }
}

.card {
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(10, 10, 20, 0.04);
}

.project-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.project-ico {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cert-card {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    background: #fff;
    padding: 1.25rem;
    box-shadow: 0 18px 36px rgba(10, 10, 20, 0.04);
    transition: transform .15s ease;
}

.cert-card:hover {
    transform: translateY(-6px);
}

.navbar {
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.85);
}

.z-top {
    z-index: 1050;
}

#about,
#skills,
#projects,
#certificates,
#contact {
    scroll-margin-top: 84px;
}

.badge-icon svg,
.project-ico svg {
    opacity: .9;
}

.lead {
    color: #6b7280;
}

.navbar-glass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.60));
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    box-shadow: 0 10px 30px rgba(12, 14, 20, 0.06);
    border-radius: 14px;
    margin: 0.6rem 0;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.navbar-glass:active,
.navbar-glass:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(12, 14, 20, 0.09);
}

.navbar-brand.gradient-text {
    font-weight: 700;
    letter-spacing: -0.2px;
}

.navbar-nav .nav-link {
    color: #0b0b0c;
    padding: .55rem .6rem;
    border-radius: 8px;
    position: relative;
    transition: color .15s ease, background .12s ease, transform .12s ease;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
    background: rgba(14, 22, 38, 0.06);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.02);
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    bottom: 4px;
    width: 58%;
    height: 3px;
    background: linear-gradient(90deg, #4f46e5, #ff7a7a);
    border-radius: 3px;
    transition: transform .18s ease, opacity .18s ease;
    opacity: 0;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link:active::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
    opacity: 1;
}

.navbar-toggler {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(12, 14, 20, 0.06);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.55));
    box-shadow: 0 6px 18px rgba(12, 14, 20, 0.06);
}

.nav-collapse-panel {
    transition: background .18s ease, box-shadow .18s ease, border-radius .18s ease;
}

@media (max-width: 991px) {
    .nav-collapse-panel {
        background: rgba(255, 255, 255, 0.94);
        margin: .5rem;
        padding: .75rem;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(12, 14, 20, 0.06);
    }
    .navbar-nav .nav-link {
        padding: .75rem 1rem;
    }
    .navbar-glass {
        margin: .5rem 0;
        border-radius: 10px;
    }
}

body {
    padding-top: 84px;
}

.navbar-nav .nav-link:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.12);
    outline-offset: 3px;
}

.cert-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(13, 18, 40, 0.04);
    display: block;
    margin: 0 auto;
}

.cert-thumb.rotated {
    object-fit: contain;
    transform: rotate(-90deg);
}

@media (max-width: 576px) {
    .cert-thumb {
        height: 160px;
    }
}

#contact {
    background: transparent;
}

.contact-card {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.09), rgba(255, 122, 122, 0.04));
    border: 1px solid rgba(79, 70, 229, 0.08);
    backdrop-filter: blur(4px);
}

.contact-thumb {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 40px rgba(12, 14, 20, 0.12);
}

.btn-gradient {
    background: linear-gradient(90deg, #4f46e5, #ff7a7a);
    color: #fff;
    border: none;
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.12);
    transition: transform .12s ease, box-shadow .12s ease;
}

.btn-gradient:hover,
.btn-gradient:focus {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.18);
}

.social {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #111827;
}

.social svg {
    width: 18px;
    height: 18px;
    display: block;
}

.social:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(12, 14, 20, 0.08);
}

.hero-social .social-hero {
    width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #111827;
    background: rgba(255, 255, 255, 0.95);
    transition: transform .14s ease, box-shadow .14s ease, background .14s ease;
}

.hero-social .social-hero svg {
    width: 18px;
    height: 18px;
    display: block;
}

.hero-social .social-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(12, 14, 20, 0.08);
    background: linear-gradient(90deg, #f8fafc, #eef2ff);
}

.social.instagram,
.social-hero.instagram {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 50%, #8134af 100%);
    color: #fff;
}

.social.instagram svg,
.social-hero.instagram svg {
    color: #fff;
    opacity: 1;
}

.social.instagram:hover,
.social-hero.instagram:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 36px rgba(219, 79, 124, 0.18);
}

.hero-social .social-hero.instagram {
    background: none;
}

.hero-social .social-hero.instagram:hover {
    background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af);
    color: #fff;
}

@media (max-width: 576px) {
    .hero-social .social-hero {
        width: 40px;
        height: 40px;
    }
}

header {
    position: relative;
}

header::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient( circle at 10% 10%, rgba(79, 70, 229, 0.06), transparent 20%), linear-gradient(180deg, rgba(255, 122, 122, 0.02), rgba(79, 70, 229, 0.02));
    z-index: 0;
}

.client-highlights .badge.highlight {
    border-radius: 999px;
    background: rgba(79, 70, 229, 0.08);
    color: #3b3a6b;
    font-weight: 600;
    border: 1px solid rgba(79, 70, 229, 0.06);
    padding: .45rem .65rem;
}

.btn-gradient {
    transition: transform .14s ease, box-shadow .18s ease;
}

.btn-gradient:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(79, 70, 229, 0.18);
}

.trusted-by .trusted {
    min-width: 64px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: #111827;
    border: 1px solid rgba(13, 18, 40, 0.04);
    font-weight: 700;
    opacity: .95;
    box-shadow: 0 8px 18px rgba(12, 14, 20, 0.04);
    font-size: .85rem;
}

.testimonial {
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #fbfbfd);
    border: 1px solid rgba(13, 18, 40, 0.04);
    transition: transform .18s ease, box-shadow .18s ease;
}

.testimonial:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(12, 14, 20, 0.08);
}

.testimonial p {
    font-style: italic;
    color: #374151;
}

.hero-social .social-hero {
    transition: transform .15s ease, box-shadow .15s ease;
}

.hero-social .social-hero:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(12, 14, 20, 0.08);
}

h1.display-2 {
    letter-spacing: -0.6px;
    z-index: 10;
    position: relative;
}

header .badge {
    z-index: 10;
    position: relative;
}

@media (max-width: 767px) {
    .client-highlights {
        justify-content: center;
    }
    .trusted-by {
        justify-content: center;
        margin-top: .75rem;
    }
    .testimonial {
        margin-bottom: .5rem;
    }
}

:root {
    --page-bg-light: radial-gradient(circle at 10% 10%, #fff 0%, #f0f4fb 30%, var(--bg) 100%);
    --page-bg-dark: radial-gradient(circle at 20% 10%, rgba(4, 6, 12, 0.9) 0%, rgba(11, 17, 30, 0.85) 40%, #070a12 100%);
    --text-light: #e6eef6;
    --text-dark: #0b0b0c;
}

body {
    background: var(--page-bg-light);
    color: var(--text-dark);
}

body.theme-dark {
    background: var(--page-bg-dark);
    color: var(--text-light);
}

body.theme-dark .card,
body.theme-dark .cert-card,
body.theme-dark .project-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
}

.clickable-image {
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

.clickable-image:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.profile-photo,
.contact-thumb {
    cursor: zoom-in;
}

.modal-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.modal-content.bg-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

.modal-header.bg-transparent .btn-close-white {
    background-color: white;
    opacity: 0.8;
}

.modal-header.bg-transparent .btn-close-white:hover {
    opacity: 1;
}

.cert-thumb {
    transition: transform 0.3s ease;
}

.cert-thumb:hover {
    transform: scale(1.05);
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ---- NEW STYLES: Enhanced Aesthetics ---- */

/* Glassmorphism & 3D Parallax for cards */
.card, .project-card, .cert-card {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    transform-style: preserve-3d;
    transition: box-shadow 0.3s ease !important;
}

.card:hover, .project-card:hover, .cert-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 40px rgba(79, 70, 229, 0.1) !important;
}

/* 3D Pop-out elements inside cards on hover */
.card .badge-icon, 
.card .project-ico, 
.card .cert-thumb, 
.card h5,
.card .btn {
    transform: translateZ(30px);
    transition: transform 0.3s ease;
}

.card:hover .badge-icon {
    transform: translateZ(40px) scale(1.1) rotate(5deg);
}

/* Floating animation for hero image */
.profile-photo {
    animation: floating 5s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.bg-dark-900 { background-color: #0b0f19; }
.bg-dark-800 { background-color: #111827; }
.text-neon-cyan { color: #22d3ee; }
.text-neon-green { color: #4ade80; }
.text-neon-red { color: #f87171; }
.text-neon-yellow { color: #facc15; }

/* Enhanced Proficiency Styles */
.prof-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom, #ffffff, #fafafa);
    border: 1px solid rgba(0,0,0,0.04) !important;
}
.prof-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06) !important;
}
.prof-icon-wrapper i {
    transition: transform 0.3s ease;
}
.prof-card:hover .prof-icon-wrapper i {
    transform: scale(1.15);
}

/* Enhanced Project Card Styles */
.project-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.08) !important;
    border-color: rgba(79, 70, 229, 0.2) !important;
}
.project-title {
    transition: color 0.2s ease;
}
.project-card:hover .project-title {
    color: #4f46e5 !important;
}
.project-link-btn {
    transition: all 0.2s ease;
}
.project-card:hover .project-link-btn {
    background-color: #111827;
    color: #ffffff;
}
.project-card:hover .project-card-bg {
    opacity: 1 !important;
}
.transition-opacity {
    transition: opacity 0.3s ease;
}
.pointer-events-none {
    pointer-events: none;
}
.tracking-wide { letter-spacing: 0.05em; }
.tracking-wider { letter-spacing: 0.08em; }
.lh-relaxed { line-height: 1.6; }

/* Pulsing effect for the background glow */
.hero-glow {
    animation: pulsing 6s infinite alternate;
}

@keyframes pulsing {
    0% { filter: blur(30px) opacity(0.7); transform: scale(1); }
    100% { filter: blur(45px) opacity(1); transform: scale(1.15); }
}

/* Enhanced icon badges */
.badge-icon {
    background: linear-gradient(135deg, #e0e7ff 0%, #fae8ff 100%) !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15) !important;
    transition: transform 0.3s ease;
}

.card:hover .badge-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Gradient borders on project icons */
.project-ico {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}
.project-ico::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 10px;
    background: linear-gradient(135deg, #4f46e5, #ff7a7a);
    z-index: -1;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.card:hover .project-ico::before {
    opacity: 1;
}

/* ==========================================================================
   AEGIS CYBERPUNK TERMINAL & INTERACTIVE PORTFOLIO STYLES
   ========================================================================== */

/* --- Cyberpunk / Sci-Fi HUD HUD elements --- */
.text-neon-cyan {
    color: #00f0ff !important;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.text-neon-green {
    color: #39ff14 !important;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
}

.text-neon-red {
    color: #ff0055 !important;
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.4);
}

/* --- Interactive Console Frame --- */
.terminal-wrapper {
    background: #060913;
    border: 1px solid #1c2b48;
    border-radius: 12px;
    box-shadow: 0 25px 65px rgba(2, 4, 10, 0.8), 0 0 20px rgba(0, 240, 255, 0.1);
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
    background: #0d1527;
    border-bottom: 1px solid #1c2b48;
    padding: 12px 18px;
}

.terminal-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.terminal-dots .dot-red { background: #ff5f56; }
.terminal-dots .dot-yellow { background: #ffbd2e; }
.terminal-dots .dot-green { background: #27c93f; }

.terminal-nav .btn-tab {
    background: transparent;
    border: 1px solid transparent;
    color: #627b9f;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.terminal-nav .btn-tab.active {
    background: #11203b;
    border-color: #00f0ff;
    color: #00f0ff;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

.terminal-body {
    height: 480px;
    display: flex;
    flex-direction: column;
}

.terminal-tab-content {
    display: none;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.terminal-tab-content.active {
    display: flex;
}

.terminal-console-output {
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
    background: #03050c;
    border-radius: 6px;
    border: 1px solid #0f1c35;
    color: #8da2c4;
    font-size: 0.9rem;
    line-height: 1.5;
}

.terminal-console-output::-webkit-scrollbar {
    width: 6px;
}
.terminal-console-output::-webkit-scrollbar-track {
    background: #03050c;
}
.terminal-console-output::-webkit-scrollbar-thumb {
    background: #1e355c;
    border-radius: 3px;
}

.terminal-console-output p {
    margin-bottom: 6px;
    word-break: break-all;
}

.terminal-input-wrapper {
    display: flex;
    align-items: center;
    background: #03050c;
    border: 1px solid #1c2b48;
    border-radius: 6px;
    padding: 8px 12px;
}

.terminal-prompt {
    color: #00f0ff;
    margin-right: 10px;
    font-weight: bold;
    user-select: none;
}

.terminal-input-field {
    background: transparent;
    border: none;
    color: #39ff14;
    flex-grow: 1;
    outline: none;
    font-family: inherit;
    font-size: 0.95rem;
}

/* --- Terminal Threat Feed --- */
.threat-feed-item {
    padding: 8px 10px;
    border-left: 2px solid #ff0055;
    background: rgba(255, 0, 85, 0.05);
    margin-bottom: 8px;
    border-radius: 0 4px 4px 0;
    font-size: 0.85rem;
}
.threat-feed-item.info {
    border-left-color: #00f0ff;
    background: rgba(0, 240, 255, 0.05);
}
.threat-feed-item.success {
    border-left-color: #39ff14;
    background: rgba(57, 255, 20, 0.05);
}

/* --- Radar Pulse effect --- */
.pulse-light {
    position: relative;
}
.pulse-light::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: currentColor;
    top: 0;
    left: 0;
    opacity: 0.4;
    animation: radar-pulse 1.8s infinite;
}

@keyframes radar-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.8); opacity: 0; }
}

/* --- Scanlines Overlay --- */
.scanlines {
    position: relative;
    overflow: hidden;
}
.scanlines::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 10;
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
}

/* --- Project category filter --- */
.filter-btn-group .btn-filter {
    background: #fff;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.2s ease;
}
.filter-btn-group .btn-filter:hover {
    background: #f3f4f6;
}
.filter-btn-group .btn-filter.active {
    background: #111827;
    color: #fff;
    border-color: #111827;
}

/* --- Technical Proficiency Grid --- */
.prof-badge-high {
    background-color: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
}
.prof-badge-inter {
    background-color: #dbeafe;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
}
.prof-badge-working {
    background-color: #fef9c3;
    color: #a16207;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
}

/* --- Cover Letter Preview Card --- */
.cover-letter-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.cover-letter-preview-box {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Single Box Technical Proficiency Layout Styles */
.prof-matrix-box {
    border-radius: 20px !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}
.prof-inner-box {
    transition: transform 0.3s ease;
}
.prof-section:hover .prof-inner-box {
    transform: translateY(-4px);
}

@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
}
@media (min-width: 1200px) {
    .border-start-xl {
        border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
    }
    .border-start-xl-none {
        border-left: 0 !important;
    }
}

/* ===== PREMIUM PROJECT CARDS ===== */

/* Filter buttons */
.proj-filter-group { gap: 8px; }
.proj-filter-btn {
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.08);
    color: #374151;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.83rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.proj-filter-btn:hover { background: #f3f4f6; transform: translateY(-1px); }
.proj-filter-btn.active {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(79,70,229,0.3);
}

/* Card base */
.pro-card {
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    cursor: default;
}
.pro-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}

/* Ambient glow blob */
.pro-card-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    top: -60px;
    right: -60px;
    opacity: 0.12;
    filter: blur(50px);
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.pro-card:hover .pro-card-glow { opacity: 0.22; }

/* Inner content */
.pro-card-inner { min-height: 300px; }

/* Description text */
.pro-desc {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

/* Tags */
.pro-tag {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 500;
}

/* Category badge */
.pro-cat-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 20px;
}

/* Live badge */
.pro-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(74,222,128,0.12);
    color: #4ade80;
    border: 1px solid rgba(74,222,128,0.25);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}
.pro-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: live-pulse 1.5s infinite;
}
@keyframes live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* CTA button */
.pro-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.pro-link-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: #0a0a0a;
}
