:root {
    --bg-color: #0f0b0a; /* Very dark brown/black */
    --text-primary: #e6e1e0;
    --text-secondary: #a89f91;
    --accent-color: #ffc107; /* Amber/Gold */
    --accent-glow: rgba(255, 193, 7, 0.1);
    --card-bg: #1a1410;
    --card-hover: #261e18;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Space Grotesk', monospace;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    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-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
    background-color: var(--text-secondary);
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    color: #e6f1ff;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    cursor: none; /* Let custom cursor handle it */
}

a:hover {
    color: var(--accent-color);
}

.section-title {
    display: flex;
    align-items: center;
    font-size: clamp(26px, 5vw, 32px);
    margin-bottom: 40px;
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    width: 300px;
    height: 1px;
    background-color: var(--card-hover);
    margin-left: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(15, 11, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-primary);
}

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

.btn-contact {
    border: 1px solid var(--accent-color);
    color: var(--accent-color) !important;
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-contact:hover {
    background: var(--accent-glow);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--accent-color);
    transition: all 0.3s ease-in-out;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10vw;
    padding-top: 80px; /* Header offset */
}

.hero-content {
    max-width: 600px;
}

.greeting {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 16px;
    margin-bottom: 20px;
    display: block;
}

.name {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    color: #e6f1ff;
    margin-bottom: 10px;
}

.role {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.bio {
    max-width: 540px;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 12px 24px;
    font-family: var(--font-mono);
    font-size: 14px;
    border-radius: 4px;
    cursor: none;
    transition: var(--transition);
}

.btn-primary {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-glow);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-bg);
}

.btn-secondary:hover {
    background: var(--card-hover);
    border-color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 24px;
    color: var(--text-secondary);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Hero Visual (Abstract Code Card) */
.hero-visual {
    position: relative;
    display: none; /* Hidden on small screens */
}

@media (min-width: 1024px) {
    .hero-visual {
        display: block;
        width: 400px;
        height: 400px;
    }
}

.glass-card {
    position: relative;
    background: rgba(26, 20, 16, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
    z-index: 2;
}

.glass-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.code-snippet pre {
    font-family: var(--font-mono);
    font-size: 14px;
    color: #a8b2d1;
}

.dot-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.keyword { color: #c792ea; }
.variable { color: #ff8f00; }
.string { color: #c3e88d; }
.property { color: #f07178; }
.boolean { color: #ffcb6b; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 1;
}

.blob-1 {
    top: -20px;
    left: -20px;
    width: 200px;
    height: 200px;
    background: #ffc107;
}

.blob-2 {
    bottom: -20px;
    right: -20px;
    width: 250px;
    height: 250px;
    background: #ff8f00;
}

/* Sections Common */
section {
    padding: 100px 0;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover);
}

.stat-card h3 {
    color: var(--accent-color);
    font-size: 32px;
    margin-bottom: 5px;
}

/* 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(--card-hover);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 50px;
}

.timeline-dot {
    position: absolute;
    left: -4px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.2);
}

.timeline-date {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 14px;
    margin-bottom: 8px;
}

.timeline-content h3 {
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 15px;
}

.timeline-content ul {
    list-style-type: none;
}

.timeline-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

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

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-card {
    background: var(--card-bg);
    padding: 30px 25px;
    border-radius: 8px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.folder-icon {
    color: var(--accent-color);
    font-size: 40px;
}

.project-links a {
    color: var(--text-secondary);
    font-size: 20px;
    margin-left: 15px;
}

.project-links a:hover {
    color: var(--accent-color);
}

.project-title {
    color: #e6f1ff;
    font-size: 22px;
    margin-bottom: 10px;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin-top: auto;
}

.project-tech li {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

/* Skills Section */
.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category h3 {
    margin-bottom: 20px;
    color: #e6f1ff;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    background: var(--card-bg);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 14px;
    border: 1px solid transparent;
    transition: var(--transition);
}

.skill-tags span:hover {
    border-color: var(--accent-color);
    background: rgba(255, 193, 7, 0.05);
}

/* Education & Certs */
.dual-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.edu-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid var(--accent-color);
}

.edu-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.edu-card .institution {
    color: var(--text-secondary);
    font-size: 14px;
}

.edu-card .year {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    margin: 5px 0;
}

.cert-list {
    list-style: none;
}

.cert-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.cert-list li i {
    color: var(--accent-color);
    margin-right: 15px;
}

/* Contact Section */
.contact {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 50px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.contact-btn {
    padding: 15px 30px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 16px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-btn:hover {
    background: var(--accent-glow);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 14px;
}

.footer-socials {
    margin-top: 10px;
}

.footer-socials a {
    margin: 0 10px;
    font-size: 18px;
}

/* Awards Section */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.award-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.award-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    background: var(--card-hover);
}

.award-icon {
    font-size: 30px;
    color: var(--accent-color);
}

.award-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #e6f1ff;
}

.award-content p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Extracurricular Section */
.extra-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.extra-card h3 {
    color: #e6f1ff;
    margin-bottom: 10px;
}

.extra-card p {
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0 20px;
    }
    
    .navbar {
        padding: 0;
    }

    .hamburger {
        display: block;
        z-index: 101;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s ease-in-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-btns {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .dual-column {
        grid-template-columns: 1fr;
    }
    
    .cursor-dot, .cursor-outline {
        display: none; /* Hide custom cursor on mobile */
    }
    
    body {
        cursor: auto;
    }
    
    a, .btn {
        cursor: pointer;
    }
}
