/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: center;
    background: #0f172a;
    padding: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar a {
    color: #cbd5e1;
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar a:hover, .navbar a.active {
    color: #38bdf8;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(56, 189, 248, 0.5);
    margin-bottom: 24px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto;
}

.social-links {
    margin-top: 25px;
}

.social-links a {
    color: white;
    font-size: 1.6rem;
    margin: 0 12px;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: #38bdf8;
}

/* --- Content Container --- */
.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 30px;
}

h2 {
    font-size: 1.8rem;
    color: #0f172a;
    margin-bottom: 24px;
    position: relative;
}

/* --- Tech Stack Grid --- */
.tech-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.icon-box {
    background: white;
    padding: 25px 15px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 12px 20px rgba(0,0,0,0.05);
}

.icon-box img {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.icon-box span {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #475569;
}

/* --- Experience & Education Items --- */
.glass-effect {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.item {
    margin-bottom: 35px;
    border-left: 3px solid #e2e8f0;
    padding-left: 20px;
}

.item h3 {
    color: #1e40af;
    margin-bottom: 5px;
}

.item p {
    color: #475569;
}

.item ul {
    margin-top: 10px;
    margin-left: 20px;
    color: #475569;
}

/* --- Responsive Layout --- */
@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .glass-effect { padding: 30px 20px; }
    .navbar { padding: 1rem; }
}
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


