/* -------------------------------------------------- */
/* CORPORATE THEME – Clean, Professional, Modern */
/* -------------------------------------------------- */

body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

/* -------------------------------------------------- */
/* PREMIUM CORPORATE NAVIGATION BAR */
/* -------------------------------------------------- */

header {
    background: #0f172a;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* NAV CONTAINER */
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;               /* ⭐ bigger spacing */
    padding: 42px 0;         /* ⭐ taller bar */
    background: rgba(255,255,255,0.06); /* ⭐ subtle glass */
    backdrop-filter: blur(8px);         /* ⭐ modern blur */
}

/* NAV LINKS */
nav a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;        /* ⭐ stronger text */
    font-size: 42px;         /* ⭐ bigger text */
    padding: 12px 20px;      /* ⭐ bigger pill buttons */
    border-radius: 10px;     /* ⭐ modern rounded corners */
    transition: 0.25s ease;
}

/* HOVER EFFECT */
nav a:hover {
    background: rgba(255,255,255,0.18); /* ⭐ strong hover */
    transform: translateY(-2px);        /* ⭐ lift */
}

/* ACTIVE PAGE */
nav a.active {
    background: rgba(255,255,255,0.28); /* ⭐ bold highlight */
    color: #ffffff;
}

/* -------------------------------------------------- */
/* HERO HEADER */
/* -------------------------------------------------- */

.hero-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 50px 40px 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-content {
    max-width: 1100px;
    margin: auto;
    padding-top: 20px;
}

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    color: #cbd5e1;
    margin-top: 0;
}

/* -------------------------------------------------- */
/* MAIN LAYOUT */
/* -------------------------------------------------- */

main {
    max-width: 1100px;
    margin: auto;
    padding: 40px;
}

/* -------------------------------------------------- */
/* HEADINGS */
/* -------------------------------------------------- */

h1, h2, h3 {
    color: #ffffff;
    font-weight: 600;
}

h2 {
    font-size: 26px;
    margin-top: 40px;
    margin-bottom: 15px;
}

h3 {
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* -------------------------------------------------- */
/* CARDS */
/* -------------------------------------------------- */

.card {
    background: #1e2538;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* -------------------------------------------------- */
/* ARTICLE GRID */
/* -------------------------------------------------- */

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* -------------------------------------------------- */
/* ARTICLE LAYOUT */
/* -------------------------------------------------- */

.article {
    font-size: 18px;
    line-height: 1.75;
}

.article p {
    margin: 18px 0;
}

.article ul {
    margin: 20px 0;
    padding-left: 25px;
}

.article ul li {
    margin-bottom: 10px;
}

/* -------------------------------------------------- */
/* ARTICLE IMAGES */
/* -------------------------------------------------- */

.article figure {
    margin: 40px auto;
    text-align: center;
}

.article img {
    width: 100%;
    max-width: 300px; /* ⭐ perfect size */
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.35);
    margin: 0 auto;
}

/* -------------------------------------------------- */
/* TABLE OF CONTENTS */
/* -------------------------------------------------- */

.toc {
    background: #1e2538;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.toc h3 {
    margin-top: 0;
}

.toc ul {
    list-style: none;
    padding-left: 0;
}

.toc li {
    margin: 10px 0;
}

.toc a {
    color: #3b82f6;
    text-decoration: none;
}

.toc a:hover {
    text-decoration: underline;
}

/* -------------------------------------------------- */
/* MOBILE OPTIMIZATION */
/* -------------------------------------------------- */

@media (max-width: 600px) {

    main {
        padding: 20px;
    }

    nav {
        gap: 12px;
    }

    .card {
        padding: 20px;
    }

    .article {
        font-size: 17px;
        line-height: 1.75;
    }

    .hero-content h1 {
        font-size: 32px;
    }
}
