.school-apps {
    padding: 60px 0;
    background-color: var(--light-bg-color);
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header img {
    max-width: 100%;
    height: auto;
}

.school-apps h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2.5em;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-button {
    background-color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 1em;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    justify-items: center;
    padding: 20px;
}

.app-item {
    text-align: center;
    width: 100%;
}

.app-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.app-item p {
    font-size: 0.9em;
    margin: 0;
    word-wrap: break-word;
}

@media (max-width: 768px) {
    .app-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .app-icon {
        width: 50px;
        height: 50px;
    }
    
    .app-item p {
        font-size: 0.8em;
    }

    .school-apps h2 {
        font-size: 2em;
    }

    .tab-content h3 {
        font-size: 1.5em;
    }
}