:root {
    --bg-color: #000000;
    --text-color-primary: #cccccc;
    --text-color-secondary: #aaaaaa;
    --accent-color: #ffffff;
    --border-color: #888888;
    --shadow-color: rgba(255, 255, 255, 0.7);
    --hover-shadow-color: #ffffff;


    --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-size-base: 1.1rem;
    --line-height-base: 1.6;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color-primary);
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    min-height: 100vh;

}


.container {
    max-width: 900px;
    margin: 2rem auto;
    /* Use 'rem' for scalable spacing */
    padding: 0 1rem;
}


.home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.profile-figure img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--shadow-color);
    margin-bottom: 3rem;

}

.main-nav,
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.footer-nav {
    margin-top: 2rem;
}

.button {
    background: none;
    color: var(--border-color);
    border: 2px solid var(--border-color);
    box-shadow: 0 0 15px var(--shadow-color);
    text-decoration: none;
    font-size: 1em;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease-in-out;
    /* Slightly faster, more common transition speed */
    border-radius: 150px 0px 150px 0px;
    cursor: pointer;
}

.button:hover,
.button:focus {
    outline: none;
    border-color: var(--bg-color);
    color: var(--accent-color);
    box-shadow: 0 0.5em 2em -0.4em var(--hover-shadow-color);
    transform: translateY(-0.25em);
}

.content-card {
    background-color: rgba(10, 10, 10, 0.5);
    color: var(--text-color-secondary);
    padding: 2rem;
    box-shadow: 0 0 15px var(--shadow-color);
    transition: all 0.3s ease-in-out;
    margin-bottom: 2rem;
    width: 100%;
}

.content-card:hover {
    color: var(--text-color-primary);
    box-shadow: 0 0.5em 2em -0.4em var(--hover-shadow-color);
    transform: translateY(-0.25em);
}

.content-card h1,
.content-card h2 {
    color: var(--text-color-primary);
    font-size: 1.8em;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--border-color);
    padding-left: 10px;
    transition: color 0.3s ease-in-out;
}

.content-card:hover h1,
.content-card:hover h2 {
    color: var(--accent-color);
}

.content-card p,
.content-card ul {
    margin-bottom: 1rem;
}

.content-card ul {
    list-style-position: inside;
    padding-left: 1rem;
}

.content-card li {
    margin-bottom: 0.75rem;
}

.content-card p:last-child,
.content-card ul:last-child {
    margin-bottom: 0;
}

.content-card a {
    color: var(--text-color-primary);
}


.contact-links {
    text-align: center;
    margin-top: 2rem;
}

.contact-links p {
    font-style: italic;
    opacity: 0.8;
}

.icon-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.icon-links a {
    color: inherit;
    transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.icon-links a:hover,
.icon-links a:focus {
    transform: translateY(-3px);
    opacity: 0.7;
}

.course-link {
    display: inline-block;
    text-decoration: none;

    transition: all 0.3s ease-in-out;
}

.course-link:hover,
.course-link:focus {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--hover-shadow-color);
    transform: translateX(5px);
}

.badge-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.badge-container iframe {
    border: none;
    overflow: hidden;
    max-width: 100%;
    width: 350px;
    height: 120px;
}

.google-logo {
    display: inline-block;
    margin-right: 0.5em;
    font-weight: bold;
}

.google-logo .g {
    color: #4285F4;
}

.google-logo .o1 {
    color: #EA4335;
}

.google-logo .o2 {
    color: #FBBC05;
}

.google-logo .g2 {
    color: #4285F4;
}

.google-logo .l {
    color: #34A853;
}

.google-logo .e {
    color: #EA4335;
}

@media (max-width: 768px) {
    :root {
        --font-size-base: 1rem;
    }

    .container {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .profile-figure img {
        width: 200px;
        height: 200px;
        margin-bottom: 2rem;
    }

    .main-nav {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .button {
        width: 80%;
        text-align: center;
    }

    .content-card {
        padding: 1.5rem;
    }

    .content-card h1,
    .content-card h2 {
        font-size: 1.5em;
    }
}


.certification-list {
    list-style: none;
    padding-left: 0;
}

.content-card ul:not(.certification-list) {
    list-style-position: outside;
    padding-left: 40px;
}

.certification-list li {
    margin-bottom: 1.5rem;
}


.list-item-title {
    display: block;
    font-weight: bold;
    color: var(--text-color-primary);
    margin-bottom: 0.25rem;
}