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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #1A1A1A;
    overflow-x: hidden;
}

:root {
    --nav-height: 80px;
}

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

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    height: var(--nav-height);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

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

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #FF715A;
}

/* Hero Section */
#hero {
    height: 70vh;
    display: flex;
    align-items: center;
    padding: var(--nav-height) 0 24px 0;
    background: #1A1A1A;
    background-image: radial-gradient(circle at 70% 50%, #2a1f1f 25%, #1A1A1A 40%);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.greeting {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.dot {
    color: #FF715A;
    margin-left: 5px;
}

.name-intro {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.accent-line {
    width: 80px;
    height: 2px;
    background: #FF715A;
}

.name {
    font-size: 2.25rem;
    font-weight: 400;
    color: #ffffff;
}

.title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn.primary {
    background: #FF715A;
    color: white;
    border: none;
}

.btn.primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.btn.secondary {
    background: transparent;
    color: white;
    border: 1px solid #FF715A;
}

.btn.secondary:hover {
    background: rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

/* Hero Right - Image Container */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    /* height: min(45vh, 420px); */
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 3;
    filter: grayscale(20%);
}

.arc-graphic {
    position: absolute;
    top: 100px;
    right: 50px;
    width: 400px;
    height: 400px;
    border: 8px solid #FF715A;
    border-radius: 50%;
    border-bottom: none;
    border-right: none;
    border-top: none;
    z-index: 2;
    opacity: 0.6;
}

.chevron {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #FF715A;
    z-index: 4;
    opacity: 0.4;
}

.chevron-1 {
    top: 20%;
    right: 15%;
    transform: rotate(-45deg);
}

.chevron-2 {
    bottom: 10%;
    left: 5%;
    transform: rotate(45deg);
}

/* Sections */
section {
    padding: 80px 0;
    background: #1A1A1A;
}

section:nth-child(even) {
    background: #1F1F1F;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #ffffff;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

/* Experience & Education */
.experience-item, .education-item, .research-item {
    background: #2A2A2A;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    border-left: 3px solid #FF715A;
}

.company, .institution, .publication {
    font-weight: 600;
    color: #FF715A;
    margin-bottom: 0.5rem;
}

.duration, .year {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.link {
    color: #FF715A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.link:hover {
    color: #ff5252;
    text-decoration: underline;
}

/* Section Note */
.section-note {
    text-align: center;
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Resumes & Documents */
.resumes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resume-card {
    background: #2A2A2A;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s;
    text-align: center;
}

.resume-card:hover {
    border-color: #FF715A;
    transform: translateY(-5px);
}

.resume-card h3 {
    color: #FF715A;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.resume-card p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resume-card .btn {
    margin-top: 1rem;
}

.resume-card h4 {
    color: #FF715A;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

/* Subsections */
.subsection {
    margin: 3rem 0;
}

.subsection-title {
    color: #ffffff;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-align: left;
    border-bottom: 2px solid #FF715A;
    padding-bottom: 0.5rem;
}

/* Document List */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.document-item {
    background: #2A2A2A;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
}

.document-item:hover {
    border-color: #FF715A;
    transform: translateX(5px);
}

.document-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.document-content {
    flex: 1;
}

.document-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.document-content p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.document-link {
    color: #FF715A;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid #FF715A;
    border-radius: 5px;
    transition: all 0.3s;
    white-space: nowrap;
}

.document-link:hover {
    background: #FF715A;
    color: white;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Test Scores */
#testscores .scores-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 1000px;
}

#testscores .score-item {
    background: #2A2A2A;
    padding: 1.75rem 2rem;
    border-radius: 8px;
    border-left: 3px solid #FF715A;
}

#testscores .score-item h3 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

#testscores .score-item p {
    margin: 0;
    color: #94a3b8;
}

.project-card {
    background: #2A2A2A;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
    transition: all 0.3s;
}

.project-card:hover {
    border-color: #FF715A;
    transform: translateY(-5px);
}

.tech-stack {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tech-stack span {
    background: #FF715A;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #fff;
}

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

.project-links a {
    color: #FF715A;
    text-decoration: none;
    font-weight: 500;
}

.project-links a:hover {
    color: #ff5252;
}

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

.skill-category {
    background: #2A2A2A;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skills span {
    background: #FF715A;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Contact */
#contact {
    color: white;
    text-align: center;
}

/* Make About + Hero fill initial viewport height together */
#about {
    height: 30vh;
    padding: 16px 0 24px 0;
    display: flex;
    align-items: center;
}

#about .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#contact h2 {
    color: #ffffff;
}

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

.contact-links a {
    color: #FF715A;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.contact-links a:hover {
    color: #ff5252;
}

/* Responsive */
@media (max-width: 1024px) {
    .title {
        font-size: 3rem;
    }
    
    .name {
        font-size: 1.8rem;
    }
    
    .greeting {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #testscores .scores-list {
        grid-template-columns: 1fr;
    }
    #hero {
        min-height: 100vh;
        padding: var(--nav-height) 0 20px 0;
    }
    #about {
        height: 30vh;
        padding: 16px 0 20px 0;
    }
    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 30px;
        gap: 40px;
        height: 100%;
    }
    
    .nav-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .logo {
        display: none;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .name {
        font-size: 1.5rem;
    }
    
    .greeting {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .arc-graphic {
        display: none;
    }
    
    .chevron {
        display: none;
    }
    
    .contact-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .document-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .document-content {
        text-align: center;
    }
    
    .document-link {
        width: 100%;
        display: block;
    }
    
    .subsection-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    #hero {
        height: 70vh;
        padding: var(--nav-height) 0 16px 0;
    }
    #about {
        height: 30vh;
        padding: 14px 0 16px 0;
    }
    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Scroll Behavior */
#about, #education, #testscores, #experience, #research, #resumes, #projects, #skills, #contact {
    scroll-margin-top: var(--nav-height);
}