/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0b1220;
    color: white;
    font-family: 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
    background: #1e2431;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navdiv {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    font-size: 28px;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    margin-left: 25px;
    color: #cbd5e1;
    font-weight: 600;
    text-decoration: none;
}

.nav-links li a:hover {
    color: white;
}

/* ================= CONTAINER ================= */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* ================= PDF CARD (BASE) ================= */
.pdf-card {
    display: flex;
    gap: 40px;
    background: #1e2431;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform .25s, box-shadow .25s;
}

.pdf-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,.45);
}

.pdf-cover {
    width: 160px;
    border-radius: 12px;
}

.pdf-info h3 {
    font-size: 26px;
}

.pdf-info p {
    color: #9ca3af;
}

/* ================= CARD TYPES ================= */
.pdf-card.info { border-left: 5px solid #3b82f6; }
.pdf-card.beginner { border-left: 5px solid #22c55e; }
.pdf-card.intermediate { border-left: 5px solid #f59e0b; }

/* ================= TAGS ================= */
.pdf-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 8px;
}

.tag-info { background:#1e3a8a; color:#93c5fd; }
.tag-beginner { background:#14532d; color:#86efac; }
.tag-intermediate { background:#78350f; color:#fcd34d; }

/* ================= BUTTONS ================= */
.btns {
    display: flex;
    gap: 15px;
    margin-top: 18px;
}

.btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.read { background:#2563eb; }
.download { background:#16a34a; }

/* ================= HAMBURGER ================= */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 4px 0;
}

/* ================= DISCLAIMER ================= */
.disclaimer-section {
    padding: 50px 20px;
    background: linear-gradient(180deg,#1e2431,#0b1220);
}

.disclaimer-content {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    background: rgba(255,255,255,.04);
    border-left: 5px solid #f59e0b;
    border-radius: 16px;
}

/* =========================
   Mobile Menu
========================= */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
}

/* =========================
   Disclaimer (Desktop)
========================= */
.disclaimer-section {
    margin-top: 80px;
    padding: 50px 20px;
    background: linear-gradient(
        180deg,
        rgba(30,36,49,0.9),
        rgba(11,18,32,1)
    );
    border-top: 1px solid rgba(255,255,255,0.08);
}

.disclaimer-content {
    max-width: 900px;
    margin: auto;
    padding: 35px 40px;
    background: rgba(255,255,255,0.03);
    border-radius: 18px;
    border-left: 5px solid #f59e0b;
}

.disclaimer-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #fbbf24;
}

.disclaimer-content p {
    font-size: 15px;
    color: #d1d5db;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* =========================
   Responsive (Mobile)
========================= */
@media (max-width: 768px) {

    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #1e2431;
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links li a {
        margin: 0;
    }

    .pdf-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 22px;
    }
    .pdf-cover{
        margin: 0 auto;
        display: block;
    }

    .btns {
        justify-content: center;
        flex-wrap: wrap;
    }

    .disclaimer-section {
        padding: 32px 14px;
        margin-top: 40px;
    }

    .disclaimer-content {
        max-width: 100%;
        padding: 22px 18px;
        border-left: none;
        border-top: 4px solid #f59e0b;
        border-radius: 14px;
        background: rgba(255,255,255,0.035);
    }

    .disclaimer-content h4 {
        font-size: 18px;
        text-align: center;
        margin-bottom: 14px;
    }

    .disclaimer-content p {
        font-size: 14.5px;
        line-height: 1.75;
        color: #e5e7eb;
        max-width: 38ch;
        margin: 0 auto 14px auto;
        text-align: left;
        hyphens: auto;
    }
}

/* Extra-small phones */
@media (max-width: 360px) {
    .disclaimer-content p {
        font-size: 14px;
        max-width: 34ch;
    }
}


