body {
    padding-top: 80px; /* Same height as header */
    margin: 0;
    background-color: #e8e1ca;
    text-align: center;
    font-family: Arial, sans-serif;
}

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

/* Header Styling */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    //box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow for visibility */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #5f3232;
    color: white;
    z-index: 1000; /* Ensures the header stays on top of other content */

}

.header-left {
    display: flex;
    align-items: center;
}

.header-link {
    text-decoration: none;
    color: inherit; /* Keeps text color consistent */
    display: flex;
    align-items: center; /* Aligns logo and name nicely */
}

.header-link:hover {
    text-decoration: none; /* No underline on hover */
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Makes the image round */
    margin-right: 10px;
    object-fit: cover;
}

.name {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

/* Navigation Bar Styling */
nav {
    background-color: #5f3232;
}

.navbar {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.navbar li {
    margin: 0 15px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.navbar a:hover {
    color: #ddd;
    text-decoration: underline;
}

/* Main Container for Centering Content */
.container {
    max-width: 800px;
    margin: 0 auto; /* Centers the container */
    padding: 20px;
    text-align: left;
}

/* Intro Section */
.intro {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.intro-left {
    flex: 1;
    text-align: left;
    font-size: 19px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.8; /* Optional: adds spacing for better readability */
}

.intro-right {
    flex-basis: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}


/* News Section */
.news ul {
    max-height: 250px; /* Show only top 5 items (adjust based on item height) */
    overflow: hidden;
    position: relative;
    font-size: 15px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.4; /* Optional: adds spacing for better readability */
}

.news ul.fully-visible {
    max-height: none; /* Expand fully when "reveal more" is clicked */
}

.fade-out {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgb(138, 13, 13));
    pointer-events: none; /* Allow clicks on the button below */
}
.reveal-more-container {
    text-align: center; /* Centers the button */
    margin-top: 20px;
}

.reveal-more {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #59a8f7; /* Adjust color as desired */
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    border: none; /* Remove border for a clean button look */
    cursor: pointer; /* Makes it clear the element is clickable */
    transition: background-color 0.3s ease;
}

.reveal-more:hover {
    background-color: #11c195; /* Slightly darker shade on hover */
}


.news {
    margin-top: 30px;
}

.news h2 {
    color: #333;
    margin-bottom: 1rem;
}


/* Specific styling for the news section */
.news ul {
    list-style-type: disc;  /* Adds bullet points */
    padding-left: 20px;  /* Adds space between the bullet and the text */
}


.news li {
    margin-bottom: 15px;
    text-align: left;
}


.publications ol {
    list-style-type: none;  /* Remove default numbering */
    padding: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
    counter-reset: publication-counter; /* Initialize counter */
    font-size: 15px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.4; /* Optional: adds spacing for better readability */
}

.publications ol li {
    position: relative;  /* Allows us to position the bracketed numbers */
    padding-left: 2rem;  /* Adds space for the bracketed number */
    margin-bottom: 1.5rem;
    font-size: 15px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.4; /* Optional: adds spacing for better readability */
}

.publications ol li::before {
    content: "[" counter(publication-counter) "]"; /* Format the number with brackets */
    counter-increment: publication-counter; /* Increment the counter for each list item */
    position: absolute;  /* Position the number to the left */
    left: 0;  /* Align the number to the left */
    top: 0;
    font-size: 15px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.4; /* Optional: adds spacing for better readability */
}


.publication-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 16px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.4; /* Optional: adds spacing for better readability */
}

.publication-image-column {
    flex: 0 0 40%; /* Width for the image column */
}

.publication-image {
    max-width: 100%;
    height: auto;
}

.publication-text-column {
    flex: 1; /* Remaining width for the text column */
    font-size: 17px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.5; /* Optional: adds spacing for better readability */
}

.publication-text-column p {
    margin: 0;
}



.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.social-links img {
    width: 30px;
    height: auto;
    transition: transform 0.2s;
}

.social-links img:hover {
    transform: scale(1.1);
}


.email-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.scrambled-email {
    font-size: 16px;
    color: #555;
    transition: color 1.25s ease;
}

.unscramble-button {
    margin-top: 5px;
    padding: 5px 10px;
    font-size: 14px;
    color: white;
    background-color: #59a8f7;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.unscramble-button:hover {
    background-color: #005bb5;
}

.numbered-list {
    list-style-type: none; /* Removes default numbering */
    counter-reset: item; /* Resets the counter */
}

.numbered-list li {
    margin-bottom: 10px;
}

.numbered-list li::before {
    content: "[" counter(item) "] "; /* Adds number in brackets */
    counter-increment: item; /* Increments the counter for each li */
}

/* Style for the "View PDF" buttons */
.pdf-button {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    margin-top: 0.5rem;
    background-color: #59a8f7; /* Adjust color as desired */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.pdf-button:hover {
    background-color: #11c195; /* Darker shade on hover */
}


/* Style for the larger "View All Publications" button */
.view-all-publications {
    text-align: center;
    margin-top: 20px;
}

.view-all-button {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #59a8f7; /* Adjust color as desired */
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.view-all-button:hover {
    background-color: #11c195; /* Slightly darker shade on hover */
}



/* Main container for the projects list */
.projects-list {
    max-width: 800px; /* Adjust based on preference */
    margin: 2rem auto;
    padding: 1rem;
}

/* Each project item */
.project-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}


.project-item img {
    width: 150px; /* Adjust based on preference */
    height: auto;
    margin-right: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add subtle shadow */
}

/* Project text column */
.project-details {
    flex: 1;
}

.project-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.project-title a {
    text-decoration: none;
    color: #007acc;
}

.project-title a:hover {
    text-decoration: underline;
}

/* Date range style */
.project-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

/* Links (website, design review, etc.) */
.project-links {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.project-links a {
    color: #007acc;
    text-decoration: none;
    margin-right: 0.5rem;
}

.project-links a:hover {
    text-decoration: underline;
}

/* Project description */
.project-description {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}




/* Honors Page */
/* Main container styling */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
    font-size: 17px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.5; /* Optional: adds spacing for better readability */
}

/* Tab buttons styling */
.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-buttons button {
    padding: 10px 20px;
    border: none;
    background-color: #59a8f7;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-buttons button:hover {
    background-color: #005bb5;
}

/* Tab content styling */
.tab-content {
    text-align: left;
    margin-top: 20px;
}

.tab-content h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.tab-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}


/* Style for Image and Caption */
/* Style for Image and Caption */
.honors-plan-development {
    text-align: center;
    margin-bottom: 20px;
}
.honors-plan-development img {
    max-width: 100%;
    height: auto;
}
.caption {
    font-style: italic;
    color: #555;
}

/* Style for Collapsible Header with Arrow */
.collapsible-header {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2em;
    color: #157ece;
}
.collapsible-header .arrow {
    transition: transform 0.5s ease;
    margin-right: 14px;
}

/* Style for Dropdown Content */
.dropdown-content {
    margin-top: 10px;
    padding-left: 10px;
    border-left: 2px solid #0077cc;
    font-size: 17px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.5; /* Optional: adds spacing for better readability */
}
.dropdown-content h4 {
    margin-top: 10px;
    font-size: 17px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.5; /* Optional: adds spacing for better readability */
}


footer {
	margin-top: 3rem;
	color: #290303;
	font-size: 0.9rem;
	text-align: center;
}



.references {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}



/*Expereinces style*/
body {
    font-family: Arial, sans-serif;
}

.slideshow-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
}

.slide {
    display: none;
    position: relative;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.images {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.images img {
    width: 45%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.text h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    font-size: 17px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.5; /* Optional: adds spacing for better readability */
}

.text p {
    font-size: 1rem;
    line-height: 1.5;
    font-size: 17px; /* Slightly bigger than default (usually 16px) */
    line-height: 1.5; /* Optional: adds spacing for better readability */
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #333;
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    user-select: none;
    transition: background-color 0.3s ease;
}

.prev:hover, .next:hover {
    background-color: #ddd;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.fade {
    animation: fadeEffect 0.5s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}