@font-face {
    font-family: "PolySans Bulky";
    src: url("assets/font/polysanstrial-bulky.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f9f9f9;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #0F3775;
    --accent-color: #0F3775;
    --accent-hover: #0a2a5a;
    --border-color: rgba(15, 55, 117, 0.1);
    --shadow-color: rgba(15, 55, 117, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.9);
    --input-bg: rgba(0, 0, 0, 0.05);
    --input-border: rgba(0, 0, 0, 0.1);
    --accent-color-rgb: 15, 55, 117;
    --loading-bg: #ffffff;
    --loading-text: #000000;
}

body.dark-mode {
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(255, 255, 255, 0.02);
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --text-muted: #b0b0b0;
    --accent-color: #289DF2;
    --accent-hover: #1e7fc7;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(40, 157, 242, 0.2);
    --nav-bg: rgba(0, 0, 0, 0.45);
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-border: rgba(255, 255, 255, 0.1);
    --accent-color-rgb: 40, 157, 242;
    --loading-bg: #0a0a0a;
    --loading-text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.loading-screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease;
}

.glitch-container {
    text-align: center;
}

.glitch-title {
    font-family: "PolySans Bulky", sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: white;
    position: relative;
    display: inline-block;
    letter-spacing: -2px;
    animation: glitchAppear 0.5s ease forwards;
}

@keyframes glitchAppear {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.glitch-title::before,
.glitch-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.glitch-title::before {
    color: #289DF2;
    animation: glitch1 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

.glitch-title::after {
    color: #ff3366;
    animation: glitch2 3s infinite;
    clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 88%, 100% { transform: translate(0); opacity: 0; }
    89% { transform: translate(-4px, 1px); opacity: 1; }
    90% { transform: translate(4px, -1px); opacity: 1; }
    91% { transform: translate(0); opacity: 0; }
    93% { transform: translate(-2px); opacity: 1; }
    94% { transform: translate(0); opacity: 0; }
}

@keyframes glitch2 {
    0%, 88%, 100% { transform: translate(0); opacity: 0; }
    89% { transform: translate(4px, -1px); opacity: 1; }
    90% { transform: translate(-4px, 1px); opacity: 1; }
    91% { transform: translate(0); opacity: 0; }
    93% { transform: translate(2px); opacity: 1; }
    94% { transform: translate(0); opacity: 0; }
}

.glitch-sub {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #289DF2;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.glitch-bar-wrap {
    width: 280px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    margin: 1.8rem auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.glitch-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #289DF2, #ff3366);
    animation: fillBar 2s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
    border-radius: 2px;
    box-shadow: 0 0 8px #289DF2;
}

@keyframes fillBar {
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.bg-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.3) 0%, transparent 70%);
    top: 10%;
    left: -10%;
    animation: floatBgCircle1 20s ease-in-out infinite;
}

.bg-circle-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.2) 0%, transparent 70%);
    top: 50%;
    right: -15%;
    animation: floatBgCircle2 25s ease-in-out infinite;
}

.bg-circle-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.25) 0%, transparent 70%);
    bottom: 10%;
    left: 30%;
    animation: floatBgCircle3 30s ease-in-out infinite;
}

@keyframes floatBgCircle1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -30px) scale(1.1); }
    50% { transform: translate(-30px, 40px) scale(0.9); }
    75% { transform: translate(30px, 20px) scale(1.05); }
}

@keyframes floatBgCircle2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-40px, 50px) scale(1.15); }
    66% { transform: translate(50px, -40px) scale(0.85); }
}

@keyframes floatBgCircle3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    20% { transform: translate(40px, -50px) scale(1.1); }
    40% { transform: translate(-50px, 30px) scale(0.9); }
    60% { transform: translate(30px, 50px) scale(1.05); }
    80% { transform: translate(-30px, -40px) scale(0.95); }
}

.page { display: none; }
.page.active { display: block; }

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 12%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.3s ease;
}

.logo img {
    height: 25px;
    width: auto;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-left: 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo .logo-light { display: block; }
.logo .logo-dark { display: none; }
body.dark-mode .logo .logo-light { display: none; }
body.dark-mode .logo .logo-dark { display: block; }

.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-left: auto;
    margin-right: 2rem;
    overflow: hidden;
}

body:not(.dark-mode) .theme-toggle {
    background: #ffffff;
    border: 2px solid #d0d0d0;
}

