.module-section {
    scroll-margin-top: 20px;
    padding: 40px 0 0;
    min-height: 400px;
    width: 100%;
}

.module-section h2 {
    font-size: 28px;
    color: #333;
    padding-bottom: 10px;
    text-align: center;
}

.module-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    text-align: center;
}

.module-img {
    display: block;
    width: 100%;
    max-width: 800px;
    margin: 10px auto;
}

.resource-library {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 20px;
    background-color: white;
    gap: 10px;
}

.resource-item {
    flex: 1;
    min-width: 240px;
    background-color: #fff;
    padding: 20px 16px;
    text-align: center;
    box-sizing: border-box;
}

.resource-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon img {
    width: 32px;
    height: 32px;
}

.resource-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.resource-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    text-align: center;
}

.partner-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    justify-content: flex-start;
}

.partner-item {
    width: calc(20% - 16px);
    min-width: 120px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    box-sizing: border-box;
}

.partner-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .module-section {
        scroll-margin-top: 10px;
        padding: 10px 0 0;
        min-height: auto;
    }
    .module-section h2 {
        font-size: 18px;
    }
    .module-section p {
        font-size: 10px;
        padding: 0 10px;
    }

    .resource-library {
        flex-direction: row !important;
        justify-content: flex-start;
        gap: 10px;
        padding: 10px;
    }
    .resource-item {
        flex: none !important;
        width: calc(50% - 5px) !important;
        min-width: auto !important;
        padding: 15px 10px;
        margin: 0 !important;
    }

    .partner-container {
        gap: 10px;
        justify-content: flex-start;
    }
    .partner-item {
        width: calc(33.333% - 6.666px) !important;
        min-width: 80px;
        padding: 10px 5px;
        height: 60px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .partner-container {
        gap: 15px;
        justify-content: flex-start;
    }
}