/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Helvetica', 'Verdana', sans-serif;
    background-color: #f8f8f8;
    margin-left: 2em; 
    margin-top: 1em;
}

.top-section {
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 2em; 
}

.headshot-container {
    flex: 0 0 auto; 
    margin-right: 2em; 
}

.contact-info {
    flex: 1; 
    text-align: left;
}

.resume-headshot {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    object-fit: cover;
}

.resume-section {
    margin-bottom: 2em;
    padding: 1em; 
    border-radius: 5px;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.2);
}

.resume-section h2 {
    margin-bottom: .5em;
    color: #333;
    font-weight: 600;
}

ul {
    padding-left: 20px;
    list-style-type: disc; 
    margin: 1em 0;
}

li {
    margin-bottom: .5em;
    line-height: 1.4;
    font-weight: 400;
}

#education p {
    font-style: italic;
}

.degree {
    font-weight: bold;
    display: block; 
    margin-top: 1em; 
}

.school {
    display: block;
    margin-bottom: 0.3em;
}

.timeline-content p {
    font-style: italic;
    margin-top: 0.5em;
    color: #555; 
}

.resume-header {
    text-align: center;
}

.resume-headshot {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #4CAF50; 
}

/* Section Styles */
.resume-section h2 {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    display: inline-block;
    font-size: 1.2em; 
}

/* Accordion Styles */
.accordion-container {
    margin-top: 1em;
}

.accordion-header {
    margin-bottom: 1em;
}

.accordion-button {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.accordion-button:hover {
    opacity: 0.8;
}

.accordion-header-content {
    flex: 1;
}

.accordion-header h1 {
    margin: 0;
    color: #233F7A;
    font-size: 2em;
}

/* Experience Accordion */
.experience-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1em;
    overflow: hidden;
    background: white;
}

.experience-accordion .accordion-button {
    padding: 1.5em;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.experience-accordion .accordion-button h3 {
    margin: 0 0 0.3em 0;
    color: #233F7A;
    font-size: 1.2em;
}

/* Education Accordion */
.education-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1em;
    overflow: hidden;
    background: white;
}

.education-accordion .accordion-button {
    padding: 1.5em;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.education-accordion .accordion-button h3 {
    margin: 0 0 0.3em 0;
    color: #233F7A;
    font-size: 1.2em;
}

/* Certification Accordion */
.certification-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1em;
    overflow: hidden;
    background: white;
}

.certification-accordion .accordion-button {
    padding: 1.5em;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.certification-accordion .accordion-button h3 {
    margin: 0 0 0.3em 0;
    color: #233F7A;
    font-size: 1.2em;
}

/* Skills Accordion */
.skills-accordion {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 1em;
    overflow: hidden;
    background: white;
}

.skills-accordion .accordion-button {
    padding: 1.5em;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.skills-accordion .accordion-button h3 {
    margin: 0 0 0.3em 0;
    color: #233F7A;
    font-size: 1.2em;
}

.accordion-subtitle {
    margin: 0;
    color: #666;
    font-size: 0.9em;
    font-weight: 500;
}

.accordion-arrow {
    font-size: 0.8em;
    color: #4CAF50;
    transition: transform 0.3s ease;
    margin-left: 1em;
    flex-shrink: 0;
}

.accordion-button.expanded .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    background: white;
}

.accordion-content.hidden {
    max-height: 0;
    opacity: 0;
}

.accordion-content:not(.hidden) {
    max-height: 500px;
    opacity: 1;
    padding: 1.5em;
}

.experience-accordion .accordion-content ul,
.education-accordion .accordion-content ul,
.certification-accordion .accordion-content ul,
.skills-accordion .accordion-content ul {
    margin: 0;
    padding-left: 1.5em;
}

.experience-accordion .accordion-content li,
.education-accordion .accordion-content li,
.certification-accordion .accordion-content li,
.skills-accordion .accordion-content li {
    margin-bottom: 0.8em;
    line-height: 1.5;
    color: #444;
}

/* Profile Details Styles */
.professional-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c5530;
    margin: 0.5em 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-summary {
    line-height: 1.6;
    margin-bottom: 1em;
}

.profile-summary p {
    font-size: 0.95em;
    color: #444;
    text-align: left;
    margin: 0;
}

.contact-details {
    margin-top: 1em;
    font-weight: 500;
}

.contact-details p {
    color: #4CAF50;
    margin: 0;
    font-size: 0.9em;
}

/* Style for hiding/showing content */
.hidden {
    display: none;
}