/* Reset some default browser styles */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Base styles for the entire page */
body {
    background-color: aliceblue;
    color: darkslateblue;
    line-height: 1.6;
    padding: 20px;
}

/* Page container */
.container {
    max-width: 960px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 2rem;
}

/* Navigation bar styling */
nav {
    background-color: powderblue;
    padding: 0.5rem 1rem;
}

nav ul.navbar {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem; /* space between links */
    margin: 0;
    padding: 0;
}

nav ul.navbar li {
    display: inline;
}

nav ul.navbar a {
    text-decoration: none;
    font-weight: 600;
    color: darkslateblue;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

/* Hover + focus states */
nav ul.navbar a:hover,
nav ul.navbar a:focus {
    background-color: royalblue;
    color: white;
    outline: none; /* focus outline handled by background */
}

/* Current page */
nav ul.navbar a[aria-current="page"] {
    background-color: royalblue;
    color: white;
}

/* Main Content */
article {
    padding: 1rem 0;
    display: block;
    width: 60%;
    margin: 0 auto;
    text-align: left;
}

/* Text styling */
p, li {
    font-size: 1rem;
    color: steelblue;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Links and Lists */
a {
    color: midnightblue;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    list-style-position: inside;
}

/* Images and other elements */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 8px;
}

blockquote {
    border-left: 4px solid lightblue;
    padding-left: 1rem;
    margin: 1rem 0;
}

hr {
    border: 0;
    height: 1px;
    background: lightblue;
    margin: 2rem 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem 0;
    color: cadetblue;
    margin-top: 2rem;
    border-top: 1px solid lightblue;
}

footer a {
    color: cadetblue;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Centered content helper */
.centered-content {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

/* Orbit element (if used in SVG animation) */
.orbit {
    display: block;
    margin: 0 auto;
    margin-top: 1em;
}

/* -------------------------------------------
   NEW STYLES FOR TECH SKILLS GAP PAGE
-------------------------------------------- */

/* Title area */
.page-title .title-text {
    font-size: 2em;
    font-weight: 600;
    text-align: center;
    color: darkslateblue;
    margin: 1.5em 0 1em 0;
}

/* Section labels (to replace headings) */
.section-label {
    font-size: 1.3em;
    font-weight: 500;
    color: #1f3b73;
    margin-top: 2em;
    border-bottom: 1px solid lightblue;
    padding-bottom: 0.25em;
}

/* Content block layout */
.content-block {
    margin: 1.5em auto;
    max-width: 850px;
    line-height: 1.7;
    background-color: #f8fbff;
    padding: 1.2em 1.5em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Visual elements (charts or images) */
.visual {
    text-align: center;
    margin-top: 1.5em;
}

.caption {
    font-size: 0.9em;
    color: #557a95;
    margin-top: 0.5em;
    text-align: center;
}

/* Make the active nav link visible for this page */
nav ul li a.active {
    background-color: royalblue;
    color: white;
}

/* -------------------------------------------
   RESPONSIVE DESIGN
-------------------------------------------- */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 1rem;
    }

    header h1 a {
        font-size: 2rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    article {
        width: 90%;
    }

    .page-title .title-text {
        font-size: 1.6em;
    }

    .section-label {
        font-size: 1.1em;
    }
}
