body {
    background-color: #111111;
    color: #fff;
    font-family: Consolas, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(45deg, #2dff65, #5f40ff);
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

header h1 {
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-size: 2.5rem; /* Reduced font size for the title */
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

main {
    padding: 20px;
}

.program-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Медиа-запрос для мобильных устройств */
@media screen and (max-width: 768px) {
    .program-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}

.program-card {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.program-card:hover {
    transform: scale(1.03);
}

.program-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    /* Gradient Background */
    background: linear-gradient(135deg, #32bb57, #01d9d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.program-title img {
    margin-right: 5px;
}

.program-description {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #ccc; /* Lighter text color */
}

.program-link {
    display: block;
    color: #ffffff;
    text-align: center;
    background-color: #555;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: background-color 0.2s ease;
}

.program-link:hover {
    background-color: #444;
}

.program-link,
.program-link:hover,
.program-link:visited {
    text-decoration: none;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
}

.program-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.program-icon img {
    width: 35px;
    height: 35px;
    margin-left: 5px;
    filter: brightness(150%); /* Neon glow effect */
}

.program-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    margin-bottom: 10px;
    /*box-shadow: 0 4px 8px rgba(50, 168, 82, 0.6); !* Accent color glow *!*/
}

.program-image img {
    width: 100%;
    height: 100%;
}
