/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d9ff;
    --primary-dark: #00b8d9;
    --secondary-color: #00ffff;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --bg-primary: #1e1e1e;
    --bg-secondary: #252525;
    --bg-alt: #2a2a2a;
    --border-color: #333333;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #1a1a1a;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 25px 25px, rgba(255, 255, 255, 0.12), transparent),
        radial-gradient(1px 1px at 75px 45px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 125px 15px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 175px 35px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 15px 65px, rgba(255, 255, 255, 0.11), transparent),
        radial-gradient(1px 1px at 85px 85px, rgba(255, 255, 255, 0.07), transparent),
        radial-gradient(1px 1px at 145px 55px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 35px 95px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 105px 5px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 155px 75px, rgba(255, 255, 255, 0.07), transparent),
        radial-gradient(1px 1px at 45px 25px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 95px 65px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 135px 25px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 5px 55px, rgba(255, 255, 255, 0.11), transparent),
        radial-gradient(1px 1px at 65px 95px, rgba(255, 255, 255, 0.07), transparent),
        radial-gradient(1px 1px at 115px 35px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 165px 85px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 55px 5px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 185px 45px, rgba(255, 255, 255, 0.07), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

body > * {
    position: relative;
    z-index: 1;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: #1a1a1a;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(1px 1px at 25px 25px, rgba(255, 255, 255, 0.12), transparent),
        radial-gradient(1px 1px at 75px 45px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 125px 15px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 175px 35px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 15px 65px, rgba(255, 255, 255, 0.11), transparent),
        radial-gradient(1px 1px at 85px 85px, rgba(255, 255, 255, 0.07), transparent),
        radial-gradient(1px 1px at 145px 55px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 35px 95px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 105px 5px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 155px 75px, rgba(255, 255, 255, 0.07), transparent),
        radial-gradient(1px 1px at 45px 25px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 95px 65px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 135px 25px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 5px 55px, rgba(255, 255, 255, 0.11), transparent),
        radial-gradient(1px 1px at 65px 95px, rgba(255, 255, 255, 0.07), transparent),
        radial-gradient(1px 1px at 115px 35px, rgba(255, 255, 255, 0.1), transparent),
        radial-gradient(1px 1px at 165px 85px, rgba(255, 255, 255, 0.08), transparent),
        radial-gradient(1px 1px at 55px 5px, rgba(255, 255, 255, 0.09), transparent),
        radial-gradient(1px 1px at 185px 45px, rgba(255, 255, 255, 0.07), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    pointer-events: none;
    opacity: 0.8;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}


.name {
    display: block;
    background: linear-gradient(120deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-job-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-weight: 400;
    color: var(--text-primary);
}

.hero-location {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    font-weight: 300;
    color: var(--text-secondary);
}

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

.btn {
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #1a1a1a;
}

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

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

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.2);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
}

/* Section Styles */
.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: #1a1a1a;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 auto;
    max-width: 700px;
}

/* Experience Timeline */
.experience-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
    animation: fadeInLeft 0.6s ease;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 4px solid var(--bg-primary);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.timeline-content {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.timeline-company {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.timeline-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

ul.timeline-description {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

ul.timeline-description > li {
    margin-bottom: 0.75rem;
    padding-left: 0;
    color: var(--text-secondary);
    line-height: 1.7;
    list-style-position: outside;
}

ul.timeline-description > li > ul {
    list-style-type: circle;
    padding-left: 3rem !important;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-left: 0 !important;
    margin-top: 0.75rem;
}

ul.timeline-description > li > ul > li {
    margin-bottom: 0.5rem;
    padding-left: 0;
    display: list-item;
    list-style-position: outside;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.timeline-skills li {
    background-color: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.education-card {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.education-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.education-icon svg {
    width: 30px;
    height: 30px;
}

.education-year {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.education-degree {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.education-minor {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-style: italic;
}

.education-school {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.education-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.education-description ul {
    padding-left: 0;
    margin-left: 0;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.education-description li {
    color: var(--text-secondary);
    list-style-position: inside;
    padding-left: 0;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight {
    background-color: rgba(0, 217, 255, 0.1);
    color: var(--primary-color);
    padding: 0.375rem 0.875rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

/* Interests Grid */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.interest-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.interest-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.interest-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.interest-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #1a1a1a;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.interest-icon svg {
    width: 40px;
    height: 40px;
}

.interest-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.interest-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.contact-icon svg {
    width: 30px;
    height: 30px;
}

.contact-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.contact-item p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background-color: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.5);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* Footer */
.footer {
    background-color: #0f0f0f;
    color: var(--text-secondary);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        grid-template-rows: auto auto;
    }

    .hero-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

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


    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 2rem;
    }

    .experience-timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        left: 5px;
        width: 20px;
        height: 20px;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .interests-grid {
        grid-template-columns: 1fr;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

