* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --accent-blue: #2196f3;
    --accent-green: #4caf50;
}

body {
    font-family: 'Arial', sans-serif;
    background: #e0f7fa;
    transition: background-color 0.3s ease;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #00796b, #004d40);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-family: 'Courier New', Courier, monospace;
}

.header h1:hover {
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 70px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeIn 0.5s ease;
}

/* Card Styles */
.grid div {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.grid div:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--accent-blue);
    color: white;
}

.card i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card:hover i {
    color: black;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: black;
}

.card p {
    font-size: 1rem;
    color: #666;
    transition: color 0.3s ease;
}

.card:hover p {
    color: black;
}

.card .description {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

/* Footer */
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: var(--accent-green);
    color: black;
    border-radius: 0 0 12px 12px;
    margin-top: 20px;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 28px;
    }
}