/* Global Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to right, #b71c1c, #1e1e1e);
    border-bottom: 2px solid #b71c1c;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}

header img {
    height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #b71c1c;
    color: #ffffff;
}

/* Main Content */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dropbar {
    background-color: #1e1e1e;
    border: 1px solid #b71c1c;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.dropbar-content {
    padding: 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0; /* Remove extra spacing caused by margin collapse */
}

.dropbar h2 {
    margin: 0; /* Remove default bottom margin */
    padding: 15px;
    font-size: 1.2rem;
    background-color: #b71c1c;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dropbar-content p:first-of-type {
    margin-top: 10px; /* Add a small top margin for spacing */
}


.dropbar h2:hover {
    background-color: #c62828;
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: #1e1e1e;
    border: 1px solid #b71c1c;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.card h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #e57373;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
    background-color: #2e2e2e;
}

.card p {
    margin-top: 10px;
    font-size: 1rem;
    color: #b0b0b0;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #1e1e1e;
    color: #e57373;
    border-top: 2px solid #b71c1c;
    margin-top: 20px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.5);
}

footer a {
    color: #e57373;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

footer a:hover {
    color: #ff8a80;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}
