/* === RESET & BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    padding-top: 60px; /* Make room for fixed nav */
}

h1, h2, h3 {
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #444;
}

a {
    color: #0073e6;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* === NAVIGATION BAR STYLES === */
.top-bar {
    width: 100%;
    background-color: #1b971b;
    color: white;
    height: 50px;
    padding: 0 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
}

.logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 16px;
    font-weight: bold;
    color: white;
    line-height: 1;
    padding-bottom: 4px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: row;
    /* gap: 20px; */
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    padding-top: 6px;
    display: inline-block;
}

.nav-links li a:hover {
    text-decoration: underline;
}

/* === MAIN CONTENT STYLES === */
.article-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.featured-article {
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
    background-color: #fff;
    margin: 20px auto;
}

.article-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.featured-article h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.featured-article h2 {
    font-size: 1.8rem;
    color: #222;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

.featured-article p,
.featured-article ul li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.featured-article ul {
    padding-left: 1.5rem;
    text-align: left;
}

/* === PRODUCT SECTION === */
.featured-article ul li a {
    display: block;
    text-align: center;
    font-weight: bold;
    color: #000;
    margin-top: 0.5rem;
}

.featured-article ul li a:hover {
    color: #005bb5;
}

.featured-article ul li img {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background: #f5f2d7;
}

/* === FOOTER === */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #1b971b;
    color: #ffffff;
    font-weight: bold;
    margin-top: 40px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .featured-article h1 {
        font-size: 2rem;
    }

    .featured-article h2 {
        font-size: 1.5rem;
    }

    .featured-article p,
    .featured-article li {
        font-size: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
    }

    .nav-links li a {
        font-size: 13px;
    }
}
