/* ===== Reset & Fonts ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0f0f0f;
    color: #f0f0f0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: #00ffc6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.9);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 255, 200, 0.1);
}

.nav-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #00ffc6;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: 0.2s ease-in-out;
}

.nav-links a:hover {
    color: #ffffff;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding-top: 80px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 255, 198, 0.2) 0%, transparent 70%);
    z-index: 0;
    filter: blur(100px);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 4px solid #00ffc6;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 0 40px rgba(0, 255, 198, 0.4);
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    color: #ffffff;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-top: 10px;
}

/* ===== Section Layout ===== */
.section {
    padding: 100px 30px;
    max-width: 1100px;
    margin: auto;
}

.section h2 {
    text-align: center;
    font-size: 2rem;
    color: #00ffc6;
    margin-bottom: 60px;
}

/* ===== Project Cards ===== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 255, 200, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 255, 200, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 255, 200, 0.2);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-bottom: 10px;
}

.card-content a {
    font-weight: 600;
}

/* ===== About ===== */
.about p {
    max-width: 800px;
    margin: auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* ===== Contact ===== */
.contact ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
    padding: 40px 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
    background: #0a0a0a;
    margin-top: 100px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-links {
        gap: 20px;
    }
}

.project-card .no-img {
    padding: 30px 25px;
}

.project-card .no-img h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-card .no-img p {
    opacity: 0.85;
    margin-bottom: 10px;
}