:root {
    --bg-color: #050508;
    --text-main: #f8f9fa;
    --text-muted: #adb5bd;
    --accent-1: #00f2fe;
    --accent-2: #4facfe;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Blobs */
.blob-bg {
    position: fixed;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, rgba(0, 242, 254, 0) 70%);
    z-index: -1;
    animation: float 20s infinite alternate ease-in-out;
}

.blob-2 {
    top: auto;
    bottom: -10%;
    left: auto;
    right: -10%;
    background: radial-gradient(circle, rgba(161, 140, 209, 0.15) 0%, rgba(251, 194, 235, 0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.2); }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    padding: 15px 5%;
    background: rgba(5, 5, 8, 0.8);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent-1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Layout Utilities */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    display: inline-block;
    background: linear-gradient(90deg, #fff, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header .line {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    margin-top: 10px;
    border-radius: 2px;
}

/* Glass Card Global Style */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 242, 254, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
}

.hero-content {
    max-width: 800px;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-1);
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.name {
    font-size: clamp(3rem, 8vw, 5.5rem);
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #ffffff, #a8b2c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 400;
}

.summary {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.badge i {
    color: var(--accent-1);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent-1);
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.primary-btn {
    background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
    color: #000;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.secondary-btn {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-main);
}

/* About / Education */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.education-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.icon-wrapper {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-1);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.edu-details h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.edu-details h4 {
    font-size: 1rem;
    color: var(--accent-2);
    font-weight: 400;
    margin-bottom: 10px;
}

.date {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.extra-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.extra-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.extra-card h4 i {
    color: var(--accent-1);
}

.extra-card p, .extra-card ul {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.extra-card ul {
    padding-left: 20px;
}

.extra-card li {
    margin-bottom: 8px;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 20px;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 0 40px 50px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--accent-1);
    border-radius: 50%;
    left: 12px;
    top: 15px;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-1);
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin: 10px 0 5px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 15px;
}

.timeline-content ul {
    padding-left: 20px;
    color: var(--text-muted);
}

.timeline-content li {
    margin-bottom: 8px;
}

.timeline-content .relevance {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--glass-border);
    list-style-type: none;
    color: var(--text-main);
    font-size: 0.9rem;
}

.timeline-content .relevance strong {
    color: var(--accent-2);
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-icon {
    font-size: 2rem;
    color: var(--accent-1);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tags span {
    font-size: 0.8rem;
    padding: 4px 10px;
    background: rgba(79, 172, 254, 0.1);
    color: var(--accent-2);
    border-radius: 4px;
    font-weight: 500;
}

.project-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Skills */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
}

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-1);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--accent-1);
    transform: translateY(-2px);
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 5%;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

footer p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--accent-1);
    transform: translateY(-3px);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Special Intern Animation */
.special-intern-anim {
    animation: pulse-glow 3s infinite alternate;
    transition: all 0.5s ease;
}

.special-dot {
    box-shadow: 0 0 15px 5px var(--accent-1);
    animation: pulse-dot 2s infinite alternate;
}

.special-content {
    border-color: rgba(0, 242, 254, 0.4) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.15) !important;
}

@keyframes pulse-glow {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

@keyframes pulse-dot {
    0% { transform: scale(1); box-shadow: 0 0 10px 2px var(--accent-1); }
    100% { transform: scale(1.3); box-shadow: 0 0 20px 8px var(--accent-1); }
}

/* Responsive */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: rgba(5, 5, 8, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .contact-badges {
        justify-content: center;
    }

    .hero-cta {
        justify-content: center;
    }
}