body:not(.dark-mode) .burger-menu span { background: #000000; }
body.dark-mode .burger-menu span { background: #ffffff; }
body:not(.dark-mode) .burger-menu:hover span,
body:not(.dark-mode) .burger-menu.active span { background: #000000; }
body.dark-mode .burger-menu:hover span,
body.dark-mode .burger-menu.active span { background: #ffffff; }

body.dark-mode .theme-toggle {
    background: #1a1a1a;
    border: 2px solid #808080;
}

.theme-toggle i {
    position: absolute;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body:not(.dark-mode) .theme-toggle i {
    left: 3px;
    background: #2a2a2a;
    color: #ffffff;
}

body.dark-mode .theme-toggle i {
    left: calc(100% - 25px);
    background: #ffffff;
    color: #1a1a1a;
}

.theme-toggle:hover { border-color: var(--accent-color); }
.theme-toggle:hover i { box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.4); }
.theme-toggle:active { transform: scale(0.95); }

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover,
.nav-links a.active { color: var(--accent-color); }

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.burger-menu.active span:nth-child(2) { opacity: 0; }
.burger-menu.active span:nth-child(3) { transform: rotate(-45deg) translate(3.5px, -3.5px); }
.burger-menu:hover span { background: var(--accent-color); }

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(var(--vh, 1vh) * 100);
    background: white;
    backdrop-filter: blur(20px);
    z-index: 999;
    transition: right 0.4s ease;
    padding: 100px 2rem 2rem;
}

body.dark-mode .mobile-menu {
    background: black;
    border-left: 1px solid var(--border-color);
}

.mobile-menu.active { right: 0; }

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: var(--accent-color);
    padding-left: 10px;
}

.hero {
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 700px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.animate-in-left {
    opacity: 1;
    transform: translateX(0);
}

.hero-image {
    flex: 1;
    max-width: 600px;
    padding-left: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image.animate-in-right {
    opacity: 1;
    transform: translateX(0);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--accent-color);
    opacity: 0;
    transition: all 0.8s ease;
}

.scroll-indicator.animate-in-bottom {
    opacity: 0.8;
    animation: scrollIndicatorMove 1.5s ease infinite;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 1.6rem;
}

.hero-status.closed {
    color: #ff4d4d;
    border: 2px solid #ff4d4d;
    background: rgba(255, 77, 77, 0.08);
}

.hero-status.closed .status-dot {
    background: #ff4d4d;
    animation: blinkRed 1.4s infinite;
}

.hero-status.open {
    color: #22a800;
    border: 2px solid #22a800;
    background: rgba(255, 77, 77, 0.08);
}

.hero-status.open .status-dot {
    background: #22a800;
    animation: blinkRed 1.4s infinite;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

@keyframes blinkRed {
    0% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,168,77,0.7); }
    50% { opacity: 0.4; }
    100% { opacity: 1; box-shadow: 0 0 0 8px rgba(255,77,77,0); }
}

@keyframes blinkGreen {
    0% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,77,77,0.7); }
    50% { opacity: 0.4; }
    100% { opacity: 1; box-shadow: 0 0 0 8px rgba(255,77,77,0); }
}

.hero h1 {
    font-family: "PolySans Bulky", -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.3rem;
    color: var(--text-primary);
}

.hero h1 .highlight { color: var(--accent-color); }

.hero p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.hero-bottom-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tech-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(var(--accent-color-rgb), 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.tech-badge i { font-size: 1.1rem; }

.hero-buttons { display: flex; gap: 16px; }

.hero-buttons .btn {
    min-width: 70px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.btn-port {
    background: var(--accent-color);
    color: var(--bg-primary);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-port:hover {
    background: var(--accent-hover);
    box-shadow: 0 4px 12px var(--shadow-color);
    transform: translateY(-1px);
}

.profile-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 370px;
}

#lottie-animation {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.profile-img-wrapper:hover #lottie-animation {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.scroll-indicator .arrow {
    width: 10px;
    height: 10px;
    margin: 0.5rem auto 0;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg);
}

@keyframes scrollIndicatorMove {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 8px); opacity: 0.5; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

.about {
    padding: 8rem 12%;
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.about-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: "PolySans Bulky";
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle,
.section-subtitlee {
    color: var(--text-muted);
    font-size: 1rem;
}

.highlight { color: var(--accent-color); }

.about-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.8s ease;
}

.about-content.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-image-wrapper { position: relative; }

.about-img {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 60px rgba(var(--accent-color-rgb), 0.4);
    transition: all 0.4s ease;
}

.about-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(var(--accent-color-rgb), 0.6);
}

.about-text-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.about-greeting {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin: 0;
    display: flex;
    gap: 0.5rem;
}

.about-name {
    font-family: "PolySans Bulky";
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.name-letter {
    display: inline-block;
    opacity: 0;
    animation: dropNameLetter 0.8s forwards;
}

@keyframes dropNameLetter {
    0% { opacity: 0; transform: translateY(-40px) rotateX(-90deg); }
    50% { transform: translateY(10px) rotateX(20deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0); }
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
    text-align: justify;
    margin-bottom: 1.5rem;
}

.about-bottom-section {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
}

.about-quote-box {
    background: rgba(var(--accent-color-rgb), 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.about-quote-box p {
    font-size: 1rem;
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
}

.about-buttons { display: flex; gap: 1rem; }

.btn-about {
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    height: fit-content;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.1);
}

.about-stats-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.about-stats-wrapper.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-color-rgb), 0.1), transparent);
    transition: left 0.7s;
}

