:root {

    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --accent-color: #334155;

    --accent-light: #f1f5f9;
    --border-color: #e2e8f0;
    --card-shadow: none;
    --card-hover-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);

    --font-heading: 'IBM Plex Serif', Georgia, serif;
    --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition: all 0.2s ease-out;
}

* {
    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);
    line-height: 1.7;
    overflow-x: hidden;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

.section {
    padding: 6rem 0;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: var(--accent-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 1rem auto 0;
}

.accent {
    color: var(--accent-color);
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled {
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.98);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-color);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}


.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 10% 0;
    background: #ffffff;
}

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

.greeting {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.name {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.title {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-weight: 400;
}

.bio {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--text-primary);
    color: #fff;
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    transform: none;
    box-shadow: none;
}

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

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

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

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

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


.hero-visual {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% 60%;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: var(--transition);
}

.profile-img:hover {
    filter: grayscale(0%);
}


#about {
    background-color: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

.education-timeline {
    margin-top: 2.5rem;
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
}

.edu-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.edu-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
}

.edu-item .year {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.edu-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.edu-item .grade {
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.stat-card:hover {
    transform: none;
    border-color: var(--text-primary);
}

.stat-card h3 {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}


#skills {
    background-color: var(--bg-secondary);
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

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

.skill-category:hover {
    border-color: var(--text-primary);
    transform: none;
}

.skill-category h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tags span {
    background: var(--bg-secondary);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover .skill-tags span {
    background: #fff;
    border-color: var(--accent-color);
    color: var(--accent-color);
}


.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    margin-bottom: 4rem;
    width: 100%;
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    z-index: 2;
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: -5px;
    transform: translateX(-140%);
    text-align: right;
    font-weight: 600;
    color: var(--accent-color);
    width: 200px;
    font-family: var(--font-heading);
}

.timeline-content {
    width: 45%;
    margin-left: auto;
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--text-primary);
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

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

.timeline-content ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--text-secondary);
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
}


#projects {
    background-color: var(--bg-secondary);
}

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

.project-card {
    background: var(--bg-color);
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    border-color: var(--text-primary);
    transform: none;
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.tech-stack {
    color: var(--accent-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.link-btn {
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.link-btn:hover {
    color: var(--accent-color);
    text-decoration: underline;
}


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

.achievement-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.achievement-card:hover {
    border-color: var(--text-primary);
    transform: none;
    box-shadow: none;
}

.achievement-card .icon {
    font-size: 2rem;
    color: var(--accent-color);
}

.achievement-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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


#leadership {
    background-color: var(--bg-secondary);
}

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

.lead-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.lead-card:hover {
    border-color: var(--text-primary);
    transform: none;
    box-shadow: none;
}

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

.lead-card .role {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

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


.contact-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.contact-card:hover {
    border-color: var(--text-primary);
}

.contact-card i {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.contact-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: var(--transition);
}

.social-pill:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    font-size: 1.05rem;
    padding: 0.9rem 2.5rem;
}

#contact .container {
    text-align: center;
}


footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
}


@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-visual {
        margin-top: 3rem;
        width: 250px;
        height: 250px;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

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

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-social {
        flex-wrap: wrap;
        justify-content: center;
    }

    .skills-wrapper {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-date {
        position: relative;
        left: 30px;
        top: -10px;
        transform: none;
        text-align: left;
        margin-bottom: 1rem;
    }

    .timeline-content {
        width: 90%;
        margin-left: 30px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .name {
        font-size: 2.5rem;
    }

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