/* General */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f7f9;
    color: #333;
}

/* Header */
header {
    background: linear-gradient(90deg, #004080, #0066cc);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Modules Grid */
.modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Module Cards */
.module-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.module-card i {
    margin-bottom: 15px;
    color: #004080;
    transition: transform 0.3s, color 0.3s;
}

.module-card h3 {
    margin: 10px 0 5px 0;
    font-size: 1.3rem;
}

.module-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Hover Animations */
.module-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.module-card:hover i {
    transform: scale(1.2);
    color: #0066cc;
}

/* Module Colors */
.module-card.utm { border-top: 4px solid #28a745; }
.module-card.pension { border-top: 4px solid #ffc107; }
.module-card.interes { border-top: 4px solid #17a2b8; }
.module-card.honorarios { border-top: 4px solid #fd7e14; }
.module-card.iva { border-top: 4px solid #dc3545; }

/* Footer */
footer {
    text-align: center;
    padding: 25px 20px;
    background: #222;
    color: #ccc;
    margin-top: 50px;
    font-size: 0.9rem;
}

/* Responsive */
@media(max-width:768px){
    header h1 { font-size: 2rem; }
    header p { font-size: 1rem; }
}