.stat-card:hover::before { left: 100%; }

.stat-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transform: translateY(-5px);
}

.stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-color-rgb), 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: "PolySans Bulky", sans-serif;
    line-height: 1;
}

.stat-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.stat-info { flex: 1; }

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.stat-arrow {
    font-size: 1.2rem;
    color: var(--accent-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    align-self: flex-end;
}

.stat-card:hover .stat-arrow {
    opacity: 1;
    transform: translateX(0);
}

.portfolio-showcase {
    padding: 8rem 8%;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.portfolio-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.portfolio-bg-animation .portfolio-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.12) 0%, rgba(var(--accent-color-rgb), 0.06) 40%, transparent 70%);
    filter: blur(80px);
    animation: floatPortfolioCircle 25s ease-in-out infinite;
}

.portfolio-bg-animation .portfolio-circle-1 {
    width: 500px;
    height: 500px;
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.portfolio-bg-animation .portfolio-circle-2 {
    width: 600px;
    height: 600px;
    top: 60%;
    right: -15%;
    animation-delay: 8s;
}

.portfolio-bg-animation .portfolio-circle-3 {
    width: 450px;
    height: 450px;
    bottom: 5%;
    left: 35%;
    animation-delay: 16s;
}

@keyframes floatPortfolioCircle {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(40px, -40px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.9); }
    75% { transform: translate(30px, 40px) scale(1.05); }
}

.portfolio-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.portfolio-header.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tab-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.tab-navigation.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.tab-btn {
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--accent-color-rgb), 0.2) 0%, rgba(var(--accent-color-rgb), 0.2) 100%);
    transition: left 0.4s ease;
    z-index: 0;
}

.tab-btn:hover::before { left: 0; }

.tab-btn:hover {
    background: rgba(var(--accent-color-rgb), 0.1);
    border-color: rgba(var(--accent-color-rgb), 0.3);
    color: var(--accent-color);
    box-shadow: 0 4px 15px var(--shadow-color);
}

.tab-btn.active {
    background: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.tab-btn.active::before { display: none; }
.tab-btn i { font-size: 1.5rem; position: relative; z-index: 1; }
.tab-btn span { position: relative; z-index: 1; }

.tab-content { display: none; position: relative; z-index: 1; }
.tab-content.active { display: block; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto 2rem;
}

.projects-grid.no-animation .project-card { animation: none !important; }

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    opacity: 0;
}

.project-card.animate-bottom-left { animation: slideInBottomLeft 0.6s ease forwards; }
.project-card.animate-bottom-center { animation: slideInBottomCenter 0.6s ease forwards; }
.project-card.animate-bottom-right { animation: slideInBottomRight 0.6s ease forwards; }

@keyframes slideInBottomLeft {
    from { opacity: 0; transform: translate(-50px, 50px); }
    to { opacity: 1; transform: translate(0, 0); }
}

@keyframes slideInBottomCenter {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInBottomRight {
    from { opacity: 0; transform: translate(50px, 50px); }
    to { opacity: 1; transform: translate(0, 0); }
}

.project-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px var(--shadow-color);
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: var(--input-bg);
    padding: 15px;
    box-sizing: border-box;
}

.project-image::after {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 8px;
    overflow: hidden;
    pointer-events: none;
}

.project-image img {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    position: absolute;
    top: 15px;
    left: 15px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    transition: transform 0.4s ease;
    transform-origin: center center;
}

.project-card:hover .project-image img {
    transform: scale(1.15);
}

.project-content {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--accent-color);
}

.project-description {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    text-align: justify;
}

.project-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-badge {
    padding: 0.4rem 0.8rem;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.project-card:hover .project-badge {
    background: rgba(var(--accent-color-rgb), 0.2);
    border-color: var(--accent-color);
}

.see-more-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.see-more-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.btn-see-more {
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}

.btn-see-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-see-more:hover::before { left: 100%; }

.btn-see-more:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.btn-see-more i { font-size: 1.1rem; transition: transform 0.3s ease; }
.btn-see-more:hover i { transform: translateX(5px); }
.btn-see-more.hidden { display: none; }

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.certificate-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

.certificate-card:hover {
    box-shadow: 0 20px 50px var(--shadow-color);
    border: solid 1px var(--accent-color);
    transform: translateY(-5px);
}

.certificate-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    background: var(--input-bg);
    padding: 15px;
    box-sizing: border-box;
}

.certificate-image img {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    position: absolute;
    top: 15px;
    left: 15px;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    transition: transform 0.4s ease;
    transform-origin: center center;
}

.certificate-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(var(--accent-color-rgb), 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.certificate-card:hover .certificate-glow {
    opacity: 1;
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(0.8) translate(0, 0); }
    50% { transform: scale(1.2) translate(-10%, -10%); }
}

