/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #f1c40f;
    color: #000;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

header nav ul li a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

header nav ul li a:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

/* Main Content Headings (Used on Notes, Privacy, Contact) */
main h1 {
    text-align: center;
    font-size: 2.8rem;
    color: #f1c40f;
    margin-top: 50px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}

.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 40px;
}


/* Notes Page Specific Styles */
main h2 {
    font-size: 2rem;
    color: #f1c40f;
    margin-top: 40px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f1c40f;
    padding-bottom: 5px;
    display: inline-block; /* To make border-bottom fit content */
}

.notes-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.note {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.note:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(241, 196, 15, 0.2);
}

.note h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 20px;
}

.download-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #f1c40f;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.download-btn:hover {
    background-color: #e1b700;
    transform: scale(1.05);
}

/* Footer */
footer {
    margin-top: 40px;
    padding: 20px;
    background: #1e1e1e;
    color: #f1c40f;
    text-align: center;
}
footer a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
}
footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    main h1 { font-size: 2.2rem; margin-top: 30px;}
    main h2 { font-size: 1.7rem; }
    .notes-container {
        grid-template-columns: 1fr; /* Stack notes on small screens */
    }
    header .logo { font-size: 1.5rem; }
    header nav ul { flex-direction: column; gap: 5px; }
}

@media (max-width: 480px) {
    .note { padding: 20px; }
    .note h3 { font-size: 1.2rem; }
    .download-btn { padding: 10px 20px; font-size: 0.9rem; }
}
