:root {
    --primary-color: #2a2a72;
    --secondary-color: #009ffd;
    --background-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--background-gradient);
    min-height: 100vh;
    margin: 0;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-in;
}

.title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.card h2 {
    margin: 1.5rem 0 0.5rem;
    color: var(--primary-color);
}

.card p {
    color: #666;
    font-size: 0.9rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.blue { background: #e3f2fd; color: #2196f3; }
.green { background: #e8f5e9; color: #4caf50; }

.hover-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,0.4),
            transparent
    );
    transition: 0.5s;
}

.card:hover .hover-effect {
    left: 100%;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.school-logo{
    width: 100px;
    height: 100px;
    margin: 50px auto;
    display: flex;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

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