:root {
    --primary-color: #6366f1;
    --secondary-color: #a855f7;
    --accent-color: #ec4899;
    --background-color: #0d1117;
    --text-color: #f0f6fc;
    --glass-background: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Animated Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: blobify 20s infinite alternate;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -50px;
    animation: blobify 25s infinite alternate-reverse;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-color);
    top: 50%;
    left: 40%;
    animation: blobify 18s infinite alternate;
}

@keyframes blobify {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 8%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
}

.pre-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
}

.hero-content h1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.highlight {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.contact-chips {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
}

.chip {
    padding: 0.5rem 1.2rem;
    background: var(--glass-background);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Animations */
.fade-in { animation: fadeIn 1s ease forwards; }
.fade-in-delay { animation: fadeIn 1s ease 0.3s forwards; }
.fade-in-delay-2 { animation: fadeIn 1s ease 0.6s forwards; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
.content-section {
    padding: 10rem 15%;
}

.section-title {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin-bottom: 5rem;
    text-align: center;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timeline-item {
    padding: 2.5rem;
    position: relative;
    border-radius: 30px;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.org {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.timeline-item ul {
    list-style: none;
}

.timeline-item ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    opacity: 0.9;
}

.timeline-item ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Skill Grid */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.hobby-card {
    background: var(--glass-background);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.hobby-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.hobby-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hobby-card h3 {
    margin-bottom: 1rem;
}

/* Education Card */
.education-card {
    max-width: 100%;
}

.edu-header {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.edu-logo {
    font-size: 3rem;
}

.edu-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.degree {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

.period {
    opacity: 0.6;
}

/* Glass Card */
.glass-card {
    background: var(--glass-background);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.contact-container {
    padding: 5rem;
    text-align: center;
    border-radius: 40px;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.contact-btn {
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 700;
    transition: all 0.3s;
}

.contact-btn.secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
}

.contact-btn:hover {
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 5rem 10%;
    text-align: center;
    opacity: 0.4;
    font-size: 0.9rem;
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 1024px) {
    .content-section {
        padding: 8rem 8%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 4rem;
    }

    .contact-chips {
        flex-direction: column;
        align-items: center;
    }

    .edu-header {
        flex-direction: column;
        text-align: center;
    }
}
