/* =============================
   General Page Styling
============================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

/* =============================
   Header
============================= */
header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

header nav a {
    color: #ecf0f1;
    margin-left: 1rem;
    font-weight: 500;
}

header nav a:hover {
    text-decoration: underline;
}

/* =============================
   Footer
============================= */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* =============================
   Section Styling
============================= */
section {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* =============================
   Homepage Section
============================= */
section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

section p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-align: center;
    color: #555;
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    animation: fadeIn 1s ease-in;
}

/* Fade-in animation for sections */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================
   PDF List Section
============================= */
.pdf-item {
    background-color: #fff;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pdf-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pdf-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.pdf-item p {
    margin: 0.5rem 0 1rem 0;
    line-height: 1.4;
}

.pdf-item a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #2980b9;
    color: #fff;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.pdf-item a:hover {
    background-color: #1c5980;
}

/* =============================
   Responsive Design
============================= */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header nav {
        margin-top: 0.5rem;
    }

    .pdf-item {
        padding: 1rem;
    }

    section p {
        padding: 0.8rem 1rem;
    }
}
