/* --- Reset & Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Open Sans', sans-serif; background: #f9f9f9; color: #2F2F2F; }
a { text-decoration: none; color: inherit; }
h1,h2 { font-family: 'Montserrat', sans-serif; }

/* --- Header --- */
header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #FFFFFF; box-shadow: 0 2px 4px rgba(0,0,0,0.1);}
.logo { display: flex; align-items: center; flex: 1; }
.logo img { height: 80px; /* Bigger logo */ margin-right: 1rem; }
.logo h1 { font-size: 2.2rem; color: #7E5DAE; }
nav { flex: 1; text-align: right; }
nav ul { list-style: none; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 1rem; }
nav li a { font-weight: bold; padding: 0.5rem 1rem; transition: background 0.3s, color 0.3s; }
nav li a:hover { background: #7E5DAE; color: #fff; border-radius: 5px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    header { flex-direction: column; align-items: flex-start; }
    nav { text-align: left; margin-top: 1rem; }
    nav ul { flex-direction: column; gap: 0.5rem; }
}

/* --- Main Grid --- */
main { padding: 2rem; }
h2 { margin-bottom: 1rem; color: #7E5DAE; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.card { background: #fff; padding: 1rem; border-radius: 8px; text-align: center; box-shadow: 0 2px 6px rgba(0,0,0,0.1); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-5px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.card-title { margin-top: 0.5rem; font-weight: bold; color: #2F2F2F; }

/* --- Footer --- */
footer { text-align: center; padding: 1.5rem; background: #fff; color: #999; margin-top: 2rem; font-size: 0.9rem; }
