:root {
    --bg-color: #0a0a0a;
    --text-color: #e0e0e0;
    --primary-color: #64ffda;
    /* Teal/Cyan accent */
    --secondary-color: #8892b0;
    --card-bg: #112240;
    --nav-bg: rgba(10, 10, 10, 0.85);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

/* Light Mode Variables (Optional for toggle) */
body.light-mode {
    --bg-color: #f0f2f5;
    --text-color: #333;
    --primary-color: #007bff;
    --secondary-color: #555;
    --card-bg: #ffffff;
    --nav-bg: rgba(255, 255, 255, 0.9);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

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

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    color: var(--primary-color);
}

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

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

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

.eyebrow {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--text-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-heading);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
}

.btn-secondary:hover {
    text-decoration: underline;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo-container {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 25px rgba(100, 255, 218, 0.2);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

.hero-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(100, 255, 218, 0.4);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: "";
    display: block;
    height: 1px;
    width: 200px;
    background-color: var(--secondary-color);
    opacity: 0.3;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
}

.core-competencies h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.competency-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.competency-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

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

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--secondary-color);
    opacity: 0.2;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--text-color);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    font-weight: 400;
    margin-bottom: 1rem;
}

.role-summary {
    margin-bottom: 1rem;
    font-style: italic;
}

.achievements li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

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

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

.skill-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

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

.skill-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.skill-card h3 {
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.skill-card p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

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

.edu-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
}

.edu-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.edu-card .institution {
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.edu-card .date {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Contact Section */
.contact {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content p {
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-family: var(--font-heading);
    transition: var(--transition);
}

.contact-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

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

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

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

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

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-content {
        margin-top: 2rem;
    }

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

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

    .hero-title {
        font-size: 3rem;
    }

    .hero-visual {
        margin-top: 2rem;
        /* Add space between header and photo */
        margin-bottom: 2rem;
    }

    .hero-photo-container {
        width: 250px;
        /* Resize photo on mobile */
        height: 250px;
    }
}