.certificate-card:hover .certificate-image img {
    transform: scale(1.15);
}

.multi-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(var(--accent-color-rgb), 0.9);
    color: var(--bg-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 10;
}

.certificate-content { padding: 1.5rem; }

.certificate-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.certificate-issuer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.certificate-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.certificate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.certificate-modal.active { display: flex; }

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-desktop-layout {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
}

.modal-preview-left { display: none; }

.modal-preview-right {
    width: 180px;
    height: 135px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-preview-right:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.modal-preview-right img { width: 100%; height: 100%; object-fit: cover; }

.modal-main-image { flex: 1; max-width: 1000px; position: relative; }

.modal-main-image img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.modal-tablet-layout {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
}

.modal-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.modal-nav-btn:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.modal-mobile-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 100%;
}

.modal-thumbnails-bottom {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-thumb {
    width: 100px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    opacity: 0.5;
}

.modal-thumb.active {
    border-color: var(--accent-color);
    opacity: 1;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.modal-thumb:hover {
    border-color: var(--accent-color);
    opacity: 0.8;
    transform: scale(1.05);
}

.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px var(--shadow-color);
}

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.project-modal.active { display: flex; }

.project-modal .modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.project-modal .modal-close:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    transform: rotate(90deg);
}

.project-modal .modal-content {
    background: transparent;
    max-width: 1400px;
    width: 100%;
    height: 85vh;
    margin: auto;
    padding: 0;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 0;
    position: relative;
    align-items: stretch;
}

.project-modal-sidebar {
    background: #ffffff;
    border-radius: 16px 0 0 16px;
    padding: 2.5rem;
    overflow-y: auto;
    max-height: 85vh;
}

body.dark-mode .project-modal-sidebar { background: #1a1a1a; }

.project-modal-sidebar::-webkit-scrollbar { width: 6px; }
.project-modal-sidebar::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
body.dark-mode .project-modal-sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); }
.project-modal-sidebar::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.2); border-radius: 10px; }
body.dark-mode .project-modal-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); }
.project-modal-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }
body.dark-mode .project-modal-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.3); }

.project-modal-sidebar h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.project-modal-meta { margin-bottom: 2rem; }

.project-modal-role {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2rem;
}

.project-modal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.project-modal-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.project-modal-section h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.project-modal-section p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}

.project-modal-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.project-modal-badges .project-badge {
    padding: 0.5rem 1rem;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-color);
}

.project-modal-main {
    background: #ffffff;
    border-radius: 0 16px 16px 0;
    overflow-y: auto;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

body.dark-mode .project-modal-main { background: #1a1a1a; }

.project-modal-images { display: flex; flex-direction: column; gap: 0.6%; }
.project-modal-images img { width: 100%; height: auto; display: block; border-radius: 0; }
body.dark-mode .project-modal-images { background: #000000; }
body:not(.dark-mode) .project-modal-images { background: #ffffff; }

.techstack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.techstack-card {
    background: var(--bg-card);
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 70px;
    position: relative;
    overflow: hidden;
}

.techstack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(var(--accent-color-rgb), 0.1), transparent);
    transition: left 0.7s;
}

.techstack-card:hover::before { left: 100%; }

.techstack-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--bg-card-hover);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px var(--shadow-color);
}

.techstack-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
}

.techstack-card:hover .techstack-icon { transform: scale(1.15); }

.techstack-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    transition: opacity 0.3s ease;
}

.techstack-icon .icon-light { opacity: 1; }
.techstack-icon .icon-dark { opacity: 0; }
body.dark-mode .techstack-icon .icon-light { opacity: 0; }
body.dark-mode .techstack-icon .icon-dark { opacity: 1; }

.techstack-info { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }

.techstack-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.techstack-card:hover .techstack-name { color: var(--accent-color); }

.techstack-category {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.techstack-card:hover .techstack-category { opacity: 1; max-height: 50px; }

.contact {
    padding: 8rem 8%;
    background: var(--bg-primary);
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.contact-lottie-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

#lottie-contact {
    width: 100%;
    max-width: 300px;
    height: 260px;
}

.contact-info-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-family: "PolySans Bulky", sans-serif;
}

.contact-info-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.contact-info-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.contact-badge:hover {
    background: rgba(var(--accent-color-rgb), 0.2);
    transform: translateY(-2px);
}

.contact-form-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    width: 100%;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-form .form-group { margin-bottom: 1.5rem; }

.contact-form label {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.required { color: var(--accent-color); }
.optional { color: var(--text-muted); font-weight: 400; }

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.notification-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 1rem;
}

.notification-popup.show { opacity: 1; visibility: visible; }

.notification-content {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    box-shadow: 0 20px 60px var(--shadow-color);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.notification-popup.show .notification-content {
    transform: scale(1);
    animation: popupBounce 0.5s ease;
}

@keyframes popupBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.notification-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 3px solid var(--accent-color);
    position: relative;
}

