/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background: #f8f8f8;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #000;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #000;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    z-index: 1000;
}

.navbar nav ul {
    display: flex;
    justify-content: center;
    padding: 1em;
    list-style: none;
}

.navbar nav ul li {
    margin: 0 1.5em;
}

.navbar nav ul li a {
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Sections */
.section {
    padding: 100px 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Card Layout */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1em;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Link List Layout */
.link-list {
    margin-top: 1em;
    list-style: none;
}

.link-list li {
    margin-bottom: 0.8em;
}

.link-list a {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
}

.link-list a:hover {
    color: #000;
}

/* Footer */
footer {
    text-align: center;
    padding: 2em 0;
    font-size: 0.9em;
    color: #666;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.scroll-top-btn.show {
    display: flex;
    opacity: 0.9;
}

.scroll-top-btn:hover {
    opacity: 1;
}
