:root {
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --primary-color: #10b981;
    /* Excel-ish Neon Green */
    --primary-glow: rgba(16, 185, 129, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
}

.logo {
    justify-self: start;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-glow);
    white-space: nowrap;
    /* Prevent logo wrapping */
}

.glass-nav ul {
    justify-self: center;
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.glass-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.glass-nav a svg {
    stroke: var(--text-color);
    transition: stroke 0.3s;
}

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

.glass-nav a:hover svg {
    stroke: var(--primary-color);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
header {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: #000;
}

/* Services */
section {
    padding: 8rem 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s, background 0.3s;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--card-hover-bg);
    border-color: rgba(255, 255, 255, 0.2);
}

/* About Section Unified */
.about-card-unified {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.profile-image-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(16, 185, 129, 0.3);
    /* Green glowy border */
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.profile-name {
    text-align: center;
    color: var(--primary-color);
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.about-text {
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: #cbd5e1;
}

.about-text strong {
    color: var(--primary-color);
}

.philosophy-wrapper {
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.05);
    /* Very subtle green bg */
    border-radius: 10px;
    display: inline-block;
}

.philosophy-wrapper p {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.skills-section {
    margin: 3rem 0;
}

.skills-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #fff;
}

.skills-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-badge svg {
    stroke: currentColor;
}

.skill-badge:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--primary-glow);
}

.about-footer {
    max-width: 700px;
    margin: 0 auto;
    color: #94a3b8;
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .about-card-unified {
        padding: 2rem 1.5rem;
    }
}

/* Contact */
.contact-container {
    text-align: center;
    max-width: 800px;
}

.contact-container p {
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-link {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: var(--primary-color);
}

.contact-link svg {
    stroke: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    border-top: 1px solid var(--glass-border);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

/* Mobile & Tablet */
@media (max-width: 1024px) {
    .glass-nav {
        /* Switch to flex for easier header layout on mobile */
        display: flex !important;
        /* Force flex over grid */
        justify-content: space-between;
        /* Space out: Logo Left, Burger Right */
        padding: 1rem 1.5rem;
        align-items: center;
    }

    .menu-toggle {
        display: block !important;
        /* Force show hamburger */
        z-index: 1100;
        /* Ensure clickable */
    }

    .glass-nav ul {
        display: none;
        /* Hide default desktop ul style if leaked */
    }

    /* Target with higher specificity to override desktop .glass-nav ul */
    .glass-nav .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--glass-border);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 2rem;

        /* Dropdown Animation */
        display: none !important;
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.3s, transform 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .glass-nav .nav-links.active {
        display: flex !important;
        opacity: 1;
        transform: translateY(0);
    }

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

    .glass-nav .nav-links li {
        width: 100%;
        text-align: center;
    }

    .glass-nav .nav-links a {
        width: 100%;
        padding: 0.5rem 0;
        justify-content: center;
        border-bottom: none;
    }
}