* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #0A0C10;
    color: #EFF3F8;
    line-height: 1.5;
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #14181F;
}
::-webkit-scrollbar-thumb {
    background: #2E3A48;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00e87a;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
header {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 232, 122, 0.2);
    position: sticky;
    top: 0;
    background-color: rgba(10, 12, 16, 0.9);
    backdrop-filter: blur(12px);
    z-index: 100;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #E0F2FE, #00e87a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links li a {
    color: #C9D1D9;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links li a:hover, .nav-links li a.active {
    color: #00e87a;
}
.hamburger {
    display: none;
    font-size: 1.7rem;
    cursor: pointer;
    color: #00e87a;
}
.badge-available {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 232, 122, 0.12);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 232, 122, 0.3);
    font-size: 0.85rem;
    font-weight: 500;
    color: #00e87a;
}
.btn-outline {
    display: inline-block;
    background: transparent;
    border: 1.5px solid #00e87a;
    color: #00e87a;
    padding: 0.7rem 1.6rem;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}
.btn-outline:hover {
    background: #00e87a;
    color: #0A0C10;
    box-shadow: 0 0 12px rgba(0,232,122,0.4);
}
.btn-primary {
    background: #00e87a;
    color: #0A0C10;
    border: none;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover {
    background: #00cc6a;
    transform: translateY(-2px);
}
.hero {
    padding: 4rem 0 3rem;
}
.hero-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}
.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(to right, #FFFFFF, #00e87a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}
.hero-desc {
    font-size: 1.2rem;
    color: #B4C4D8;
    max-width: 550px;
    margin-bottom: 1.8rem;
}
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 2rem 0;
}
.tech-stack span {
    background: #1A1F29;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    border: 1px solid #2C3E44;
}
.section-head {
    margin: 3rem 0 2rem;
}
.section-sub {
    font-family: monospace;
    font-size: 0.9rem;
    color: #00e87a;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}
.project-card {
    background: #12161E;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(0, 232, 122, 0.1);
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.5);
    border-color: rgba(0, 232, 122, 0.3);
}
.project-img {
    position: relative;
    min-height: 220px;
    background: #0A0F16;
    overflow: hidden;
    cursor: pointer;
}
.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 12, 16, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.project-img:hover .hover-overlay {
    opacity: 1;
}
.visit-site-btn, .gallery-btn {
    background: #00e87a;
    border: none;
    color: #0A0C10;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    text-decoration: none;
}
.visit-site-btn:hover, .gallery-btn:hover {
    background: #00cc6a;
    transform: scale(1.02);
}

.project-content {
    padding: 1.2rem;
    border-top: 1px solid rgba(0, 232, 122, 0.1);
}
.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}
.project-domain {
    font-family: monospace;
    font-size: 0.7rem;
    color: #00e87a;
    margin-bottom: 0.5rem;
}
.project-desc {
    color: #B8C7DD;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}
.project-tags span {
    background: #1E293B;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #B9E6E2;
}
.about-wrapper {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    background: #0E1219;
    border-radius: 2rem;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(0,232,122,0.15);
}
.about-text {
    flex: 2;
}
.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.contact-links {
    background: #0B0F15;
    padding: 4rem;
    border-radius: 1.5rem;
    border: 1px solid #202A36;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.contact-item i {
    width: 28px;
    color: #00e87a;
    font-size: 1.25rem;
}
.contact-item a {
    color: #CCE2F5;
    text-decoration: none;
}
.contact-item a:hover {
    color: #00e87a;
}
footer {
    border-top: 1px solid rgba(0,232,122,0.15);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    color: #7E8B9F;
}
/* Lightbox modal */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}
.lightbox-content img {
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.lightbox-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}
.lightbox-nav button {
    background: #00e87a;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}
.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}
@media (max-width: 800px) {
    .container { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        background: #0C1119;
        width: 70%;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: 0.3s;
        border-radius: 1.5rem;
        z-index: 99;
    }
    .nav-links.active { left: 1rem; }
    .hamburger { display: block; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-links { padding: 1.5rem;}
}