:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.6);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #2dd4bf;       /* Teal/Mint */
    --accent-hover: #14b8a6;
    --secondary-accent: #fcd34d; /* Yellow/Gold */
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background effects */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(45,212,191,0.2) 0%, rgba(15,23,42,0) 70%);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(252,211,77,0.15) 0%, rgba(15,23,42,0) 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-50px) scale(1.05); }
}

/* Typography & General */
h1, h2, h3, h4 { color: var(--text-primary); font-weight: 600; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
}
.section-title span { color: var(--accent); }
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.glass-panel {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.section { margin-top: 4rem; }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}
.logo::after { content: '.'; color: var(--accent); }

.nav-links a {
    margin-left: 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; }

/* Hero Section */
.hero { display: flex; align-items: center; justify-content: space-between; min-height: 80vh; padding: 5rem 3rem; margin-top: 8rem; }
.hero-content { display: flex; width: 100%; align-items: center; gap: 4rem; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 1rem; }
.hero-text .highlight { color: var(--accent); }
.hero-text h2 { font-size: 1.8rem; color: var(--text-secondary); margin-bottom: 1.5rem; font-weight: 400; }
.hero-text p { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; max-width: 500px; }

.contact-info { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info a, .contact-info span { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; color: var(--text-primary); transition: color 0.3s ease;}
.contact-info a:hover { color: var(--accent); }
.contact-info i { color: var(--accent); margin-right: 5px; }

.social-links { display: flex; gap: 1.5rem; margin-top: 1rem; }
.social-links a { font-size: 1.8rem; color: var(--text-secondary); }
.social-links a:hover { color: var(--secondary-accent); transform: translateY(-3px); }

.hero-image { flex: 1; display: flex; justify-content: center; }
.image-wrapper {
    width: 350px;
    height: 350px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    border: 5px solid var(--accent);
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.4);
    animation: morph 8s ease-in-out infinite alternate;
}
.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    33% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
    66% { border-radius: 30% 70% 70% 30% / 70% 30% 30% 70%; }
    100% { border-radius: 50% 50% 30% 70% / 50% 50% 70% 30%; }
}

/* About Grid */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.summary p { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.summary strong { color: var(--text-primary); }

.strengths h3 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--secondary-accent); }
.strengths ul { display: flex; flex-direction: column; gap: 1rem; }
.strengths li { display: flex; align-items: flex-start; gap: 15px; color: var(--text-secondary); font-size: 1.05rem; }
.strengths i { color: var(--accent); margin-top: 5px; font-size: 1.2rem; }

/* Timeline (Experience & Education) */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 20px; }
.timeline::before {
    content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 2px;
    background: var(--card-border);
}
.timeline-item { position: relative; padding-left: 30px; margin-bottom: 3rem; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute; left: -7px; top: 5px; width: 16px; height: 16px;
    background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent);
}
.timeline-content {
    background: rgba(255,255,255,0.03); padding: 1.5rem; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05); transition: var(--transition);
}
.timeline-content:hover { transform: translateX(5px); background: rgba(255,255,255,0.06); }
.timeline-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text-primary); }
.timeline-content h4 { font-size: 1.1rem; color: var(--secondary-accent); margin-bottom: 0.5rem; font-weight: 500; }
.date { display: inline-block; padding: 4px 10px; background: rgba(45, 212, 191, 0.1); color: var(--accent); border-radius: 4px; font-size: 0.9rem; margin-bottom: 1rem; }
.timeline-content p { color: var(--text-secondary); }
.highlight-info { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--text-primary) !important; font-size: 1.1rem; }

/* Projects */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }
.project-card {
    background: rgba(255,255,255,0.03); border: 1px solid var(--card-border);
    border-radius: 15px; padding: 2rem; transition: var(--transition); height: 100%;
}
.project-card:hover { transform: translateY(-10px); border-color: var(--accent); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.project-content h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--secondary-accent); }
.project-content p { color: var(--text-secondary); margin-bottom: 1.5rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.5rem; }
.tags span {
    padding: 5px 12px; background: rgba(45, 212, 191, 0.1); color: var(--accent);
    border-radius: 20px; font-size: 0.85rem; border: 1px solid rgba(45, 212, 191, 0.2);
}
.btn-link { color: var(--text-primary); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.btn-link:hover { color: var(--accent); }

/* Skills */
.skills-container { display: flex; flex-direction: column; gap: 2rem; }
.skill-category h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--secondary-accent); }
.skill-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.skill-tags span {
    padding: 10px 20px; background: rgba(255,255,255,0.05); color: var(--text-primary);
    border-radius: 8px; font-size: 1rem; transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}
.skill-tags span:hover { background: var(--accent); color: #000; font-weight: 600; border-color: var(--accent); transform: scale(1.05); }

/* Footer */
footer { text-align: center; padding: 2rem; color: var(--text-secondary); font-size: 0.9rem; border-top: 1px solid var(--card-border); margin-top: 2rem; }

/* Responsive */
@media (max-width: 991px) {
    .hero-content { flex-direction: column-reverse; text-align: center; }
    .hero-text p { margin: 0 auto 2rem; }
    .contact-info { align-items: center; }
    .social-links { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; }
    .hero { padding: 3rem 2rem; }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute; right: -100%; top: 70px; width: 100%; height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); display: flex; flex-direction: column;
        align-items: center; justify-content: center; transition: right 0.3s ease;
    }
    .nav-links.active { right: 0; }
    .nav-links a { margin: 1.5rem 0; font-size: 1.2rem; }
    .hamburger { display: block; }
    .hero-text h1 { font-size: 3rem; }
    .image-wrapper { width: 280px; height: 280px; }
    .glass-panel { padding: 2rem 1.5rem; }
}
