:root {
    --bg-color: #f4f6f9;
    --card-bg: #ffffff;
    --text-primary: #1a1a2e;
    --text-secondary: #5e5e70;
    --accent-cyan: #00bfcc;
    --accent-purple: #9d00ff;
    --accent-gradient: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
    pointer-events: none;
    z-index: 1000;
    opacity: 0.6;
    mix-blend-mode: multiply;
}

.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 191, 204, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left 0.1s ease, top 0.1s ease;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(244, 246, 249, 0.85);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.2rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links .cta-button {
    padding: 0.6rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--accent-cyan);
    transition: all 0.3s ease;
}

.nav-links .cta-button:hover {
    background: rgba(0, 242, 255, 0.1);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(189, 0, 255, 0.1);
    border: 1px solid rgba(189, 0, 255, 0.3);
    color: var(--accent-purple);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.primary-btn {
    padding: 1rem 2rem;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 242, 255, 0.3);
}

.secondary-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
}

.secondary-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--text-primary);
}

.hero-visual {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    z-index: 1;
}

/* Hero Visual Image */
/* Hero Visual Image */
.hero-image {
    width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(157, 0, 255, 0.15),
        0 0 30px rgba(0, 191, 204, 0.1);
    animation: float 8s infinite ease-in-out;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.education-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 16px;
    margin-top: 2rem;
}

.education-card h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.education-card .degree {
    font-weight: 700;
    font-size: 1.1rem;
}

.education-card .school {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-card {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-purple);
}

.stat-card i {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Projects Section */
.dark-bg {
    background: #e8ecf2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-cyan);
    box-shadow: 0 10px 40px -10px rgba(0, 242, 255, 0.1);
}

.card-header {
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-cyan);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.project-card h3 {
    font-size: 1.4rem;
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-stack span {
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    color: var(--text-secondary);
}

/* Skills Section */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.skill-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.8rem;
}

.skill-list {
    list-style: none;
}

.skill-list li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
}

.skill-list li::before {
    content: '▹';
    color: var(--accent-cyan);
    margin-right: 0.8rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--glass-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.cert-item i {
    color: var(--accent-purple);
}

.mt-5 {
    margin-top: 3rem;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--bg-color);
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.2rem;
}

.timeline-content h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
}

.subsection-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 4rem;
}

.present-list {
    list-style: none;
    max-width: 800px;
}

.present-list li {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    border-left: 3px solid var(--accent-purple);
}

.present-list strong {
    color: var(--text-primary);
}

/* Contact Section */
.contact-section {
    text-align: center;
    padding-bottom: 2rem;
}

.contact-subtitle {
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 200px;
}

.contact-card:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 191, 204, 0.08);
    transform: translateY(-5px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
}

.main-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin-bottom: 3rem;
        max-width: 100%;
    }

    .hero-section h1 {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        position: relative;
        right: auto;
        width: 100%;
        height: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .logo {
        margin: 0 auto;
    }
}