:root {
    --primary-color: #80215A;
    --secondary-color: #Ce7F19;
    --tertiary-color: #D6552E;
    --background-color: #f5f5f7;
    --text-color: #333;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

#header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-left img {
    height: 40px;
    margin-right: 10px;
}

.tagline {
    font-size: 14px;
}

.header-right a {
    color: white;
    text-decoration: none;
}

#toolkit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#search-bar {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.letter-header {
    grid-column: 1 / -1;
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    margin: 20px 0 10px;
    border-radius: 4px;
}

.tool-item {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tool-item h3 {
    color: var(--primary-color);
    margin-top: 0;
}

.tool-item a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.tool-item a:hover {
    background-color: var(--tertiary-color);
}

#footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media (max-width: 768px) {
    #tools-list {
        grid-template-columns: 1fr;
    }
}