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

:root {
    --primary-color: #000000;
    --secondary-color: #C28E0E;
    --accent-color: #9D9795;
    --purdue-gold: #C28E0E;
    --purdue-black: #000000;
    --purdue-silver: #9D9795;
    --text-color: #1a1a1a;
    --light-bg: #f7f7f7;
    --white: #ffffff;
    --border-color: #ddd;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Left Sidebar Navigation */
.sidebar {
    width: 25%;
    max-width: 320px;
    min-width: 250px;
    background-color: var(--purdue-black);
    color: var(--white);
    padding: 2rem 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--purdue-gold);
    border-radius: 4px;
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--purdue-gold);
}

/* Style for the golden horizontal line */
hr.golden-line {
  /* Set thickness (height) and color */
  height: 5px; 
  background-color: #ffd700; /* Hex code for gold */
  
  /* Remove the default border which can cause visual issues */
  border: none;
  
  /* Set a maximum width and center the line */
  width: 5cm; /* Limits the width to 5cm */
  margin: auto; /* Centers the line automatically */
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--purdue-gold);
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(194, 142, 14, 0.3);
}

.logo-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 700;
}

.logo-section .title {
    color: var(--purdue-gold);
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.logo-section .affiliation {
    color: var(--purdue-silver);
    font-size: 0.9rem;
}

/* Navigation Menu */
.nav-menu {
    list-style: none;
    margin-bottom: 2rem;
}

.nav-menu li {
    margin-bottom: 0.5rem;
}

.nav-menu a {
    display: block;
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.nav-menu a:hover {
    background-color: rgba(194, 142, 14, 0.2);
    border-left-color: var(--purdue-gold);
    padding-left: 1.5rem;
}

.nav-menu a.active {
    background-color: var(--purdue-gold);
    color: var(--purdue-black);
    border-left-color: var(--purdue-gold);
    font-weight: 700;
}

/* Contact Section in Sidebar */
.contact-section {
    padding-top: 2rem;
    border-top: 2px solid var(--purdue-gold);
}

.contact-section h3 {
    color: var(--purdue-gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.contact-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration: none;
}

.contact-links a:hover {
    transform: scale(1.2);
    filter: brightness(1.5);
}

/* Main Content Area */
.main-content {
    margin-left: 25%;
    width: 75%;
    padding: 3rem;
    background-color: var(--white);
}

/* Hero Section */
.hero-section {
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 3rem;
    color: var(--purdue-black);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-underline {
    width: 80px;
    height: 4px;
    background-color: var(--purdue-gold);
    margin-bottom: 2rem;
}

/* Content Section */
.content-section {
    background-color: var(--white);
    padding: 2rem 0;
}

.content-section h2 {
    font-size: 2rem;
    color: var(--purdue-black);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    line-height: 1.8;
}

/* Interest Tags */
.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.interest-tag {
    background-color: var(--purdue-gold);
    color: var(--purdue-black);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.interest-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(194, 142, 14, 0.3);
}

/* Cards */
.card {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--purdue-gold);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.card h3 {
    color: var(--purdue-black);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card .subtitle {
    color: var(--purdue-gold);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card .meta {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.card ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

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

/* Experience Card */
.experience-card {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--purdue-black);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.experience-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

/* Publication Card */
.publication-card {
    background-color: var(--white);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--purdue-gold);
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.publication-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
}

.publication-card .authors {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--purdue-black);
}

.publication-card .pub-title {
    font-style: italic;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    line-height: 1.6;
}

.publication-card .venue {
    color: #666;
    font-size: 0.95rem;
}

.publication-card a {
    color: var(--purdue-gold);
    font-weight: 600;
    text-decoration: none;
}

.publication-card a:hover {
    text-decoration: underline;
}

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

.skill-category {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-top: 4px solid var(--purdue-gold);
    transition: all 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.skill-category h3 {
    color: var(--purdue-black);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.skill-category ul {
    list-style: none;
}

.skill-category ul li {
    padding: 0.4rem 0;
    color: var(--text-color);
    font-weight: 500;
}

.skill-category ul li:before {
    content: "▹ ";
    color: var(--purdue-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.award-card {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    border-top: 4px solid var(--purdue-gold);
    transition: all 0.3s;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.award-card h4 {
    color: var(--purdue-black);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.award-card .year {
    color: var(--purdue-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Section Headers */
.section-header {
    margin: 3rem 0 1.5rem;
}

.section-header h3 {
    color: var(--purdue-black);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--purdue-gold);
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
    }
    
    .main-content {
        margin-left: 280px;
        width: calc(100% - 280px);
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 2rem 1.5rem;
    }
    
    .container {
        flex-direction: column;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .skills-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
