body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    margin-bottom: 0;
}

h2 {
    color: #333;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-top: 30px;
    margin-bottom: 15px;
}

h3 {
    margin-bottom: 5px;
    color: #555;
}

h4 {
    margin-bottom: 5px;
    font-weight: normal;
    color: #666;
}

section {
    margin-bottom: 20px;
}

article {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc; /* Optional: to separate entries */
}

article:last-child {
    border-bottom: none; /* Optional: remove border for the last entry in a section */
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.job-header span {
    font-style: italic;
    color: #777;
}

.job-title-dates {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.job-title-dates h4 {
    margin-right: 10px; /* Space between title and dates */
}

.job-title-dates span {
    font-style: italic;
    color: #777;
    white-space: nowrap; /* Prevents dates from wrapping */
}


ul {
    list-style-type: disc; /* Or 'square', 'circle', etc. */
    padding-left: 20px;
}

ul li {
    margin-bottom: 5px;
}

#skills ul {
    list-style-type: none;
    padding-left: 0;
}

#skills ul li {
    margin-bottom: 8px;
}

#portfolio article h3 {
    color: #333; /* Make portfolio titles stand out a bit more */
}

/* Basic responsiveness */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    .job-header, .job-title-dates {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-header span, .job-title-dates span {
        margin-top: 3px;
    }
}

/* Tab Navigation Styling */
#resume-nav {
    margin-bottom: 20px; /* Space below the nav */
    border-bottom: 2px solid #ddd; /* Separator line */
}

#resume-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: center; /* Center the tabs */
}

#resume-nav li {
    display: inline-block; /* Tabs side-by-side */
    margin-right: 5px; /* Space between tabs */
}

#resume-nav a.nav-tab {
    display: inline-block;
    padding: 12px 20px; /* Comfortable padding */
    text-decoration: none;
    color: #007bff; /* Default tab color */
    font-weight: 500;
    border: 1px solid transparent; /* Prepare for active state border */
    border-bottom: none; /* No bottom border for inactive tabs */
    border-radius: 6px 6px 0 0; /* Rounded top corners */
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    position: relative; /* For the active tab underline effect */
    bottom: -2px; /* Align with the main border-bottom of #resume-nav */
}

#resume-nav a.nav-tab:hover {
    background-color: #e9ecef; /* Light hover background */
    color: #0056b3;
}

#resume-nav a.nav-tab.active-tab {
    background-color: #fff; /* Active tab background (same as container) */
    color: #333; /* Active tab text color */
    border-color: #ddd; /* Match separator line */
    border-bottom: 2px solid #fff; /* Creates the "connected to content" look */
    font-weight: bold;
}

/* Content Section Visibility */
.content-section {
    display: none; /* Hide all content sections by default */
    padding-top: 10px; /* Optional: space above section content */
    animation: fadeIn 0.5s ease-in-out; /* Basic fade-in animation */
}

.content-section.active-section {
    display: block; /* Show only the active section */
}

/* Basic Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* ... your existing styles ... */

/* Floating Visitor Counter Styling */
#floating-visitor-counter {
    position: fixed; /* Fixed position relative to the viewport */
    top: 15px;       /* Distance from the top */
    left: 15px;      /* Distance from the left */
    background-color: #007bff; /* A nice blue, feel free to change */
    color: white;
    padding: 8px 16px; /* Adjust padding for bubble size */
    border-radius: 25px; /* Makes it pill-shaped / bubble */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); /* Subtle shadow for depth */
    font-size: 0.85em; /* Adjust font size as needed */
    font-weight: 500;
    z-index: 1000; /* Ensure it stays on top of other content */
    opacity: 0.9;  /* Slightly transparent if desired */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for hover effects */
}

#floating-visitor-counter:hover {
    opacity: 1; /* Fully opaque on hover */
}

#floating-visitor-counter span#visitor-count-value {
    font-weight: bold;
    margin-left: 5px; /* Space between "Visitors:" and the number */
}

/* Adjustments for Tab Navigation Styling (if needed after removing a tab) */
/* Your existing #resume-nav styles should largely be fine. */
/* If the last tab now has too much margin, you might adjust #resume-nav li:last-child if needed */