.notification-icon::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    animation: pulseRing 1.5s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.notification-icon i { font-size: 2.5rem; color: var(--accent-color); }

.notification-icon.error {
    border-color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
}

.notification-icon.error::before { border-color: #ff4d4d; }
.notification-icon.error i { color: #ff4d4d; }

.notification-message { text-align: center; }

.notification-message h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.notification-message p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.notification-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    background: rgba(var(--accent-color-rgb), 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.notification-close:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    border-color: var(--accent-color);
    transform: rotate(90deg);
}

.contact-social {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.contact-social h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-buttons-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.social-btn {
    background: var(--input-bg);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.social-btn i { font-size: 1.5rem; color: var(--accent-color); }
.social-btn span { font-size: 0.9rem; line-height: 1.3; }
.social-btn small { font-size: 0.75rem; color: var(--text-muted); }

.social-disabled {
    opacity: 0.45;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(100%);
}

.contact-comments-section {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    max-height: 900px;
    position: relative;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.comments-header i { font-size: 1.5rem; color: var(--accent-color); }
.comments-header h3 { font-size: 1.3rem; color: var(--text-primary); }

.comment-form .form-group { margin-bottom: 1.5rem; }

.comment-form label {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
}

.disabled-upload {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.file-upload { position: relative; }
.file-upload input[type="file"] { display: none; }

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem;
    background: var(--input-bg);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
}

.file-upload-label:hover {
    border-color: var(--accent-color);
    background: var(--bg-card-hover);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.file-size-info {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.comments-list-wrapper {
    flex: 1;
    overflow-y: auto;
    margin-top: 2rem;
    padding-right: 0.5rem;
    position: relative;
}

.comments-list-wrapper::-webkit-scrollbar { width: 6px; }
.comments-list-wrapper::-webkit-scrollbar-track { background: var(--input-bg); border-radius: 10px; }
.comments-list-wrapper::-webkit-scrollbar-thumb { background: rgba(var(--accent-color-rgb), 0.3); border-radius: 10px; }
.comments-list-wrapper::-webkit-scrollbar-thumb:hover { background: rgba(var(--accent-color-rgb), 0.5); }

.comment-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--input-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: var(--bg-card-hover);
    border-color: rgba(var(--accent-color-rgb), 0.2);
}

.pinned-comment-item {
    border: 1px solid rgba(var(--accent-color-rgb), 0.3);
    background: rgba(var(--accent-color-rgb), 0.05);
}

.comment-avatar { flex-shrink: 0; }

.comment-avatar img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
}

.default-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(var(--accent-color-rgb), 0.2);
    border: 2px solid rgba(var(--accent-color-rgb), 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.comment-content { flex: 1; }

.comment-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.comment-name { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }

.admin-badge {
    padding: 0.2rem 0.6rem;
    background: rgba(var(--accent-color-rgb), 0.2);
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-color);
}

.pinned-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    background: transparent;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent-color);
}

.pinned-badge-inline i { font-size: 0.65rem; }

.comment-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: auto;
}

.comment-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.9rem;
}

footer {
    padding: 1.5rem 8%;
    border-top: 1px solid var(--border-color);
    background: white;
}

body.dark-mode footer { background: rgba(0, 0, 0, 0.5); }

.footer-bottom { text-align: center; }
.footer-bottom p { color: #0F3775; font-size: 0.9rem; }
body.dark-mode .footer-bottom p { color: white; }

.music-player-simple {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--nav-bg);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 0px solid var(--accent-color);
    border-radius: 50px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    z-index: 999;
    box-shadow: 0 10px 40px var(--shadow-color);
    transition: all 0.4s ease;
    cursor: pointer;
    max-width: 240px;
    opacity: 1;
}

.music-player-simple.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.music-player-simple:hover {
    box-shadow: 0 15px 50px rgba(var(--accent-color-rgb), 0.4);
    transform: translateY(-2px);
}

.music-icon-simple {
    width: 35px;
    height: 35px;
    background: rgba(var(--accent-color-rgb), 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.music-icon-simple i { font-size: 0.9rem; color: var(--accent-color); transition: all 0.3s ease; }
.music-player-simple:hover .music-icon-simple { background: var(--accent-color); }
.music-player-simple:hover .music-icon-simple i { color: var(--bg-primary); }

.music-info-simple { flex: 1; min-width: 0; }

.music-title-simple {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-status-simple { font-size: 0.65rem; color: var(--text-muted); }
.animate-section { opacity: 0; transition: opacity 0.8s ease; }
.animate-section.animate-in { opacity: 1; }
#home { opacity: 1 !important; transform: translateY(0) !important; }

@media (max-width: 1200px) {
    .about-content { grid-template-columns: 300px 1fr; gap: 3rem; }
    .about-stats-wrapper { grid-template-columns: 1fr; gap: 1.5rem; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .techstack-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    nav { padding: 1rem 6%; }
    .hero { flex-direction: column; text-align: left; padding-top: 120px; gap: 2rem; }
    .hero h1 { font-size: 3rem; }
    .hero p { text-align: justify; }
    .hero-image { order: 1; margin-bottom: 2rem; }
    .profile-img-wrapper { width: 280px; height: 280px; }
    .hero-content { order: 2; padding-left: 0; }
    .hero-bottom-section { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .hero-buttons { width: 100%; }
    .btn-port { width: 100%; text-align: center; }
    .about { padding: 5rem 6%; }
    .about-header { margin-bottom: 3rem; }
    .section-title { font-size: 2rem; }
    .about-img { max-width: 220px; }
    .about-greeting { font-size: 2rem; justify-content: center; }
    .about-name { font-size: 1.8rem; }
    .about-description { font-size: 0.9rem; text-align: justify; }
    .about-quote-box { text-align: center; }
    .about-buttons { flex-direction: column; width: 100%; }
    .btn-about { width: 100%; justify-content: center; }
    .about-stats-wrapper { grid-template-columns: 1fr; }
    .stat-card { padding: 1.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .techstack-grid { grid-template-columns: 1fr; }
    .certificates-grid { grid-template-columns: 1fr; }
    .tab-btn { font-size: 0.9rem; padding: 1rem; }
    .social-buttons-row { grid-template-columns: 1fr; }
    .pinned-badge-inline { display: none; }
    .section-subtitle { text-align: justify; }
    .project-modal { padding: 1.5rem; }
    .project-modal .modal-content { grid-template-columns: 350px 1fr; gap: 0; }
    .hero {
        padding-top: 100px;
        padding-bottom: 3rem;
        min-height: auto;
        gap: 3rem;
    }
    .hero-image {
        order: 1;
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        justify-content: center;
        margin-bottom: 0;
    }
    .profile-img-wrapper {
        width: 320px;
        height: 320px;
        max-width: 320px;
    }
    .hero-content {
        order: 2;
        max-width: 100%;
        text-align: left;
    }
    .about {
        padding: 5rem 8%;
        min-height: auto;
    }
    .about-content {
        grid-template-columns: 200px 1fr;
        gap: 2.5rem;
        text-align: left;
    }
    .about-image-wrapper {
        display: flex;
        justify-content: center;
    }
    .about-img {
        max-width: 200px;
    }
    .about-text-wrapper {
        align-items: flex-start;
    }
    .about-greeting {
        justify-content: flex-start;
    }
    .about-stats-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    .stat-card {
        padding: 1.2rem;
    }
    .stat-number {
        font-size: 2rem;
    }
    .contact-header {
        text-align: center;
    }
    .contact-header .section-title {
        text-align: center;
    }
    .contact-header .section-subtitle {
        text-align: center;
    }
    .contact-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 600px;
    }
    .contact-lottie-side { order: -1; }
    #lottie-contact { max-width: 240px; height: 220px; }
    .contact-form-section { width: 100%; max-width: 100%; }
}

@media (max-width: 768px) {
    .loading-icon { width: 45px; height: 45px; gap: 1rem; }
    .loading-icon i { font-size: 20px; }
    .loading-title { font-size: 2rem; }
    .loading-url { font-size: 0.8rem; }
    nav { padding: 0.8rem 6%; }
    .theme-toggle { width: 50px; height: 26px; margin-right: 1rem; }
    .theme-toggle i { width: 18px; height: 18px; font-size: 0.6rem; left: 2px; }
    body.dark-mode .theme-toggle i { left: calc(100% - 20px); }
    .nav-links { display: none; }
    .burger-menu { display: flex; }
    .music-player-simple { bottom: 1rem; right: 1rem; padding: 0.5rem 0.8rem; max-width: 200px; }
    .music-icon-simple { width: 30px; height: 30px; }
    .music-icon-simple i { font-size: 0.8rem; }
    .music-title-simple { font-size: 0.75rem; }
    .music-status-simple { font-size: 0.6rem; }
    .hero { flex-direction: column; text-align: left; gap: 0.5rem; padding: 0 6%; padding-top: 100px; }
    .hero-status { margin-bottom: 1rem; }
    .hero-image { order: 2; display: flex; margin-bottom: 4rem; padding-left: 0%; width: 100%; }
    .profile-img-wrapper { width: 100%; height: 240px; }
    .hero-content { order: 1; padding-left: 0; }
    .hero h1 { font-size: 2rem; margin-bottom: 1rem; }
    .hero p { font-size: 0.9rem; margin-bottom: 1rem; text-align: justify; }
    .hero-bottom-section { flex-direction: column; align-items: flex-start; gap: 1rem; width: 100%; }
    .tech-badges { justify-content: flex-start; }
    .tech-badge:hover { transform: none; }
    .hero-buttons { width: 100%; }
    .btn-port { width: 100%; text-align: center; }
    .scroll-indicator { display: none; }
    .about { padding: 5rem 6%; }
    .about-header { margin-bottom: 3rem; }
    .section-title { font-size: 2rem; }
    .about-content { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .about-image-wrapper { display: flex; justify-content: center; }
    .about-img { max-width: 220px; }
    .about-text-wrapper { align-items: center; }
    .about-greeting { font-size: 2rem; justify-content: center; }
    .about-name { font-size: 1.8rem; }
    .about-description { font-size: 0.9rem; text-align: justify; }
    .about-quote-box { text-align: center; }
    .about-quote-box p { font-size: 0.9rem; }
    .about-bottom-section { flex-direction: column; width: 100%; }
    .about-buttons { flex-direction: column; width: 100%; }
    .btn-about { width: 100%; justify-content: center; }
    .about-stats-wrapper { grid-template-columns: 1fr; }
    .stat-card { padding: 1.5rem; }
    .portfolio-showcase { padding: 5rem 6%; }
    .projects-grid { grid-template-columns: 1fr; }
    .techstack-grid { grid-template-columns: 1fr; }
    .certificates-grid { grid-template-columns: 1fr; }
    .tab-navigation { margin-bottom: 1.5rem; }
    .tab-btn { font-size: 0.9rem; padding: 1rem; }
    .contact { padding: 5rem 6%; }
    .social-buttons-row { grid-template-columns: 1fr; }
    .pinned-badge-inline { display: none; }
    .section-subtitle { text-align: justify; }
    .modal-content img { cursor: zoom-in; transition: transform 0.3s ease; }
    .modal-content img:active { transform: scale(1.5); cursor: zoom-out; }
    .certificate-modal { padding: 0; }
    .modal-content {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }
    .modal-content img {
        width: 100%;
        height: auto;
        max-height: 90vh;
        object-fit: contain;
        cursor: zoom-in;
        transition: transform 0.3s ease;
        border-radius: 8px;
    }
    .modal-content img:active { transform: scale(1.5); cursor: zoom-out; }
    .modal-close { top: 1rem; right: 1rem; width: 40px; height: 40px; font-size: 1.2rem; z-index: 10002; }
    .project-modal { padding: 0; align-items: flex-start; }
    .project-modal .modal-close {
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        background: var(--bg-card);
        border: 2px solid var(--accent-color);
        z-index: 10002;
    }
    .project-modal .modal-content {
        grid-template-columns: 1fr;
        gap: 0;
        height: auto;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
        padding: 0;
        overflow-y: auto;
    }
    .project-modal-sidebar {
        background: var(--bg-card);
        position: relative;
        top: 0;
        max-height: none;
        padding: 4rem 1.5rem 2rem;
        border-radius: 0;
    }
    .project-modal-sidebar h2 { font-size: 1.5rem; }
    .project-modal-main { background: var(--bg-card); max-height: none; border-radius: 0; padding: 0; }
    body.dark-mode .project-modal-main { background: var(--bg-card); }
    .project-modal-images { gap: 1.5rem; padding: 0 1.5rem 2rem; background: transparent; }
    .project-modal-images img { border-radius: 12px; }
    .contact-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    .contact-lottie-side { order: -1; }
    #lottie-contact { max-width: 200px; height: 180px; }
    .contact-form-section { width: 100%; }
}

@media (min-width: 769px) {
    .modal-content { width: 90vw; height: 90vh; display: flex; align-items: center; justify-content: center; }
    .modal-content img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: default; }
    .modal-content img:active { transform: none; cursor: default; }
}

@media (max-width: 480px) {
    .glitch-title { font-size: 3.5rem; }
    .glitch-sub { font-size: 0.75rem; letter-spacing: 3px; }
    .glitch-bar-wrap { width: 200px; }
    .hero-status { font-size: 0.8rem; }
    .hero-status.closed { color: #ff4d4d; border: 1.5px solid #ff4d4d; background: rgba(255, 77, 77, 0.08); }
    .hero-content { margin-top: -1rem; margin-bottom: 0rem; }
    .tech-badge { height: 2.5rem; max-width: 9rem; font-size: 0.9rem; }
    .tech-badge i { font-size: 1.1rem; }
    .section-subtitlee { text-align: center; font-size: 0.9rem; }
    .about-image-wrapper { align-items: center; }
    .hero h1 { font-size: 2rem; }
    .about-name { font-size: 1.9rem; }
    .stat-card { padding: 5% 7% 5% 7%; gap: 1rem; }
    .stat-icon { width: 3rem; height: 3rem; }
    .stat-icon i { font-size: 1.5rem; }
    .stat-number { font-size: 2.1rem; }
    .project-card { animation: none !important; }
    .projects-grid.rendered .project-card { opacity: 1 !important; transform: translate(0, 0) !important; }
    .projects-grid:not(.rendered) .project-card { opacity: 0; }
    .techstack-grid { gap: 1.5rem; }
    .contact { width: 100%; }
    .contact-form-section,
    .contact-comments-section { padding: 1.5rem; }
    .notification-content { padding: 1.5rem; max-width: 90%; }
    .notification-icon { width: 60px; height: 60px; }
    .notification-icon i { font-size: 2rem; }
    .notification-message h4 { font-size: 1.2rem; }
    .notification-message p { font-size: 0.9rem; }
    .music-player-simple { padding: 0.5rem 0.7rem; max-width: 180px; }
    .modal-close { top: 1rem; right: 1rem; width: 40px; height: 40px; font-size: 1.2rem; }
    .modal-content img { cursor: default; }
    .certificate-modal { padding: 0; }
    .modal-content { max-width: 100%; max-height: 100%; width: 100%; height: 100%; padding: 0.5rem; }
    .modal-content img { width: 100%; height: auto; max-height: 95vh; object-fit: contain; border-radius: 4px; }
    .modal-close { top: 0.5rem; right: 0.5rem; width: 35px; height: 35px; font-size: 1rem; }
    .project-modal .modal-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; font-size: 1.1rem; }
    .project-modal-sidebar { padding: 3.5rem 1.2rem 1.2rem; }
    .project-modal-sidebar h2 { font-size: 1.3rem; }
    .project-modal-section { margin-bottom: 1.5rem; padding-bottom: 1.5rem; }
    .project-modal-images { gap: 1.5rem; padding: 1rem; }
    .project-modal-images img { border-radius: 8px; }
    .contact-two-col {
        grid-template-columns: 1fr;
        gap: 4rem;
        max-width: 100%;
    }
    #lottie-contact { max-width: 230px; height: 210px; }
}

@media (max-width: 400px) {
    .about-name { font-size: 1.75rem; }
}

@media (max-width: 360px) {
    .about-name { font-size: 1.7rem; word-break: break-word; white-space: normal; }
    .about-greeting { font-size: 1.6rem; }
    .hero h1 { font-size: 1.75rem; }
    .loading-title { font-size: 2rem; }
    .section-title { font-size: 1.7rem; }
    .about-description { font-size: 0.85rem; }
    .about-quote-box p { font-size: 0.85rem; }
    .stat-number { font-size: 1.8rem; }
    .stat-card { padding: 1rem 1.2rem; }
    .hero { padding: 0 4%; padding-top: 90px; }
    nav { padding: 0.8rem 4%; }
    .about, .portfolio-showcase, .contact { padding: 4rem 4%; }
    .tech-badge { font-size: 0.82rem; padding: 0.4rem 0.9rem; }
    .contact-form-section,
    .contact-comments-section { padding: 1.2rem; }
    .music-player-simple { max-width: 160px; padding: 0.4rem 0.6rem; }
    .music-title-simple { font-size: 0.68rem; }
}

@media (min-width: 1025px) and (max-width: 1366px) {
    nav { padding: 1rem 5%; }
    .hero { padding: 0 5%; gap: 1.5rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero-content { max-width: 560px; }
    .hero-image { max-width: 420px; padding-left: 5%; }
    .profile-img-wrapper { max-width: 380px; height: 300px; }
    .about { padding: 6rem 5%; }
    .about-content { grid-template-columns: 280px 1fr; gap: 2.5rem; }
    .about-img { max-width: 280px; }
    .about-greeting { font-size: 2rem; }
    .about-name { font-size: 2rem; }
    .about-stats-wrapper { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .portfolio-showcase { padding: 6rem 5%; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .techstack-grid { grid-template-columns: repeat(3, 1fr); }
    .contact { padding: 6rem 5%; }
    .project-modal .modal-content { grid-template-columns: 320px 1fr; }
}

.nsp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity .35s ease;
}
.nsp-overlay.nsp-visible {
    display: flex;
    opacity: 1;
}
.nsp-overlay.nsp-hiding {
    opacity: 0;
}
.nsp-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.2rem 2.2rem 2rem;
    max-width: 340px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
    animation: nspIn .45s cubic-bezier(.16,1,.3,1) both;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}
@keyframes nspIn {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

.nsp-title {
    font-family: 'PolySans Bulky', Georgia, serif;
    font-size: clamp(1.7rem, 5vw, 2.2rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.nsp-btn {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: #289DF2;
    color: #fff;
    text-decoration: none;
    padding: .8rem 0;
    border-radius: 8px;
    font-size: .66rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    transition: background .2s, transform .2s, box-shadow .2s;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(40,157,242,.35);
}
.nsp-btn:hover {
    background: #1a8ae0;
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(40,157,242,.5);
}
.nsp-btn i {
    font-size: .62rem;
    transition: transform .2s;
}
.nsp-btn:hover i {
    transform: translateX(4px);
}