/* Reset */
* { margin:0; padding:0; box-sizing:border-box; font-family: 'Inter', sans-serif; }

body {
    background: #f5f7fa;
    color: #333;
    min-height: 100vh;
    padding: 20px;
    background-image: url('/img/crescent-international-school-backoffice.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;    
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #2a2a2a;
}
.header .profile {
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: 0.3s;
}
.header .profile:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Cards grid */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Card style with Event Portal colors */
.card {
    background: linear-gradient(135deg, #808080, #404040);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    color: #fff;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Buttons matching Event Portal colors */
.card .btn {
    text-decoration: none;
    padding: 8px 18px;
    background: #4f6ef7;
    color: #fff;
    border-radius: 10px;
    transition: 0.3s;
    display: inline-block;
}
.card .btn:hover {
    background: #3b55d0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body { padding: 15px; }
    .card { padding: 20px 15px; }
}
