:root {
    --primary-color: #2c3e50; /* Dark Blue/Charcoal */
    --accent-color: #3498db; /* Bright Blue */
    --text-color: #333;
    --light-bg: #f5f5f5;
    --font-family: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    padding: 20px;
    display: flex;
    justify-content: center;
}

.resume-container {
    width: 100%;
    max-width: 900px;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border-top: 5px solid var(--accent-color);
}

/* HEADER STYLES */
.header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.name {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.title {
    font-size: 1.2em;
    font-weight: 400;
    color: var(--accent-color);
    margin: 5px 0 10px 0;
}

.contact-info {
    font-size: 0.9em;
    color: #777;
}

.contact-links {
    padding-left: 3.5px;
}

.contact-info > span, 
.contact-info > a {
    margin-right: 15px;
    white-space: nowrap;
    padding-left: 5px; 
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 5px;
}

/* SECTION STYLES */
.section {
    margin-bottom: 30px;
}

h2 {
    font-size: 1.5em;
    color: var(--primary-color);
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

h2 i {
    color: var(--accent-color);
    margin-right: 8px;
}

/* EXPERIENCE & EDUCATION ENTRY STYLES */
.job-entry, .education-entry {
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 3px solid #eee;
}

.job-entry h3, .education-entry h3 {
    font-size: 1.1em;
    color: var(--primary-color);
    margin: 0 0 5px 0;
}

.job-entry strong {
    font-weight: 700;
}

.institution, .dates {
    font-size: 0.9em;
    color: #666;
    margin: 0 0 10px 0;
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 5px;
}

li {
    margin-bottom: 5px;
}

/* INTERACTIVE SKILLS STYLES */
.skills-category-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.skill-tab {
    background: #eef;
    color: var(--primary-color);
    border: 1px solid var(--accent-color);
    padding: 8px 15px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 5px;
}

.skill-tab:hover {
    background: var(--accent-color);
    color: white;
}

.skill-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    pointer-events: none; /* Can't click active tab */
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    
    /* Animation Properties */
    min-height: 20px; /* Gives a minimum space when collapsed */
    transition: opacity 0.3s ease-in-out;
}

/* Class to hide the container */
.skills-list.hidden {
    opacity: 0;
    pointer-events: none; /* Disables interaction when hidden */
    height: 0; /* Ensures the container collapses completely when hidden */
    overflow: hidden;
    margin-top: 0;
}

/* Ensure the margin returns when visible */
.skills-list:not(.hidden) {
    margin-top: 15px; /* Adjust this to match your desired spacing after the buttons */
    height: auto;
}

.skill-item {
    background: var(--light-bg);
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9em;
    /* Ensure items themselves don't overflow */
    box-sizing: border-box; 
}