.hero {
    display: flex;
    flex-direction: column;
    background-color: aqua;
    padding: 100px 50px 100px 50px;
    align-items: center;
    justify-content: center;
}

h1 {
    color: white;
    font-size: 50px;
    text-align: center;
}

.btn {
    color: white;
    padding: 10px 20px;
    background-color: black;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-10px);
    background-color: blue;
}

.grid-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.teacher {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s;
}

.teacher:hover {
    transform: scale(1.1);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 50px 20px 50px 20px;
    }

}